Public Member Functions | Protected Attributes | List of all members
flat::FlatSpill Class Reference

Flat encoding of SRSpill. More...

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

Public Member Functions

 FlatSpill (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatSpill ()
 
void Fill (const caf::SRSpill &sr)
 

Protected Attributes

unsigned int run
 
unsigned int subrun
 
unsigned int evt
 
short unsigned int det
 
bool ismc
 
bool isgoodspill
 
long unsigned int spilltimesec
 
long unsigned int spilltimensec
 
long unsigned int gpsspilltimesec
 
long unsigned int gpsspilltimensec
 
long deltaspilltimensec
 
float spillpot
 
float livetime
 
float hornI
 
bool isFHC
 
bool is0HC
 
bool isRHC
 
float posx
 
float posy
 
float widthx
 
float widthy
 
short unsigned int dibfirst
 
short unsigned int diblast
 
short unsigned int dibmask
 
short unsigned int maskstatus
 
unsigned int nmissingdcms
 
float fracdcm3hits
 
unsigned int nouttimehits
 
unsigned int nnoisyapds
 
unsigned int nmissingdcmslg
 
unsigned int nbaddcmslg
 
float dcmedgematchfrac
 
unsigned int nmicroslices
 
int ndcms
 
bool eventincomplete
 
int ndiblocks
 
int emptydatablock
 
int nmicroblocks
 
int nemptymicroslice
 
int ndroppedmicroblocks
 
int ndatablockmissingdata
 
int nmicroslicedatanotpresent
 
int nnanoslices
 
int nanoslicedatanotpresent
 
int nanoslicenolinkstatus
 
int nanoslicebufferempty
 
int nanoslicebufferfull
 
int nanoslicecommerror
 
int nanoslicepacketerror
 
int nanosliceoverflowerror
 
int nanosliceadcerror
 
unsigned char trigger
 
short int ncosmiccvn
 
TTree * intx_tree
 
float intx
 
long intx_idx
 
int intx_length
 
TTree * inty_tree
 
float inty
 
long inty_idx
 
int inty_length
 
TTree * bposx_tree
 
float bposx
 
long bposx_idx
 
int bposx_length
 
TTree * bposy_tree
 
float bposy
 
long bposy_idx
 
int bposy_length
 
TTree * cosmiccvn_tree
 
FlatCosmicCVN cosmiccvn
 
long cosmiccvn_idx
 
int cosmiccvn_length
 

Detailed Description

Flat encoding of SRSpill.

Definition at line 21 of file FlatSpill.h.

Constructor & Destructor Documentation

flat::FlatSpill::FlatSpill ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 4970 of file FlatRecord.cxx.

References bposx, bposx_idx, bposx_length, bposx_tree, bposy, bposy_idx, bposy_length, bposy_tree, compare_h5_caf::branch, cosmiccvn_idx, cosmiccvn_length, cosmiccvn_tree, dcmedgematchfrac, deltaspilltimensec, det, dibfirst, diblast, dibmask, emptydatablock, eventincomplete, evt, fracdcm3hits, gpsspilltimensec, gpsspilltimesec, hornI, intx, intx_idx, intx_length, intx_tree, inty, inty_idx, inty_length, inty_tree, is0HC, isFHC, isgoodspill, ismc, isRHC, livetime, maskstatus, nanosliceadcerror, nanoslicebufferempty, nanoslicebufferfull, nanoslicecommerror, nanoslicedatanotpresent, nanoslicenolinkstatus, nanosliceoverflowerror, nanoslicepacketerror, nbaddcmslg, ncosmiccvn, ndatablockmissingdata, ndcms, ndiblocks, ndroppedmicroblocks, nemptymicroslice, nmicroblocks, nmicroslicedatanotpresent, nmicroslices, nmissingdcms, nmissingdcmslg, nnanoslices, nnoisyapds, nouttimehits, posx, posy, spillpot, spilltimensec, spilltimesec, subrun, trigger, widthx, and widthy.

4971  : intx_tree(make_tree(prefix+"intx", "intx", tr)),
4972  intx(0),
4973  intx_idx(0), intx_length(0),
4974  inty_tree(make_tree(prefix+"inty", "inty", tr)),
4975  inty(0),
4976  inty_idx(0), inty_length(0),
4977  bposx_tree(make_tree(prefix+"bposx", "bposx", tr)),
4978  bposx(0),
4979  bposx_idx(0), bposx_length(0),
4980  bposy_tree(make_tree(prefix+"bposy", "bposy", tr)),
4981  bposy(0),
4982  bposy_idx(0), bposy_length(0),
4983  cosmiccvn_tree(make_tree(prefix+"cosmiccvn", "cosmiccvn", tr)),
4984  cosmiccvn((prefix+"cosmiccvn."), cosmiccvn_tree, policy),
4986 {
4987  branch(tr, prefix+"run", &run, policy);
4988  branch(tr, prefix+"subrun", &subrun, policy);
4989  branch(tr, prefix+"evt", &evt, policy);
4990  branch(tr, prefix+"det", &det, policy);
4991  branch(tr, prefix+"ismc", &ismc, policy);
4992  branch(tr, prefix+"isgoodspill", &isgoodspill, policy);
4993  branch(tr, prefix+"spilltimesec", &spilltimesec, policy);
4994  branch(tr, prefix+"spilltimensec", &spilltimensec, policy);
4995  branch(tr, prefix+"gpsspilltimesec", &gpsspilltimesec, policy);
4996  branch(tr, prefix+"gpsspilltimensec", &gpsspilltimensec, policy);
4997  branch(tr, prefix+"deltaspilltimensec", &deltaspilltimensec, policy);
4998  branch(tr, prefix+"spillpot", &spillpot, policy);
4999  branch(tr, prefix+"livetime", &livetime, policy);
5000  branch(tr, prefix+"hornI", &hornI, policy);
5001  branch(tr, prefix+"isFHC", &isFHC, policy);
5002  branch(tr, prefix+"is0HC", &is0HC, policy);
5003  branch(tr, prefix+"isRHC", &isRHC, policy);
5004  branch(tr, prefix+"posx", &posx, policy);
5005  branch(tr, prefix+"posy", &posy, policy);
5006  branch(tr, prefix+"widthx", &widthx, policy);
5007  branch(tr, prefix+"widthy", &widthy, policy);
5008  branch(tr, prefix+"dibfirst", &dibfirst, policy);
5009  branch(tr, prefix+"diblast", &diblast, policy);
5010  branch(tr, prefix+"dibmask", &dibmask, policy);
5011  branch(tr, prefix+"maskstatus", &maskstatus, policy);
5012  branch(tr, prefix+"nmissingdcms", &nmissingdcms, policy);
5013  branch(tr, prefix+"fracdcm3hits", &fracdcm3hits, policy);
5014  branch(tr, prefix+"nouttimehits", &nouttimehits, policy);
5015  branch(tr, prefix+"nnoisyapds", &nnoisyapds, policy);
5016  branch(tr, prefix+"nmissingdcmslg", &nmissingdcmslg, policy);
5017  branch(tr, prefix+"nbaddcmslg", &nbaddcmslg, policy);
5018  branch(tr, prefix+"dcmedgematchfrac", &dcmedgematchfrac, policy);
5019  branch(tr, prefix+"nmicroslices", &nmicroslices, policy);
5020  branch(tr, prefix+"ndcms", &ndcms, policy);
5021  branch(tr, prefix+"eventincomplete", &eventincomplete, policy);
5022  branch(tr, prefix+"ndiblocks", &ndiblocks, policy);
5023  branch(tr, prefix+"emptydatablock", &emptydatablock, policy);
5024  branch(tr, prefix+"nmicroblocks", &nmicroblocks, policy);
5025  branch(tr, prefix+"nemptymicroslice", &nemptymicroslice, policy);
5026  branch(tr, prefix+"ndroppedmicroblocks", &ndroppedmicroblocks, policy);
5027  branch(tr, prefix+"ndatablockmissingdata", &ndatablockmissingdata, policy);
5028  branch(tr, prefix+"nmicroslicedatanotpresent", &nmicroslicedatanotpresent, policy);
5029  branch(tr, prefix+"nnanoslices", &nnanoslices, policy);
5030  branch(tr, prefix+"nanoslicedatanotpresent", &nanoslicedatanotpresent, policy);
5031  branch(tr, prefix+"nanoslicenolinkstatus", &nanoslicenolinkstatus, policy);
5032  branch(tr, prefix+"nanoslicebufferempty", &nanoslicebufferempty, policy);
5033  branch(tr, prefix+"nanoslicebufferfull", &nanoslicebufferfull, policy);
5034  branch(tr, prefix+"nanoslicecommerror", &nanoslicecommerror, policy);
5035  branch(tr, prefix+"nanoslicepacketerror", &nanoslicepacketerror, policy);
5036  branch(tr, prefix+"nanosliceoverflowerror", &nanosliceoverflowerror, policy);
5037  branch(tr, prefix+"nanosliceadcerror", &nanosliceadcerror, policy);
5038  branch(tr, prefix+"trigger", &trigger, policy);
5039  branch(tr, prefix+"ncosmiccvn", &ncosmiccvn, policy);
5040  branch(intx_tree, prefix+"intx", &intx, policy);
5041  if(intx_tree->GetNbranches() > 0){
5042  branch(tr, prefix+"intx_idx", &intx_idx, 0);
5043  branch(tr, prefix+"intx_length", &intx_length, 0);
5044  }
5045  branch(inty_tree, prefix+"inty", &inty, policy);
5046  if(inty_tree->GetNbranches() > 0){
5047  branch(tr, prefix+"inty_idx", &inty_idx, 0);
5048  branch(tr, prefix+"inty_length", &inty_length, 0);
5049  }
5050  branch(bposx_tree, prefix+"bposx", &bposx, policy);
5051  if(bposx_tree->GetNbranches() > 0){
5052  branch(tr, prefix+"bposx_idx", &bposx_idx, 0);
5053  branch(tr, prefix+"bposx_length", &bposx_length, 0);
5054  }
5055  branch(bposy_tree, prefix+"bposy", &bposy, policy);
5056  if(bposy_tree->GetNbranches() > 0){
5057  branch(tr, prefix+"bposy_idx", &bposy_idx, 0);
5058  branch(tr, prefix+"bposy_length", &bposy_length, 0);
5059  }
5060  if(cosmiccvn_tree->GetNbranches() > 0){
5061  branch(tr, prefix+"cosmiccvn_idx", &cosmiccvn_idx, 0);
5062  branch(tr, prefix+"cosmiccvn_length", &cosmiccvn_length, 0);
5063  }
5064 }
float spillpot
Definition: FlatSpill.h:41
bool eventincomplete
Definition: FlatSpill.h:64
long unsigned int gpsspilltimensec
Definition: FlatSpill.h:39
short int ncosmiccvn
Definition: FlatSpill.h:82
unsigned int nbaddcmslg
Definition: FlatSpill.h:60
short unsigned int dibmask
Definition: FlatSpill.h:53
TTree * cosmiccvn_tree
Definition: FlatSpill.h:104
unsigned char trigger
Definition: FlatSpill.h:81
float fracdcm3hits
Definition: FlatSpill.h:56
unsigned int subrun
Definition: FlatSpill.h:31
short unsigned int maskstatus
Definition: FlatSpill.h:54
int nanosliceoverflowerror
Definition: FlatSpill.h:79
long unsigned int gpsspilltimesec
Definition: FlatSpill.h:38
int nanoslicepacketerror
Definition: FlatSpill.h:78
unsigned int nmicroslices
Definition: FlatSpill.h:62
FlatCosmicCVN cosmiccvn
Definition: FlatSpill.h:105
unsigned int nmissingdcmslg
Definition: FlatSpill.h:59
int ndroppedmicroblocks
Definition: FlatSpill.h:69
TTree * bposx_tree
Definition: FlatSpill.h:94
int nanoslicebufferempty
Definition: FlatSpill.h:75
float livetime
Definition: FlatSpill.h:42
int nanoslicedatanotpresent
Definition: FlatSpill.h:73
TTree * inty_tree
Definition: FlatSpill.h:89
bool isgoodspill
Definition: FlatSpill.h:35
float dcmedgematchfrac
Definition: FlatSpill.h:61
int ndatablockmissingdata
Definition: FlatSpill.h:70
unsigned int nmissingdcms
Definition: FlatSpill.h:55
int nanoslicebufferfull
Definition: FlatSpill.h:76
long unsigned int spilltimesec
Definition: FlatSpill.h:36
TTree * bposy_tree
Definition: FlatSpill.h:99
short unsigned int diblast
Definition: FlatSpill.h:52
int nanoslicecommerror
Definition: FlatSpill.h:77
unsigned int evt
Definition: FlatSpill.h:32
int emptydatablock
Definition: FlatSpill.h:66
const XML_Char * prefix
Definition: expat.h:380
Definition: run.py:1
int cosmiccvn_length
Definition: FlatSpill.h:107
unsigned int nnoisyapds
Definition: FlatSpill.h:58
long cosmiccvn_idx
Definition: FlatSpill.h:106
short unsigned int det
Definition: FlatSpill.h:33
int nemptymicroslice
Definition: FlatSpill.h:68
short unsigned int dibfirst
Definition: FlatSpill.h:51
int nanosliceadcerror
Definition: FlatSpill.h:80
TTree * intx_tree
Definition: FlatSpill.h:84
int nmicroslicedatanotpresent
Definition: FlatSpill.h:71
unsigned int nouttimehits
Definition: FlatSpill.h:57
int nanoslicenolinkstatus
Definition: FlatSpill.h:74
long deltaspilltimensec
Definition: FlatSpill.h:40
long unsigned int spilltimensec
Definition: FlatSpill.h:37
flat::FlatSpill::~FlatSpill ( )

Definition at line 5066 of file FlatRecord.cxx.

References bposx_tree, bposy_tree, cosmiccvn_tree, intx_tree, and inty_tree.

5067 {
5068  if(intx_tree->GetNbranches() > 0) intx_tree->Write();
5069  delete intx_tree;
5070  if(inty_tree->GetNbranches() > 0) inty_tree->Write();
5071  delete inty_tree;
5072  if(bposx_tree->GetNbranches() > 0) bposx_tree->Write();
5073  delete bposx_tree;
5074  if(bposy_tree->GetNbranches() > 0) bposy_tree->Write();
5075  delete bposy_tree;
5076  if(cosmiccvn_tree->GetNbranches() > 0) cosmiccvn_tree->Write();
5077  delete cosmiccvn_tree;
5078 }
TTree * cosmiccvn_tree
Definition: FlatSpill.h:104
TTree * bposx_tree
Definition: FlatSpill.h:94
TTree * inty_tree
Definition: FlatSpill.h:89
TTree * bposy_tree
Definition: FlatSpill.h:99
TTree * intx_tree
Definition: FlatSpill.h:84

Member Function Documentation

void flat::FlatSpill::Fill ( const caf::SRSpill sr)

Definition at line 5080 of file FlatRecord.cxx.

References caf::SRSpill::bposx, bposx, bposx_idx, bposx_length, bposx_tree, caf::SRSpill::bposy, bposy, bposy_idx, bposy_length, bposy_tree, caf::SRSpill::cosmiccvn, cosmiccvn, cosmiccvn_idx, cosmiccvn_length, cosmiccvn_tree, dcmedgematchfrac, caf::SRSpill::dcmedgematchfrac, caf::SRSpill::deltaspilltimensec, deltaspilltimensec, caf::SRSpill::det, det, dibfirst, caf::SRSpill::dibfirst, diblast, caf::SRSpill::diblast, dibmask, caf::SRSpill::dibmask, emptydatablock, caf::SRSpill::emptydatablock, eventincomplete, caf::SRSpill::eventincomplete, caf::SRSpill::evt, evt, flat::FlatCosmicCVN::Fill(), fracdcm3hits, caf::SRSpill::fracdcm3hits, caf::SRSpill::gpsspilltimensec, gpsspilltimensec, caf::SRSpill::gpsspilltimesec, gpsspilltimesec, caf::SRSpill::hornI, hornI, caf::SRSpill::intx, intx, intx_idx, intx_length, intx_tree, caf::SRSpill::inty, inty, inty_idx, inty_length, inty_tree, caf::SRSpill::is0HC, is0HC, caf::SRSpill::isFHC, isFHC, caf::SRSpill::isgoodspill, isgoodspill, caf::SRSpill::ismc, ismc, caf::SRSpill::isRHC, isRHC, caf::SRSpill::livetime, livetime, maskstatus, caf::SRSpill::maskstatus, nanosliceadcerror, caf::SRSpill::nanosliceadcerror, nanoslicebufferempty, caf::SRSpill::nanoslicebufferempty, nanoslicebufferfull, caf::SRSpill::nanoslicebufferfull, nanoslicecommerror, caf::SRSpill::nanoslicecommerror, nanoslicedatanotpresent, caf::SRSpill::nanoslicedatanotpresent, nanoslicenolinkstatus, caf::SRSpill::nanoslicenolinkstatus, nanosliceoverflowerror, caf::SRSpill::nanosliceoverflowerror, nanoslicepacketerror, caf::SRSpill::nanoslicepacketerror, nbaddcmslg, caf::SRSpill::nbaddcmslg, ncosmiccvn, caf::SRSpill::ncosmiccvn, ndatablockmissingdata, caf::SRSpill::ndatablockmissingdata, ndcms, caf::SRSpill::ndcms, ndiblocks, caf::SRSpill::ndiblocks, ndroppedmicroblocks, caf::SRSpill::ndroppedmicroblocks, nemptymicroslice, caf::SRSpill::nemptymicroslice, nmicroblocks, caf::SRSpill::nmicroblocks, nmicroslicedatanotpresent, caf::SRSpill::nmicroslicedatanotpresent, nmicroslices, caf::SRSpill::nmicroslices, nmissingdcms, caf::SRSpill::nmissingdcms, nmissingdcmslg, caf::SRSpill::nmissingdcmslg, nnanoslices, caf::SRSpill::nnanoslices, nnoisyapds, caf::SRSpill::nnoisyapds, nouttimehits, caf::SRSpill::nouttimehits, posx, caf::SRSpill::posx, posy, caf::SRSpill::posy, caf::SRSpill::run, caf::SRSpill::spillpot, spillpot, caf::SRSpill::spilltimensec, spilltimensec, caf::SRSpill::spilltimesec, spilltimesec, caf::SRSpill::subrun, subrun, trigger, caf::SRSpill::trigger, widthx, caf::SRSpill::widthx, widthy, caf::SRSpill::widthy, and submit_syst::x.

Referenced by flat::FlatRecord::Fill(), and flat::FlatMaker::produce().

5081 {
5082  run = sr.run;
5083  subrun = sr.subrun;
5084  evt = sr.evt;
5085  det = sr.det;
5086  ismc = sr.ismc;
5087  isgoodspill = sr.isgoodspill;
5093  spillpot = sr.spillpot;
5094  livetime = sr.livetime;
5095  hornI = sr.hornI;
5096  isFHC = sr.isFHC;
5097  is0HC = sr.is0HC;
5098  isRHC = sr.isRHC;
5099  posx = sr.posx;
5100  posy = sr.posy;
5101  widthx = sr.widthx;
5102  widthy = sr.widthy;
5103  dibfirst = sr.dibfirst;
5104  diblast = sr.diblast;
5105  dibmask = sr.dibmask;
5106  maskstatus = sr.maskstatus;
5110  nnoisyapds = sr.nnoisyapds;
5112  nbaddcmslg = sr.nbaddcmslg;
5115  ndcms = sr.ndcms;
5117  ndiblocks = sr.ndiblocks;
5124  nnanoslices = sr.nnanoslices;
5133  trigger = sr.trigger;
5134  ncosmiccvn = sr.ncosmiccvn;
5135 
5136  intx_idx += intx_length; // increment taken by previous record
5137  intx_length = sr.intx.size();
5138  for(const auto& x: sr.intx){
5139  intx = x;
5140  intx_tree->Fill();
5141  }
5142 
5143  inty_idx += inty_length; // increment taken by previous record
5144  inty_length = sr.inty.size();
5145  for(const auto& x: sr.inty){
5146  inty = x;
5147  inty_tree->Fill();
5148  }
5149 
5150  bposx_idx += bposx_length; // increment taken by previous record
5151  bposx_length = sr.bposx.size();
5152  for(const auto& x: sr.bposx){
5153  bposx = x;
5154  bposx_tree->Fill();
5155  }
5156 
5157  bposy_idx += bposy_length; // increment taken by previous record
5158  bposy_length = sr.bposy.size();
5159  for(const auto& x: sr.bposy){
5160  bposy = x;
5161  bposy_tree->Fill();
5162  }
5163 
5164  cosmiccvn_idx += cosmiccvn_length; // increment taken by previous record
5165  cosmiccvn_length = sr.cosmiccvn.size();
5166  for(const auto& x: sr.cosmiccvn){
5167  cosmiccvn.Fill(x);
5168  cosmiccvn_tree->Fill();
5169  }
5170 }
std::vector< float > intx
Definition: SRSpill.h:47
float spillpot
Definition: FlatSpill.h:41
bool eventincomplete
Definition: FlatSpill.h:64
long unsigned int gpsspilltimensec
Definition: FlatSpill.h:39
short int ncosmiccvn
Definition: FlatSpill.h:82
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
unsigned int nbaddcmslg
Definition: FlatSpill.h:60
short unsigned int dibmask
Definition: FlatSpill.h:53
std::vector< float > bposx
Definition: SRSpill.h:49
TTree * cosmiccvn_tree
Definition: FlatSpill.h:104
bool is0HC
Definition: SRSpill.h:44
unsigned char trigger
Definition: FlatSpill.h:81
int nanoslicebufferempty
# of nanoslices reporting BufferEmpty
Definition: SRSpill.h:91
float fracdcm3hits
Definition: FlatSpill.h:56
std::vector< SRCosmicCVN > cosmiccvn
Contain cosmic CVN scores for all time windows in event.
Definition: SRSpill.h:100
unsigned int subrun
Definition: FlatSpill.h:31
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
short unsigned int maskstatus
Definition: FlatSpill.h:54
int ndiblocks
# of diblocks reporting in event
Definition: SRSpill.h:81
int nanosliceoverflowerror
Definition: FlatSpill.h:79
std::vector< float > bposy
Definition: SRSpill.h:50
long unsigned int gpsspilltimesec
Definition: FlatSpill.h:38
int nemptymicroslice
# of empty micro slices
Definition: SRSpill.h:84
int nanoslicepacketerror
Definition: FlatSpill.h:78
unsigned int nouttimehits
# of out-of-time hits
Definition: SRSpill.h:66
unsigned int nmicroslices
Definition: FlatSpill.h:62
unsigned int run
run number
Definition: SRSpill.h:25
FlatCosmicCVN cosmiccvn
Definition: FlatSpill.h:105
unsigned int nmissingdcmslg
Definition: FlatSpill.h:59
int nanoslicedatanotpresent
# of nanoslices reporting !DataPresent
Definition: SRSpill.h:89
int ndroppedmicroblocks
Definition: FlatSpill.h:69
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
TTree * bposx_tree
Definition: FlatSpill.h:94
int nanoslicebufferempty
Definition: FlatSpill.h:75
float livetime
Definition: FlatSpill.h:42
int nanoslicedatanotpresent
Definition: FlatSpill.h:73
TTree * inty_tree
Definition: FlatSpill.h:89
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
bool isgoodspill
Definition: FlatSpill.h:35
float dcmedgematchfrac
Definition: FlatSpill.h:61
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
int ndatablockmissingdata
Definition: FlatSpill.h:70
float hornI
Horn current.
Definition: SRSpill.h:42
unsigned int nbaddcmslg
# of DCMS with too many bad channels (LiveGeometry)
Definition: SRSpill.h:69
unsigned int nmissingdcms
Definition: FlatSpill.h:55
int nanoslicepacketerror
# of nanoslices reporting PacketError
Definition: SRSpill.h:94
unsigned int subrun
subrun number
Definition: SRSpill.h:26
int nanoslicebufferfull
Definition: FlatSpill.h:76
long unsigned int spilltimesec
Definition: FlatSpill.h:36
TTree * bposy_tree
Definition: FlatSpill.h:99
unsigned short diblast
last diblock in detector configuration (1-14)
Definition: SRSpill.h:57
short unsigned int diblast
Definition: FlatSpill.h:52
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
int nanoslicecommerror
Definition: FlatSpill.h:77
unsigned short maskstatus
Definition: SRSpill.h:62
unsigned long int gpsspilltimesec
Spill time from GPS [s].
Definition: SRSpill.h:35
unsigned int evt
Definition: FlatSpill.h:32
float widthx
Spill width in x dimension.
Definition: SRSpill.h:53
int emptydatablock
Definition: FlatSpill.h:66
Definition: run.py:1
int cosmiccvn_length
Definition: FlatSpill.h:107
unsigned int nnoisyapds
Definition: FlatSpill.h:58
float livetime
Length of readout [s].
Definition: SRSpill.h:40
long cosmiccvn_idx
Definition: FlatSpill.h:106
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
short unsigned int det
Definition: FlatSpill.h:33
int nanoslicecommerror
# of nanoslices reporting CommError
Definition: SRSpill.h:93
bool eventincomplete
Data Quality DAQ Header information.
Definition: SRSpill.h:79
int nemptymicroslice
Definition: FlatSpill.h:68
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
void Fill(const caf::SRCosmicCVN &sr)
unsigned char trigger
The trigger type from RawTrigger::fTriggerMask_TriggerType.
Definition: SRSpill.h:98
short unsigned int dibfirst
Definition: FlatSpill.h:51
int nanosliceadcerror
Definition: FlatSpill.h:80
bool ismc
data or MC? True if MC
Definition: SRSpill.h:30
TTree * intx_tree
Definition: FlatSpill.h:84
int nmicroslicedatanotpresent
Definition: FlatSpill.h:71
unsigned int nouttimehits
Definition: FlatSpill.h:57
int nanoslicenolinkstatus
Definition: FlatSpill.h:74
long deltaspilltimensec
Definition: FlatSpill.h:40
long unsigned int spilltimensec
Definition: FlatSpill.h:37
float posx
x position on target
Definition: SRSpill.h:51
int nmicroblocks
# of many microblocks
Definition: SRSpill.h:83

Member Data Documentation

float flat::FlatSpill::bposx
protected

Definition at line 95 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long flat::FlatSpill::bposx_idx
protected

Definition at line 96 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::bposx_length
protected

Definition at line 97 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

TTree* flat::FlatSpill::bposx_tree
protected

Definition at line 94 of file FlatSpill.h.

Referenced by Fill(), FlatSpill(), and ~FlatSpill().

float flat::FlatSpill::bposy
protected

Definition at line 100 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long flat::FlatSpill::bposy_idx
protected

Definition at line 101 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::bposy_length
protected

Definition at line 102 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

TTree* flat::FlatSpill::bposy_tree
protected

Definition at line 99 of file FlatSpill.h.

Referenced by Fill(), FlatSpill(), and ~FlatSpill().

FlatCosmicCVN flat::FlatSpill::cosmiccvn
protected

Definition at line 105 of file FlatSpill.h.

Referenced by Fill().

long flat::FlatSpill::cosmiccvn_idx
protected

Definition at line 106 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::cosmiccvn_length
protected

Definition at line 107 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

TTree* flat::FlatSpill::cosmiccvn_tree
protected

Definition at line 104 of file FlatSpill.h.

Referenced by Fill(), FlatSpill(), and ~FlatSpill().

float flat::FlatSpill::dcmedgematchfrac
protected

Definition at line 61 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long flat::FlatSpill::deltaspilltimensec
protected

Definition at line 40 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

short unsigned int flat::FlatSpill::det
protected

Definition at line 33 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

short unsigned int flat::FlatSpill::dibfirst
protected

Definition at line 51 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

short unsigned int flat::FlatSpill::diblast
protected

Definition at line 52 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

short unsigned int flat::FlatSpill::dibmask
protected

Definition at line 53 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

int flat::FlatSpill::emptydatablock
protected

Definition at line 66 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

bool flat::FlatSpill::eventincomplete
protected

Definition at line 64 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::evt
protected

Definition at line 32 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

float flat::FlatSpill::fracdcm3hits
protected

Definition at line 56 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long unsigned int flat::FlatSpill::gpsspilltimensec
protected

Definition at line 39 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long unsigned int flat::FlatSpill::gpsspilltimesec
protected

Definition at line 38 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::hornI
protected

Definition at line 43 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::intx
protected

Definition at line 85 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long flat::FlatSpill::intx_idx
protected

Definition at line 86 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::intx_length
protected

Definition at line 87 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

TTree* flat::FlatSpill::intx_tree
protected

Definition at line 84 of file FlatSpill.h.

Referenced by Fill(), FlatSpill(), and ~FlatSpill().

float flat::FlatSpill::inty
protected

Definition at line 90 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long flat::FlatSpill::inty_idx
protected

Definition at line 91 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::inty_length
protected

Definition at line 92 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

TTree* flat::FlatSpill::inty_tree
protected

Definition at line 89 of file FlatSpill.h.

Referenced by Fill(), FlatSpill(), and ~FlatSpill().

bool flat::FlatSpill::is0HC
protected

Definition at line 45 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

bool flat::FlatSpill::isFHC
protected

Definition at line 44 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

bool flat::FlatSpill::isgoodspill
protected

Definition at line 35 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

bool flat::FlatSpill::ismc
protected

Definition at line 34 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

bool flat::FlatSpill::isRHC
protected

Definition at line 46 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::livetime
protected

Definition at line 42 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

short unsigned int flat::FlatSpill::maskstatus
protected

Definition at line 54 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

int flat::FlatSpill::nanosliceadcerror
protected

Definition at line 80 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanoslicebufferempty
protected

Definition at line 75 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanoslicebufferfull
protected

Definition at line 76 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanoslicecommerror
protected

Definition at line 77 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanoslicedatanotpresent
protected

Definition at line 73 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanoslicenolinkstatus
protected

Definition at line 74 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanosliceoverflowerror
protected

Definition at line 79 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nanoslicepacketerror
protected

Definition at line 78 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::nbaddcmslg
protected

Definition at line 60 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

short int flat::FlatSpill::ncosmiccvn
protected

Definition at line 82 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::ndatablockmissingdata
protected

Definition at line 70 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::ndcms
protected

Definition at line 63 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::ndiblocks
protected

Definition at line 65 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::ndroppedmicroblocks
protected

Definition at line 69 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nemptymicroslice
protected

Definition at line 68 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nmicroblocks
protected

Definition at line 67 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nmicroslicedatanotpresent
protected

Definition at line 71 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::nmicroslices
protected

Definition at line 62 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::nmissingdcms
protected

Definition at line 55 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::nmissingdcmslg
protected

Definition at line 59 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

int flat::FlatSpill::nnanoslices
protected

Definition at line 72 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::nnoisyapds
protected

Definition at line 58 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::nouttimehits
protected

Definition at line 57 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::posx
protected

Definition at line 47 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::posy
protected

Definition at line 48 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::run
protected

Definition at line 30 of file FlatSpill.h.

Referenced by Metric.Metric::__repr__(), and fabricate.Builder::memoize().

float flat::FlatSpill::spillpot
protected

Definition at line 41 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long unsigned int flat::FlatSpill::spilltimensec
protected

Definition at line 37 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

long unsigned int flat::FlatSpill::spilltimesec
protected

Definition at line 36 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

unsigned int flat::FlatSpill::subrun
protected

Definition at line 31 of file FlatSpill.h.

Referenced by flat::FlatHeader::Fill(), Fill(), flat::FlatHeader::FlatHeader(), and FlatSpill().

unsigned char flat::FlatSpill::trigger
protected

Definition at line 81 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::widthx
protected

Definition at line 49 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().

float flat::FlatSpill::widthy
protected

Definition at line 50 of file FlatSpill.h.

Referenced by Fill(), and FlatSpill().


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