ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ECCEmRICHFastPIDMap Class Reference

ECCEmRICHFastPIDMap Import from ./mRICH/mRICH. More...

#include <ecce-detectors/blob/master/FastPID/ECCEmRICHFastPIDMap.h>

+ Inheritance diagram for ECCEmRICHFastPIDMap:
+ Collaboration diagram for ECCEmRICHFastPIDMap:

Public Member Functions

 ECCEmRICHFastPIDMap (double trackResolution=0.00175, double incidentAngle=0.0, double pixS=3)
 
virtual ~ECCEmRICHFastPIDMap ()
 
PIDCandidate_LogLikelihood_map getFastSmearLogLikelihood (int truth_pid, const double momentum, const double theta) const override
 
void setThetaAcceptanceMinMax (double min, double max)
 
- Public Member Functions inherited from ECCEFastPIDMap
 ECCEFastPIDMap (const std::string &name="ECCEFastPIDMap")
 
virtual ~ECCEFastPIDMap ()
 
virtual void Verbosity (const int ival)
 Sets the verbosity of this module (0 by default=quiet).
 
virtual int Verbosity () const
 Gets the verbosity of this module.
 

Private Member Functions

double getAng (double mass, double mom) const
 
double getdAng (double mass, double mom) const
 
double getdAngTrk (double mass, double mom) const
 
double getNgamma (double t, double mass, double mom) const
 
double T_Aer (double t, double lam) const
 
double T_QE (double lam) const
 

Private Attributes

double m_acceptanceThetaMin = 2.658
 
double m_acceptanceThetaMax = 3.04
 
double mElectron
 
double mPion
 
double mKaon
 
double mProton
 
double c
 
double n
 
double f
 
double a
 
double N_gam
 
double pi
 
double alpha
 
double L
 
double th0
 
double fTrackResolution
 
double pLow
 
double pHigh
 

Additional Inherited Members

- Public Types inherited from ECCEFastPIDMap
typedef std::map
< EICPIDDefs::PIDCandidate,
float > 
PIDCandidate_LogLikelihood_map
 

Detailed Description

ECCEmRICHFastPIDMap Import from ./mRICH/mRICH.

Definition at line 25 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 25 of file ECCEmRICHFastPIDMap.h

Constructor & Destructor Documentation

ECCEmRICHFastPIDMap::ECCEmRICHFastPIDMap ( double  trackResolution = 0.00175,
double  incidentAngle = 0.0,
double  pixS = 3 
)

Definition at line 24 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 24 of file ECCEmRICHFastPIDMap.cc

References a, alpha, c, f, fTrackResolution, L, mElectron, mKaon, mPion, mProton, n, N_gam, pHigh, pi, pLow, and th0.

ECCEmRICHFastPIDMap::~ECCEmRICHFastPIDMap ( )
virtual

Definition at line 46 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 46 of file ECCEmRICHFastPIDMap.cc

Member Function Documentation

double ECCEmRICHFastPIDMap::getAng ( double  mass,
double  mom 
) const
private

Definition at line 170 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 170 of file ECCEmRICHFastPIDMap.cc

References n, th0, and theta().

Referenced by getFastSmearLogLikelihood().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ECCEmRICHFastPIDMap::getdAng ( double  mass,
double  mom 
) const
private

Definition at line 181 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 181 of file ECCEmRICHFastPIDMap.cc

References a, f, n, th0, and theta().

Referenced by getFastSmearLogLikelihood().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ECCEmRICHFastPIDMap::getdAngTrk ( double  mass,
double  mom 
) const
private

Definition at line 198 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 198 of file ECCEmRICHFastPIDMap.cc

References fTrackResolution, n, th0, and theta().

Referenced by getFastSmearLogLikelihood().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ECCEmRICHFastPIDMap::PIDCandidate_LogLikelihood_map ECCEmRICHFastPIDMap::getFastSmearLogLikelihood ( int  truth_pid,
const double  momentum,
const double  theta 
) const
overridevirtual

Implements ECCEFastPIDMap.

Definition at line 49 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 49 of file ECCEmRICHFastPIDMap.cc

References kdfinder::abs(), EICPIDDefs::ElectronCandiate, getAng(), getdAng(), getdAngTrk(), getNgamma(), EICPIDDefs::KaonCandiate, L, m_acceptanceThetaMax, mElectron, mKaon, mPion, mProton, pHigh, EICPIDDefs::PionCandiate, EICPIDDefs::ProtonCandiate, and ECCEFastPIDMap::Verbosity().

Referenced by Test_ECCEFastPIDMap().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ECCEmRICHFastPIDMap::getNgamma ( double  t,
double  mass,
double  mom 
) const
private

Definition at line 212 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 212 of file ECCEmRICHFastPIDMap.cc

References alpha, dx, n, pi, sum, T_Aer(), T_QE(), x, xmax, and xmin.

Referenced by getFastSmearLogLikelihood().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ECCEmRICHFastPIDMap::setThetaAcceptanceMinMax ( double  min,
double  max 
)
inline

Definition at line 36 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 36 of file ECCEmRICHFastPIDMap.h

References m_acceptanceThetaMax, m_acceptanceThetaMin, max, and min.

double ECCEmRICHFastPIDMap::T_Aer ( double  t,
double  lam 
) const
private

Definition at line 234 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 234 of file ECCEmRICHFastPIDMap.cc

References e.

Referenced by getNgamma().

+ Here is the caller graph for this function:

double ECCEmRICHFastPIDMap::T_QE ( double  lam) const
private

Definition at line 229 of file ECCEmRICHFastPIDMap.cc.

View newest version in sPHENIX GitHub at line 229 of file ECCEmRICHFastPIDMap.cc

References e.

Referenced by getNgamma().

+ Here is the caller graph for this function:

Member Data Documentation

double ECCEmRICHFastPIDMap::a
private

Definition at line 60 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 60 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getdAng().

double ECCEmRICHFastPIDMap::alpha
private

Definition at line 63 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 63 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getNgamma().

double ECCEmRICHFastPIDMap::c
private

Definition at line 57 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 57 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap().

double ECCEmRICHFastPIDMap::f
private

Definition at line 59 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 59 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getdAng().

double ECCEmRICHFastPIDMap::fTrackResolution
private

Definition at line 67 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 67 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getdAngTrk().

double ECCEmRICHFastPIDMap::L
private

Definition at line 64 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 64 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getFastSmearLogLikelihood().

double ECCEmRICHFastPIDMap::m_acceptanceThetaMax = 3.04
private

Definition at line 43 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 43 of file ECCEmRICHFastPIDMap.h

Referenced by getFastSmearLogLikelihood(), and setThetaAcceptanceMinMax().

double ECCEmRICHFastPIDMap::m_acceptanceThetaMin = 2.658
private

Definition at line 42 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 42 of file ECCEmRICHFastPIDMap.h

Referenced by setThetaAcceptanceMinMax().

double ECCEmRICHFastPIDMap::mElectron
private

Definition at line 53 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 53 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getFastSmearLogLikelihood().

double ECCEmRICHFastPIDMap::mKaon
private

Definition at line 55 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 55 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getFastSmearLogLikelihood().

double ECCEmRICHFastPIDMap::mPion
private

Definition at line 54 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 54 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getFastSmearLogLikelihood().

double ECCEmRICHFastPIDMap::mProton
private

Definition at line 56 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 56 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getFastSmearLogLikelihood().

double ECCEmRICHFastPIDMap::n
private

Definition at line 58 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 58 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), getAng(), getdAng(), getdAngTrk(), and getNgamma().

double ECCEmRICHFastPIDMap::N_gam
private

Definition at line 61 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 61 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap().

double ECCEmRICHFastPIDMap::pHigh
private

Definition at line 70 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 70 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getFastSmearLogLikelihood().

double ECCEmRICHFastPIDMap::pi
private

Definition at line 62 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 62 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), and getNgamma().

double ECCEmRICHFastPIDMap::pLow
private

Definition at line 69 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 69 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap().

double ECCEmRICHFastPIDMap::th0
private

Definition at line 65 of file ECCEmRICHFastPIDMap.h.

View newest version in sPHENIX GitHub at line 65 of file ECCEmRICHFastPIDMap.h

Referenced by ECCEmRICHFastPIDMap(), getAng(), getdAng(), and getdAngTrk().


The documentation for this class was generated from the following files: