![]() |
eventAnalysis
7.0-49-g0ac7482
|
Utility tools to be shared across analysis classes. More...
Enumerations | |
enum | EParticleCategory { kChargedLepton = 0, kChargedBaryon, kChargedMeson, kPhoton, kOtherCharged, kOtherNeutral, kOther, kNParticleCategories } |
enum | ESubdetector { kFGD1 = 0, kFGD2 = 1, kTPC1 = 2, kTPC2 = 3, kTPC3 = 4, kSFG = 5, kTopHAT = 6, kBottomHAT = 7, kTOF = 8, kP0D = 9, kDsECal = 10, kBrlECalTop = 11, kBrlECalBottom = 12, kBrlECalLeft = 13, kBrlECalRight = 14, kP0DECalTop = 15, kP0DECalBottom = 16, kP0DECalLeft = 17, kP0DECalRight = 18, kSMRD = 19, kOffAxis = 20, kINGRID = 21, kCavern = 22, kNSubdetectors = 23 } |
Functions | |
std::string | DetectorName (ESubdetector const subdet) |
bool | GetDetectorUsed (unsigned long BitField, ESubdetector det) |
ESubdetector | IntToSubdetector (int const intdet) |
ESubdetector | Next (ESubdetector const subdet) |
EParticleCategory | Next (EParticleCategory const category) |
std::string | ParticleName (EParticleCategory const category) |
ESubdetector | PathToSubdetector (const std::string path) |
EParticleCategory | PDGInfoToCategory (const TParticlePDG *pdgInfo) |
void | SetDetectorUsed (unsigned long &BitField, ESubdetector det) |
void | UseCustomPDGTable () |
Variables | |
const unsigned long | DetMask [] |
Utility tools to be shared across analysis classes.
Mostly bookkeeping routines to ensure consistency and easy referencing
Enumerator | |
---|---|
kChargedLepton | |
kChargedBaryon | |
kChargedMeson | |
kPhoton | |
kOtherCharged | |
kOtherNeutral | |
kOther | |
kNParticleCategories |
Definition at line 49 of file eventAnalysisEnums.hxx.
Definition at line 20 of file eventAnalysisEnums.hxx.
std::string eventAnalysisEnums::DetectorName | ( | ESubdetector const | subdet | ) |
Definition at line 213 of file eventAnalysisEnums.hxx.
References kBottomHAT, kBrlECalBottom, kBrlECalLeft, kBrlECalRight, kBrlECalTop, kCavern, kDsECal, kFGD1, kFGD2, kINGRID, kOffAxis, kP0D, kP0DECalBottom, kP0DECalLeft, kP0DECalRight, kP0DECalTop, kSFG, kSMRD, kTOF, kTopHAT, kTPC1, kTPC2, and kTPC3.
Referenced by ND::TTruthTrajectoriesModule::FillTraces(), ND::TAnalysisLoop::Finalize(), ND::TReconPerformanceEvalModule::TDownToTrackerInfo::TDownToTrackerInfo(), and ND::TReconPerformanceEvalModule::TGlobalReconConstituent::TGlobalReconConstituent().
bool eventAnalysisEnums::GetDetectorUsed | ( | unsigned long | BitField, |
ESubdetector | det | ||
) |
Definition at line 92 of file eventAnalysisEnums.hxx.
References DetMask.
ESubdetector eventAnalysisEnums::IntToSubdetector | ( | int const | intdet | ) |
Definition at line 363 of file eventAnalysisEnums.hxx.
References kBottomHAT, kBrlECalBottom, kBrlECalLeft, kBrlECalRight, kBrlECalTop, kCavern, kDsECal, kFGD1, kFGD2, kINGRID, kNSubdetectors, kOffAxis, kP0D, kP0DECalBottom, kP0DECalLeft, kP0DECalRight, kP0DECalTop, kSFG, kSMRD, kTOF, kTopHAT, kTPC1, kTPC2, and kTPC3.
ESubdetector eventAnalysisEnums::Next | ( | ESubdetector const | subdet | ) |
Definition at line 288 of file eventAnalysisEnums.hxx.
References kBottomHAT, kBrlECalBottom, kBrlECalLeft, kBrlECalRight, kBrlECalTop, kCavern, kDsECal, kFGD1, kFGD2, kINGRID, kNSubdetectors, kOffAxis, kP0D, kP0DECalBottom, kP0DECalLeft, kP0DECalRight, kP0DECalTop, kSFG, kSMRD, kTOF, kTopHAT, kTPC1, kTPC2, and kTPC3.
Referenced by ND::TAnalysisLoop::Finalize().
EParticleCategory eventAnalysisEnums::Next | ( | EParticleCategory const | category | ) |
Definition at line 528 of file eventAnalysisEnums.hxx.
References kChargedBaryon, kChargedLepton, kChargedMeson, kNParticleCategories, kOther, kOtherCharged, kOtherNeutral, and kPhoton.
std::string eventAnalysisEnums::ParticleName | ( | EParticleCategory const | category | ) |
Definition at line 501 of file eventAnalysisEnums.hxx.
References kChargedBaryon, kChargedLepton, kChargedMeson, kOther, kOtherCharged, kOtherNeutral, and kPhoton.
Referenced by ND::TAnalysisLoop::Finalize().
ESubdetector eventAnalysisEnums::PathToSubdetector | ( | const std::string | path | ) |
Definition at line 98 of file eventAnalysisEnums.hxx.
References kBottomHAT, kBrlECalBottom, kBrlECalLeft, kBrlECalRight, kBrlECalTop, kCavern, kDsECal, kFGD1, kFGD2, kINGRID, kOffAxis, kP0D, kP0DECalBottom, kP0DECalLeft, kP0DECalRight, kP0DECalTop, kSFG, kSMRD, kTOF, kTopHAT, kTPC1, kTPC2, and kTPC3.
Referenced by ND::TTruthTrajectoriesModule::FillTraces(), ND::TTruthVerticesModule::FillTree(), and ND::TSmrdReconModule::FillTree().
EParticleCategory eventAnalysisEnums::PDGInfoToCategory | ( | const TParticlePDG * | pdgInfo | ) |
Definition at line 447 of file eventAnalysisEnums.hxx.
References kChargedBaryon, kChargedLepton, kChargedMeson, kOther, kOtherCharged, kOtherNeutral, and kPhoton.
Referenced by ND::TTruthTrajectoriesModule::GetCategory().
void eventAnalysisEnums::SetDetectorUsed | ( | unsigned long & | BitField, |
ESubdetector | det | ||
) |
Definition at line 88 of file eventAnalysisEnums.hxx.
Referenced by ND::TGlobalReconModule::GetDetectorNumber().
void eventAnalysisEnums::UseCustomPDGTable | ( | ) |
Definition at line 486 of file eventAnalysisEnums.hxx.
const unsigned long eventAnalysisEnums::DetMask[] |
Definition at line 61 of file eventAnalysisEnums.hxx.
Referenced by GetDetectorUsed().