eventAnalysis  7.0-49-g0ac7482
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
eventAnalysisEnums Namespace Reference

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 []
 

Detailed Description

Utility tools to be shared across analysis classes.

Mostly bookkeeping routines to ensure consistency and easy referencing

Enumeration Type Documentation

Enumerator
kChargedLepton 
kChargedBaryon 
kChargedMeson 
kPhoton 
kOtherCharged 
kOtherNeutral 
kOther 
kNParticleCategories 

Definition at line 49 of file eventAnalysisEnums.hxx.

Enumerator
kFGD1 
kFGD2 
kTPC1 
kTPC2 
kTPC3 
kSFG 
kTopHAT 
kBottomHAT 
kTOF 
kP0D 
kDsECal 
kBrlECalTop 
kBrlECalBottom 
kBrlECalLeft 
kBrlECalRight 
kP0DECalTop 
kP0DECalBottom 
kP0DECalLeft 
kP0DECalRight 
kSMRD 
kOffAxis 
kINGRID 

the rest of the off-axis detector

kCavern 
kNSubdetectors 

Definition at line 20 of file eventAnalysisEnums.hxx.

Function Documentation

bool eventAnalysisEnums::GetDetectorUsed ( unsigned long  BitField,
ESubdetector  det 
)

Definition at line 92 of file eventAnalysisEnums.hxx.

References DetMask.

EParticleCategory eventAnalysisEnums::Next ( EParticleCategory const  category)
std::string eventAnalysisEnums::ParticleName ( EParticleCategory const  category)
EParticleCategory eventAnalysisEnums::PDGInfoToCategory ( const TParticlePDG *  pdgInfo)
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.

Variable Documentation

const unsigned long eventAnalysisEnums::DetMask[]
Initial value:
= {
1UL<<kFGD1,
1UL<<kFGD2,
1UL<<kTPC1,
1UL<<kTPC2,
1UL<<kTPC3,
1UL<<kSFG,
1UL<<kTopHAT,
1UL<<kBottomHAT,
1UL<<kTOF,
1UL<<kP0D,
1UL<<kDsECal,
1UL<<kBrlECalLeft,
1UL<<kSMRD,
1UL<<kOffAxis,
1UL<<kINGRID,
1UL<<kCavern,
}
the rest of the off-axis detector

Definition at line 61 of file eventAnalysisEnums.hxx.

Referenced by GetDetectorUsed().


Package Summary
Package Name: eventAnalysis
Package Version: 7.0-49-g0ac7482
Package Manager:

Generated on Mon Mar 25 2024 14:44:00 for eventAnalysis by doxygen 1.8.5