11 #include <analysis/VariableManager/Manager.h>
25 namespace TOPVariable {
31 const TOPLikelihood* getTOPLikelihood(
const Particle* particle);
38 const ExtHit* getExtHit(
const Particle* particle);
45 double getSlotID(
const Particle* particle);
50 TVector3 getLocalPosition(
const Particle* particle);
55 TVector3 getLocalPositionMCMatch(
const Particle* particle);
60 TVector3 getLocalMomentum(
const Particle* particle);
65 double getTOF(
const Particle* particle);
70 double getTOFExpert(
const Particle* particle,
const std::vector<double>& vars);
75 double getAverageTimeOfFirst5(
const Particle* particle);
81 int countHits(
const Particle* particle,
double tmin,
double tmax,
bool clean =
true);
86 int countRawHits(
const Particle* particle,
double tmin,
double tmax);
91 double getExpectedPhotonCount(
const Particle* particle,
int pdg = 0);
96 double topDigitCount(
const Particle* particle);
101 double extrapTrackToTOPz(
const Particle* particle);
106 double extrapTrackToTOPtheta(
const Particle* particle);
111 double extrapTrackToTOPphi(
const Particle* particle);
116 double topBackgroundDigitCount(
const Particle* particle);
121 double topBackgroundDigitCountRaw(
const Particle* particle);
126 double topRawDigitCount(
const Particle* particle);
131 double topDigitGapSize(
const Particle* particle);
138 double topCountPhotonsAfterLargesGapWithin(
const Particle* particle,
139 double min,
double max);
144 double topReflectedDigitCount(
const Particle* particle);
149 double getTOPLocalX(
const Particle* particle);
154 double getTOPLocalY(
const Particle* particle);
159 double getTOPLocalZ(
const Particle* particle);
164 double getTOPLocalXMCMatch(
const Particle* particle);
169 double getTOPLocalYMCMatch(
const Particle* particle);
174 double getTOPLocalZMCMatch(
const Particle* particle);
179 double getTOPLocalPhi(
const Particle* particle);
184 double getTOPLocalTheta(
const Particle* particle);
189 double getTOPPhotonCount(
const Particle* particle);
194 double getExpectedTOPPhotonCount(
const Particle* particle,
195 const std::vector<double>& vars);
200 double countTOPHitsInInterval(
const Particle* particle,
201 const std::vector<double>& vars);
206 double countTOPHitsInFirst20ns(
const Particle* particle);
211 double countRawTOPHitsInInterval(
const Particle* particle,
212 const std::vector<double>& vars);
217 double getFlag(
const Particle* particle);
222 double getElectronLogL(
const Particle* particle);
227 double getMuonLogL(
const Particle* particle);
232 double getPionLogL(
const Particle* particle);
237 double getKaonLogL(
const Particle* particle);
242 double getProtonLogL(
const Particle* particle);
248 double getLogLScanMass(
const Particle* particle);
253 double getLogLScanMassLowerInterval(
const Particle* particle);
258 double getLogLScanMassUpperInterval(
const Particle* particle);
263 double getLogLScanThreshold(
const Particle* particle);
268 double getLogLScanExpectedSignalPhotons(
const Particle* particle);
276 double isTOPRecBunchReconstructed([[maybe_unused]]
const Particle* particle);
281 double TOPRecBunchNumber([[maybe_unused]]
const Particle* particle);
286 double TOPRecBunchCurrentOffset([[maybe_unused]]
const Particle* particle);
291 double TOPRecBunchTrackCount([[maybe_unused]]
const Particle* particle);
296 double TOPRecBunchUsedTrackCount([[maybe_unused]]
const Particle* particle);
303 double TOPRawPhotonsInSlot([[maybe_unused]]
const Particle* particle,
304 const std::vector<double>& vars);
309 double TOPGoodPhotonsInSlot([[maybe_unused]]
const Particle* particle,
310 const std::vector<double>& vars);
315 double TOPTracksInSlot([[maybe_unused]]
const Particle* particle);
Abstract base class for different kinds of events.