unsigned long int spilltimesec
Spill time in seconds [s].
unsigned int nmissingdcmslg
# of DCMS with 63 or more bad FEBs (LiveGeometry, subset of baddcmslg)
Cuts and Vars for the 2020 FD DiF Study.
unsigned int nmissingdcms
# of missing DCMs
float posy
y position on target
float dcmedgematchfrac
How many hits at the DCM edge are matched in the adjacent DCM?
float fracdcm3hits
fraction of DCM3 hits in horizontal modules
const SpillCut kTightBeamQualityCuts([](const caf::SRSpillProxy *s){if(s->ismc) return true; if(s->trigger==2) return true;if(s->spilltimesec==0 &&s->deltaspilltimensec==0 &&s->widthx==0) return bool(s->isgoodspill);if(std::abs(s->deltaspilltimensec) > 0.5e9) return false;if(s->spillpot< 2e12) return false;if(s->hornI< -202|| s->hornI >-198) return false;if(s->posx< -2.00|| s->posx >+2.00) return false;if(s->posy< -2.00|| s->posy >+2.00) return false;return kBeamWidthCut(s);})
unsigned int nbaddcmslg
# of DCMS with too many bad channels (LiveGeometry)
bool isgoodspill
Was the pot for a spill good? (only applicable to data, default true)
const SpillCut kStandardDQCuts([](const caf::SRSpillProxy *spill){if(spill->dcmedgematchfrac==0 &&spill->fracdcm3hits==0 &&spill->nmissingdcmslg==0) return bool(spill->isgoodspill); if(spill->det==caf::kNEARDET && (spill->fracdcm3hits > 0.45|| spill->nmissingdcms > 0)) return false; if(spill->eventincomplete) return false; if(spill->det==caf::kFARDET && spill->nmissingdcmslg > 0) return false; if(spill->det==caf::kFARDET && !spill->ismc && spill->dcmedgematchfrac<=0.2) return false;return true;})
Cut out events with a noisy detector or with parts missing.
unsigned long int gpsspilltimensec
Spill time from GPS [ns].
float widthy
Spill width in y dimension.
unsigned long int gpsspilltimesec
Spill time from GPS [s].
float widthx
Spill width in x dimension.
signed long long int deltaspilltimensec
Delta time [ns].
unsigned int nnoisyapds
# of noisy APDs
void CleanSpillQualityInfo(caf::SRSpill *spill, const caf::SRSpillProxy *spillProxy)
bool ismc
data or MC? True if MC
float posx
x position on target