ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <ecce-detectors/blob/master/FastPID/dRICH/genericDetector.h>
Public Types | |
enum | EDetector_t { kBarrel, kForward } |
Public Types inherited from PID | |
enum | type { pi_k, k_p } |
Public Member Functions | |
genericDetector ()=default | |
virtual | ~genericDetector ()=default |
void | setType (EDetector_t val) |
void | setName (string val) |
void | setLength (double val) |
void | setRadius (double val) |
void | setPositionZ (double val) |
void | setRadiusIn (double val) |
void | setRadiusOut (double val) |
void | setMagneticField (double val) |
virtual bool | valid (double eta, double p) override |
virtual double | numSigma (double eta, double p, PID::type PID) override=0 |
virtual double | maxP (double eta, double numSigma, PID::type PID) override=0 |
virtual double | minP (double eta, double numSigma, PID::type PID) override=0 |
string | name () override |
void | description () override |
double | maxPt (double eta, double numSigma, PID::type PID) |
double | minPt (double eta, double numSigma, PID::type PID) |
Public Member Functions inherited from PID | |
PID () | |
virtual | ~PID () |
virtual double | maxP (double eta, double p, double numSigma, PID::type PID)=0 |
Protected Member Functions | |
double | etaMin () |
double | etaMax () |
double | ptMin () |
double | pMin (double eta) |
bool | isHit (double eta, double p) |
double | trackLength (double eta) |
Protected Attributes | |
string | mName = "genericDetector" |
string | mDescription = "Detector description" |
EDetector_t | mType = kBarrel |
double | mLength = 200. |
double | mRadius = 200. |
double | mPositionZ = 200. |
double | mRadiusIn = 20. |
double | mRadiusOut = 200. |
double | mMagneticField = 2. |
const double | mLightSpeed = 29.9792458 |
const double | mMassElectron = 0.00051099891 |
const double | mMassPion = 0.13957018 |
const double | mMassKaon = 0.493677 |
const double | mMassProton = 0.93827208816 |
Definition at line 10 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 10 of file genericDetector.h
Definition at line 16 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 16 of file genericDetector.h
|
default |
|
virtualdefault |
|
inlineoverridevirtual |
Implements PID.
Definition at line 34 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 34 of file genericDetector.h
References mDescription.
|
protected |
Definition at line 79 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 79 of file genericDetector.h
References kBarrel, kForward, mLength, mPositionZ, mRadius, mRadiusIn, and mType.
|
protected |
Definition at line 67 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 67 of file genericDetector.h
References kBarrel, kForward, mLength, mPositionZ, mRadius, mRadiusOut, and mType.
Referenced by isHit().
|
inlineprotected |
Definition at line 45 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 45 of file genericDetector.h
References etaMin(), and pMin().
Referenced by valid().
|
overridepure virtual |
|
inline |
Definition at line 36 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 36 of file genericDetector.h
References maxP().
|
overridepure virtual |
Implements PID.
Implemented in genericRICH.
|
inline |
Definition at line 37 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 37 of file genericDetector.h
References ptMin().
|
inlineoverridevirtual |
Implements PID.
Definition at line 33 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 33 of file genericDetector.h
References mName.
|
overridepure virtual |
Implemented in genericRICH.
|
inlineprotected |
Definition at line 44 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 44 of file genericDetector.h
References ptMin().
Referenced by isHit(), and genericRICH::minP().
|
protected |
Definition at line 91 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 91 of file genericDetector.h
References kBarrel, kForward, mMagneticField, mRadius, mRadiusIn, and mType.
Referenced by minPt(), and pMin().
|
inline |
Definition at line 21 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 21 of file genericDetector.h
References mLength.
Referenced by dualRICH_aerogel::dualRICH_aerogel(), and dualRICH_C2F6::dualRICH_C2F6().
|
inline |
Definition at line 26 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 26 of file genericDetector.h
References mMagneticField.
|
inline |
Definition at line 20 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 20 of file genericDetector.h
References mName.
Referenced by dualRICH_aerogel::dualRICH_aerogel(), and dualRICH_C2F6::dualRICH_C2F6().
|
inline |
Definition at line 23 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 23 of file genericDetector.h
References mPositionZ.
Referenced by dualRICH_aerogel::dualRICH_aerogel(), and dualRICH_C2F6::dualRICH_C2F6().
|
inline |
Definition at line 22 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 22 of file genericDetector.h
References mRadius.
|
inline |
Definition at line 24 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 24 of file genericDetector.h
References mRadiusIn.
Referenced by dualRICH_aerogel::dualRICH_aerogel(), and dualRICH_C2F6::dualRICH_C2F6().
|
inline |
Definition at line 25 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 25 of file genericDetector.h
References mRadiusOut.
Referenced by dualRICH_aerogel::dualRICH_aerogel(), and dualRICH_C2F6::dualRICH_C2F6().
|
inline |
setters
Definition at line 19 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 19 of file genericDetector.h
References mType.
Referenced by dualRICH_aerogel::dualRICH_aerogel(), and dualRICH_C2F6::dualRICH_C2F6().
|
protected |
Definition at line 103 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 103 of file genericDetector.h
References kBarrel, kForward, mPositionZ, mRadius, mType, and theta().
|
inlineoverridevirtual |
methods to override
Implements PID.
Definition at line 29 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 29 of file genericDetector.h
References isHit().
|
protected |
Definition at line 49 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 49 of file genericDetector.h
Referenced by description().
|
protected |
Definition at line 51 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 51 of file genericDetector.h
Referenced by etaMax(), etaMin(), genericRICH::numberOfPhotons(), and setLength().
|
protected |
Definition at line 58 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 58 of file genericDetector.h
|
protected |
Definition at line 56 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 56 of file genericDetector.h
Referenced by ptMin(), and setMagneticField().
|
protected |
Definition at line 59 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 59 of file genericDetector.h
|
protected |
Definition at line 61 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 61 of file genericDetector.h
Referenced by genericRICH::maxP(), genericRICH::minP(), and genericRICH::numSigma().
|
protected |
Definition at line 60 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 60 of file genericDetector.h
Referenced by genericRICH::maxP(), genericRICH::minP(), and genericRICH::numSigma().
|
protected |
Definition at line 62 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 62 of file genericDetector.h
Referenced by genericRICH::maxP(), genericRICH::minP(), and genericRICH::numSigma().
|
protected |
Definition at line 48 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 48 of file genericDetector.h
|
protected |
Definition at line 53 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 53 of file genericDetector.h
Referenced by etaMax(), etaMin(), setPositionZ(), and trackLength().
|
protected |
Definition at line 52 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 52 of file genericDetector.h
Referenced by etaMax(), etaMin(), ptMin(), setRadius(), and trackLength().
|
protected |
Definition at line 54 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 54 of file genericDetector.h
Referenced by etaMax(), ptMin(), and setRadiusIn().
|
protected |
Definition at line 55 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 55 of file genericDetector.h
Referenced by etaMin(), and setRadiusOut().
|
protected |
Definition at line 50 of file genericDetector.h.
View newest version in sPHENIX GitHub at line 50 of file genericDetector.h
Referenced by etaMax(), etaMin(), ptMin(), setType(), and trackLength().