EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EICPIDDefs Namespace Reference

Typedefs

typedef unsigned int keytype
 

Enumerations

enum  PIDDetector {
  PIDAll = 0, mRICH = 1, DIRC = 2, dRICH_AeroGel = 3,
  dRICH_Gas = 4, GasRICH = 5, ETTL = 11, CTTL = 12,
  FTTL = 13, InvalidDetector = -1
}
 
enum  PIDCandidate {
  ElectronCandiate = 11, MuonCandiate = 13, PionCandiate = 211, KaonCandiate = 321,
  ProtonCandiate = 2212, InvalidCandiate = 0
}
 

Functions

PIDDetector getPIDDetector (const std::string &name)
 convert PID detector node names in to ID number for the container.
 
const std::string & getPIDDetectorName (const PIDDetector det)
 

Variables

static const keytype INVALID_KEY = UINT_MAX
 
const std::map< std::string,
PIDDetector
PIDDetectorNameMap
 

Typedef Documentation

typedef unsigned int EICPIDDefs::keytype

Definition at line 13 of file EICPIDDefs.h.

View newest version in sPHENIX GitHub at line 13 of file EICPIDDefs.h

Enumeration Type Documentation

Enumerator:
ElectronCandiate 
MuonCandiate 
PionCandiate 
KaonCandiate 
ProtonCandiate 
InvalidCandiate 

Definition at line 44 of file EICPIDDefs.h.

View newest version in sPHENIX GitHub at line 44 of file EICPIDDefs.h

Enumerator:
PIDAll 
mRICH 
DIRC 
dRICH_AeroGel 
dRICH_Gas 
GasRICH 
ETTL 
CTTL 
FTTL 
InvalidDetector 

Definition at line 16 of file EICPIDDefs.h.

View newest version in sPHENIX GitHub at line 16 of file EICPIDDefs.h

Function Documentation

PIDDetector EICPIDDefs::getPIDDetector ( const std::string &  name)

convert PID detector node names in to ID number for the container.

Definition at line 9 of file EICPIDDefs.cc.

View newest version in sPHENIX GitHub at line 9 of file EICPIDDefs.cc

References InvalidDetector, and PIDDetectorNameMap.

const std::string & EICPIDDefs::getPIDDetectorName ( const PIDDetector  det)

Definition at line 19 of file EICPIDDefs.cc.

View newest version in sPHENIX GitHub at line 19 of file EICPIDDefs.cc

References PIDDetectorNameMap.

Referenced by EICPIDParticlev1::identify().

+ Here is the caller graph for this function:

Variable Documentation

const keytype EICPIDDefs::INVALID_KEY = UINT_MAX
static

Definition at line 14 of file EICPIDDefs.h.

View newest version in sPHENIX GitHub at line 14 of file EICPIDDefs.h

Referenced by EICPIDParticle::get_id().

const std::map<std::string, PIDDetector> EICPIDDefs::PIDDetectorNameMap
Initial value:
= {
{"PIDAll", PIDAll},
{"mRICH", mRICH},
{"DIRC", DIRC},
{"dRICH_AeroGel", dRICH_AeroGel},
{"dRICH_Gas", dRICH_Gas},
{"GasRICH", GasRICH},
{"ETTL", ETTL},
{"CTTL", CTTL},
{"FTTL", FTTL}}

Definition at line 32 of file EICPIDDefs.h.

View newest version in sPHENIX GitHub at line 32 of file EICPIDDefs.h

Referenced by getPIDDetector(), and getPIDDetectorName().