Header representing overview information for the current event/slice. More...
#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-03-07/StandardRecord/SRHeader.h"
Public Member Functions | |
SRHeader () | |
~SRHeader () | |
void | setDefault () |
Public Attributes | |
unsigned int | run |
run number More... | |
unsigned int | subrun |
subrun number More... | |
int | cycle |
MC simulation cycle number. More... | |
int | batch |
MC simulation batch number. More... | |
unsigned int | evt |
ART event number, indexes trigger windows. More... | |
unsigned short | subevt |
slice number within spill More... | |
bool | ismc |
data or MC? True if MC More... | |
Det_t | det |
Detector, ND = 1, FD = 2, NDOS = 3. More... | |
bool | blind |
if true, record has been corrupted for blindness More... | |
bool | filt |
if true, record has ben filtered 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 |
diblock mask (bitfield, lowest bit = diblock 1) More... | |
unsigned short | 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. More... | |
unsigned short | year |
year of spill More... | |
unsigned short | month |
month of spill More... | |
unsigned short | day |
day of spill within month More... | |
unsigned short | doy |
day of spill within year More... | |
unsigned short | hour |
hour of spill More... | |
unsigned short | minute |
minute of spill More... | |
unsigned short | second |
second of spill More... | |
float | unixtime |
unix time of spill More... | |
float | subevtstarttime |
time of beginning of slice within spill [ns] More... | |
float | subevtendtime |
Slice end time [ns]. More... | |
float | subevtmeantime |
Slice mean time [ns]. More... | |
unsigned int | nbadchan |
Number of bad channels in a subrun. Ignores channels in diblocks that are masked off for analysis. More... | |
unsigned int | ntotchan |
Total number of channels in the analysis masked region of the detector. More... | |
unsigned short | gain |
Global gain setting of the detector. More... | |
bool | finetiming |
Is fine timing enabled in this run? More... | |
Header representing overview information for the current event/slice.
Definition at line 15 of file SRHeader.h.
caf::SRHeader::SRHeader | ( | ) |
Definition at line 16 of file SRHeader.cxx.
caf::SRHeader::~SRHeader | ( | ) |
Definition at line 46 of file SRHeader.cxx.
void caf::SRHeader::setDefault | ( | ) |
Definition at line 48 of file SRHeader.cxx.
int caf::SRHeader::batch |
MC simulation batch number.
Definition at line 24 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), and setDefault().
bool caf::SRHeader::blind |
if true, record has been corrupted for blindness
Definition at line 29 of file SRHeader.h.
Referenced by caf::BlindThisRecord(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
int caf::SRHeader::cycle |
MC simulation cycle number.
Definition at line 23 of file SRHeader.h.
Referenced by hdf5::HDF5Maker::analyze(), G4MismatchAna::analyze(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), MetadataUtils.metaDataMgr::getOutputFileName(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), setDefault(), and useBDTG().
unsigned short caf::SRHeader::day |
day of spill within month
Definition at line 39 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
Det_t caf::SRHeader::det |
Detector, ND = 1, FD = 2, NDOS = 3.
Definition at line 28 of file SRHeader.h.
Referenced by caf::BlindThisRecord(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), SliceLID::initCAFAnaModel(), LSTME::initCAFAnaModel(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), reduce_numu_ana2017_prod(), ana::BENDecomp::ReduceForBEN2020Decaf(), and ReduceForSignalDecaf().
unsigned short caf::SRHeader::dibfirst |
first diblock in detector configuration (1-14)
Definition at line 32 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::diblast |
last diblock in detector configuration (1-14)
Definition at line 33 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::dibmask |
diblock mask (bitfield, lowest bit = diblock 1)
Definition at line 34 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), and reduce_numu_ana2017_prod().
unsigned short caf::SRHeader::doy |
day of spill within year
Definition at line 40 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned int caf::SRHeader::evt |
ART event number, indexes trigger windows.
Definition at line 25 of file SRHeader.h.
Referenced by hdf5::HDF5Maker::analyze(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), FillTree(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), ProducingSA(), trim_caf(), and useBDTG().
bool caf::SRHeader::filt |
if true, record has ben filtered
Definition at line 30 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
bool caf::SRHeader::finetiming |
Is fine timing enabled in this run?
Definition at line 55 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::gain |
Global gain setting of the detector.
Definition at line 54 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::hour |
hour of spill
Definition at line 41 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
bool caf::SRHeader::ismc |
data or MC? True if MC
Definition at line 27 of file SRHeader.h.
Referenced by caf::BlindThisRecord(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), ana::BENDecomp::ReduceForBEN2020Decaf(), ReduceForSignalDecaf(), and trim_caf().
unsigned short caf::SRHeader::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 35 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::minute |
minute of spill
Definition at line 42 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::month |
month of spill
Definition at line 38 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned int caf::SRHeader::nbadchan |
Number of bad channels in a subrun. Ignores channels in diblocks that are masked off for analysis.
Definition at line 51 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned int caf::SRHeader::ntotchan |
Total number of channels in the analysis masked region of the detector.
Definition at line 52 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned int caf::SRHeader::run |
run number
Definition at line 21 of file SRHeader.h.
Referenced by Metric.Metric::__repr__(), hdf5::HDF5Maker::analyze(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), FillTree(), fabricate.Builder::memoize(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), ProducingSA(), trim_caf(), and useBDTG().
unsigned short caf::SRHeader::second |
second of spill
Definition at line 43 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::subevt |
slice number within spill
Definition at line 26 of file SRHeader.h.
Referenced by hdf5::HDF5Maker::analyze(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), FillTree(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), ProducingSA(), and useBDTG().
float caf::SRHeader::subevtendtime |
Slice end time [ns].
Definition at line 48 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
float caf::SRHeader::subevtmeantime |
Slice mean time [ns].
Definition at line 49 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
float caf::SRHeader::subevtstarttime |
time of beginning of slice within spill [ns]
Definition at line 47 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned int caf::SRHeader::subrun |
subrun number
Definition at line 22 of file SRHeader.h.
Referenced by hdf5::HDF5Maker::analyze(), caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), FillTree(), caf::Proxy< caf::SRHeader >::operator=(), caf::CAFMaker::produce(), ProducingSA(), and useBDTG().
float caf::SRHeader::unixtime |
unix time of spill
Definition at line 45 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().
unsigned short caf::SRHeader::year |
year of spill
Definition at line 37 of file SRHeader.h.
Referenced by caf::Proxy< caf::SRHeader >::CheckEquals(), flat::Flat< caf::SRHeader >::Fill(), hdf5::HDF5Header< Tidx >::Fill(), caf::Proxy< caf::SRHeader >::operator=(), and caf::CAFMaker::produce().