Public Member Functions | Public Attributes | List of all members
caf::SRSpill Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/StandardRecord/SRSpill.h"

Public Member Functions

 SRSpill ()
 
 ~SRSpill ()
 

Public Attributes

unsigned int run
 run number More...
 
unsigned int subrun
 subrun number More...
 
unsigned int evt
 ART event number, indexes trigger windows. More...
 
Det_t det
 Detector, ND = 1, FD = 2, NDOS = 3. More...
 
bool ismc
 data or MC? True if MC More...
 
bool isgoodspill
 Was the pot for a spill good? (only applicable to data, default true) More...
 
unsigned long int spilltimesec
 Spill time in seconds [s]. More...
 
unsigned long int spilltimensec
 Spill time in nanoseconds [ns]. More...
 
unsigned long int gpsspilltimesec
 Spill time from GPS [s]. More...
 
unsigned long int gpsspilltimensec
 Spill time from GPS [ns]. More...
 
signed long long int deltaspilltimensec
 Delta time [ns]. More...
 
float spillpot
 
float livetime
 Length of readout [s]. More...
 
float hornI
 Horn current. More...
 
bool isFHC
 Flags for horn direction. More...
 
bool is0HC
 
bool isRHC
 
std::vector< float > intx
 
std::vector< float > inty
 
std::vector< float > bposx
 
std::vector< float > bposy
 
float posx
 x position on target More...
 
float posy
 y position on target More...
 
float widthx
 Spill width in x dimension. More...
 
float widthy
 Spill width in y dimension. More...
 
unsigned short dibfirst
 first diblock in detector configuration (1-14) More...
 
unsigned short diblast
 last diblock in detector configuration (1-14) More...
 
unsigned short dibmask
 
unsigned short maskstatus
 
unsigned int nmissingdcms
 # of missing DCMs More...
 
float fracdcm3hits
 fraction of DCM3 hits in horizontal modules More...
 
unsigned int nouttimehits
 # of out-of-time hits More...
 
unsigned int nnoisyapds
 # of noisy APDs More...
 
unsigned int nmissingdcmslg
 # of DCMS with 63 or more bad FEBs (LiveGeometry, subset of baddcmslg) More...
 
unsigned int nbaddcmslg
 # of DCMS with too many bad channels (LiveGeometry) More...
 
float dcmedgematchfrac
 How many hits at the DCM edge are matched in the adjacent DCM? More...
 
unsigned int nmicroslices
 # of micro slices More...
 
int ndcms
 # of DCMs in partition; may not = # of LIVE DCMs = (hdr.diblast-hdr.dibfirst+1)*12 More...
 
bool eventincomplete
 Data Quality DAQ Header information. More...
 
int ndiblocks
 # of diblocks reporting in event More...
 
int emptydatablock
 # of empty data blocks More...
 
int nmicroblocks
 # of many microblocks More...
 
int nemptymicroslice
 # of empty micro slices More...
 
int ndroppedmicroblocks
 # of dropped micro blocks More...
 
int ndatablockmissingdata
 # of occurances of isMissingData More...
 
int nmicroslicedatanotpresent
 # of microslices with !DataPresent More...
 
int nnanoslices
 # of nano slices in the event More...
 
int nanoslicedatanotpresent
 # of nanoslices reporting !DataPresent More...
 
int nanoslicenolinkstatus
 # of nanoslices reporting !LinkPresent More...
 
int nanoslicebufferempty
 # of nanoslices reporting BufferEmpty More...
 
int nanoslicebufferfull
 # of nanoslices reporting BufferFull More...
 
int nanoslicecommerror
 # of nanoslices reporting CommError More...
 
int nanoslicepacketerror
 # of nanoslices reporting PacketError More...
 
int nanosliceoverflowerror
 # of nanoslices reporting OverflowError More...
 
int nanosliceadcerror
 # of nanoslices reporting ADCError More...
 
unsigned char trigger
 The trigger type from RawTrigger::fTriggerMask_TriggerType. More...
 
std::vector< SRCosmicCVNcosmiccvn
 Contain cosmic CVN scores for all time windows in event. More...
 
short ncosmiccvn
 

Detailed Description

The SRSpill contains information about the NuMI spill and POT associated with the slice, as well as EventQuality info on spill by spill basis.

Definition at line 19 of file SRSpill.h.

Constructor & Destructor Documentation

caf::SRSpill::SRSpill ( )

Definition at line 16 of file SRSpill.cxx.

16  :
17  run(0),
18  subrun(0),
19  evt(0),
20  det(kUNKNOWN),
21  ismc(false),
22  isgoodspill(false),
23  spilltimesec(0),
24  spilltimensec(0),
25  gpsspilltimesec(0),
28  spillpot(std::numeric_limits<float>::signaling_NaN()),
29  livetime(std::numeric_limits<float>::signaling_NaN()),
30  hornI(std::numeric_limits<float>::signaling_NaN()),
31  isFHC(false), is0HC(false), isRHC(false),
32  intx(),
33  inty(),
34  bposx(),
35  bposy(),
36  posx(std::numeric_limits<float>::signaling_NaN()),
37  posy(std::numeric_limits<float>::signaling_NaN()),
38  widthx(std::numeric_limits<float>::signaling_NaN()),
39  widthy(std::numeric_limits<float>::signaling_NaN()),
40  dibfirst(0),
41  diblast(0),
42  dibmask(0),
43  maskstatus(0),
44  nmissingdcms(0),
45  fracdcm3hits(std::numeric_limits<float>::signaling_NaN()),
46  nouttimehits(0),
47  nnoisyapds(0),
48  nmissingdcmslg(0),
49  nbaddcmslg(0),
51  nmicroslices(0),
52  ndcms(0),
53  eventincomplete(false),
54  ndiblocks(0),
55  emptydatablock(0),
56  nmicroblocks(0),
61  nnanoslices(0),
70  trigger(0),
71  ncosmiccvn(0)
72  { }
std::vector< float > intx
Definition: SRSpill.h:47
Unknown detector.
Definition: SREnums.h:9
unsigned long int spilltimesec
Spill time in seconds [s].
Definition: SRSpill.h:33
unsigned int nmissingdcmslg
# of DCMS with 63 or more bad FEBs (LiveGeometry, subset of baddcmslg)
Definition: SRSpill.h:68
std::vector< float > bposx
Definition: SRSpill.h:49
bool is0HC
Definition: SRSpill.h:44
int nanoslicebufferempty
# of nanoslices reporting BufferEmpty
Definition: SRSpill.h:91
bool isFHC
Flags for horn direction.
Definition: SRSpill.h:43
int nanosliceadcerror
# of nanoslices reporting ADCError
Definition: SRSpill.h:96
std::vector< float > inty
Definition: SRSpill.h:48
int ndiblocks
# of diblocks reporting in event
Definition: SRSpill.h:81
std::vector< float > bposy
Definition: SRSpill.h:50
int nemptymicroslice
# of empty micro slices
Definition: SRSpill.h:84
unsigned int nouttimehits
# of out-of-time hits
Definition: SRSpill.h:66
unsigned int run
run number
Definition: SRSpill.h:25
int nanoslicedatanotpresent
# of nanoslices reporting !DataPresent
Definition: SRSpill.h:89
int emptydatablock
# of empty data blocks
Definition: SRSpill.h:82
int nanoslicenolinkstatus
# of nanoslices reporting !LinkPresent
Definition: SRSpill.h:90
Det_t det
Detector, ND = 1, FD = 2, NDOS = 3.
Definition: SRSpill.h:29
unsigned int nmissingdcms
# of missing DCMs
Definition: SRSpill.h:64
float posy
y position on target
Definition: SRSpill.h:52
float dcmedgematchfrac
How many hits at the DCM edge are matched in the adjacent DCM?
Definition: SRSpill.h:74
int ndatablockmissingdata
# of occurances of isMissingData
Definition: SRSpill.h:86
float fracdcm3hits
fraction of DCM3 hits in horizontal modules
Definition: SRSpill.h:65
unsigned short dibfirst
first diblock in detector configuration (1-14)
Definition: SRSpill.h:56
int nnanoslices
# of nano slices in the event
Definition: SRSpill.h:88
float hornI
Horn current.
Definition: SRSpill.h:42
unsigned int nbaddcmslg
# of DCMS with too many bad channels (LiveGeometry)
Definition: SRSpill.h:69
int nanoslicepacketerror
# of nanoslices reporting PacketError
Definition: SRSpill.h:94
unsigned int subrun
subrun number
Definition: SRSpill.h:26
unsigned short diblast
last diblock in detector configuration (1-14)
Definition: SRSpill.h:57
bool isgoodspill
Was the pot for a spill good? (only applicable to data, default true)
Definition: SRSpill.h:32
unsigned long int gpsspilltimensec
Spill time from GPS [ns].
Definition: SRSpill.h:36
unsigned int nmicroslices
# of micro slices
Definition: SRSpill.h:75
short ncosmiccvn
Definition: SRSpill.h:101
unsigned int evt
ART event number, indexes trigger windows.
Definition: SRSpill.h:27
bool isRHC
Definition: SRSpill.h:45
float widthy
Spill width in y dimension.
Definition: SRSpill.h:54
int nanosliceoverflowerror
# of nanoslices reporting OverflowError
Definition: SRSpill.h:95
unsigned short maskstatus
Definition: SRSpill.h:62
unsigned long int gpsspilltimesec
Spill time from GPS [s].
Definition: SRSpill.h:35
float widthx
Spill width in x dimension.
Definition: SRSpill.h:53
float livetime
Length of readout [s].
Definition: SRSpill.h:40
int nmicroslicedatanotpresent
# of microslices with !DataPresent
Definition: SRSpill.h:87
unsigned short dibmask
Definition: SRSpill.h:58
int ndcms
# of DCMs in partition; may not = # of LIVE DCMs = (hdr.diblast-hdr.dibfirst+1)*12 ...
Definition: SRSpill.h:76
signed long long int deltaspilltimensec
Delta time [ns].
Definition: SRSpill.h:37
int nanoslicebufferfull
# of nanoslices reporting BufferFull
Definition: SRSpill.h:92
unsigned int nnoisyapds
# of noisy APDs
Definition: SRSpill.h:67
int nanoslicecommerror
# of nanoslices reporting CommError
Definition: SRSpill.h:93
bool eventincomplete
Data Quality DAQ Header information.
Definition: SRSpill.h:79
unsigned long int spilltimensec
Spill time in nanoseconds [ns].
Definition: SRSpill.h:34
int ndroppedmicroblocks
# of dropped micro blocks
Definition: SRSpill.h:85
float spillpot
Definition: SRSpill.h:38
unsigned char trigger
The trigger type from RawTrigger::fTriggerMask_TriggerType.
Definition: SRSpill.h:98
bool ismc
data or MC? True if MC
Definition: SRSpill.h:30
float posx
x position on target
Definition: SRSpill.h:51
int nmicroblocks
# of many microblocks
Definition: SRSpill.h:83
caf::SRSpill::~SRSpill ( )

Definition at line 75 of file SRSpill.cxx.

75 { }

Member Data Documentation

std::vector<float> caf::SRSpill::bposx
std::vector<float> caf::SRSpill::bposy
std::vector<SRCosmicCVN> caf::SRSpill::cosmiccvn

Contain cosmic CVN scores for all time windows in event.

Definition at line 100 of file SRSpill.h.

Referenced by caf::Proxy< caf::SRSpill >::CheckEquals(), flat::FlatSpill::Fill(), hdf5::HDF5Spill< Tidx >::Fill(), caf::Proxy< caf::SRSpill >::operator=(), and caf::CAFMaker::produce().

float caf::SRSpill::dcmedgematchfrac

How many hits at the DCM edge are matched in the adjacent DCM?

Low values mean out-of-sync detector

Definition at line 74 of file SRSpill.h.

Referenced by caf::Proxy< caf::SRSpill >::CheckEquals(), ana::CleanSpillQualityInfo(), flat::FlatSpill::Fill(), hdf5::HDF5Spill< Tidx >::Fill(), caf::CAFMaker::FillSpillVars(), caf::Proxy< caf::SRSpill >::operator=(), and trimvar().

signed long long int caf::SRSpill::deltaspilltimensec
Det_t caf::SRSpill::det
unsigned short caf::SRSpill::dibfirst
unsigned short caf::SRSpill::diblast
unsigned short caf::SRSpill::dibmask
int caf::SRSpill::emptydatablock
bool caf::SRSpill::eventincomplete

Data Quality DAQ Header information.

Is the event incomplete?

Definition at line 79 of file SRSpill.h.

Referenced by caf::Proxy< caf::SRSpill >::CheckEquals(), flat::FlatSpill::Fill(), hdf5::HDF5Spill< Tidx >::Fill(), caf::CAFMaker::FillSpillVars(), caf::Proxy< caf::SRSpill >::operator=(), and trimvar().

unsigned int caf::SRSpill::evt
float caf::SRSpill::fracdcm3hits
unsigned long int caf::SRSpill::gpsspilltimensec
unsigned long int caf::SRSpill::gpsspilltimesec
float caf::SRSpill::hornI
std::vector<float> caf::SRSpill::intx
std::vector<float> caf::SRSpill::inty
bool caf::SRSpill::is0HC
bool caf::SRSpill::isFHC
bool caf::SRSpill::isgoodspill
bool caf::SRSpill::ismc
bool caf::SRSpill::isRHC
float caf::SRSpill::livetime
unsigned short caf::SRSpill::maskstatus

0 no mask found in DB, 1 mask used ok, 2 masking turned off. If 0 or 2 dibmask is instead the configuration based on what RH says is alive. dibfirst/last may be wrong in this case.

Definition at line 62 of file SRSpill.h.

Referenced by caf::Proxy< caf::SRSpill >::CheckEquals(), flat::FlatSpill::Fill(), hdf5::HDF5Spill< Tidx >::Fill(), caf::CAFMaker::FillSpillVars(), and caf::Proxy< caf::SRSpill >::operator=().

int caf::SRSpill::nanosliceadcerror
int caf::SRSpill::nanoslicebufferempty
int caf::SRSpill::nanoslicebufferfull
int caf::SRSpill::nanoslicecommerror
int caf::SRSpill::nanoslicedatanotpresent
int caf::SRSpill::nanoslicenolinkstatus
int caf::SRSpill::nanosliceoverflowerror
int caf::SRSpill::nanoslicepacketerror
unsigned int caf::SRSpill::nbaddcmslg
short caf::SRSpill::ncosmiccvn
int caf::SRSpill::ndatablockmissingdata
int caf::SRSpill::ndcms

# of DCMs in partition; may not = # of LIVE DCMs = (hdr.diblast-hdr.dibfirst+1)*12

Definition at line 76 of file SRSpill.h.

Referenced by caf::Proxy< caf::SRSpill >::CheckEquals(), flat::FlatSpill::Fill(), hdf5::HDF5Spill< Tidx >::Fill(), caf::CAFMaker::FillSpillVars(), and caf::Proxy< caf::SRSpill >::operator=().

int caf::SRSpill::ndiblocks
int caf::SRSpill::ndroppedmicroblocks
int caf::SRSpill::nemptymicroslice
int caf::SRSpill::nmicroblocks
int caf::SRSpill::nmicroslicedatanotpresent
unsigned int caf::SRSpill::nmicroslices
unsigned int caf::SRSpill::nmissingdcms
unsigned int caf::SRSpill::nmissingdcmslg
int caf::SRSpill::nnanoslices
unsigned int caf::SRSpill::nnoisyapds
unsigned int caf::SRSpill::nouttimehits
float caf::SRSpill::posx
float caf::SRSpill::posy
unsigned int caf::SRSpill::run
float caf::SRSpill::spillpot
unsigned long int caf::SRSpill::spilltimensec
unsigned long int caf::SRSpill::spilltimesec
unsigned int caf::SRSpill::subrun
unsigned char caf::SRSpill::trigger
float caf::SRSpill::widthx
float caf::SRSpill::widthy

The documentation for this class was generated from the following files: