EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/smear/NumSigmaPid.h>
Public Member Functions | |
NumSigmaPid () | |
virtual | ~NumSigmaPid () |
void | Smear (const erhic::VirtualParticle &, ParticleMCS &) |
void | SetNumSigmaType (const int i) |
int | GetNumSigmaType () const |
NumSigmaPid * | Clone (const char *="") const |
bool | valid (double eta, double p) const |
double | maxP (double eta, double numSigma, PID::type PID) const |
double | minP (double eta, double numSigma, PID::type PID) const |
std::string | name () const |
void | description () const |
Public Member Functions inherited from Smear::Smearer | |
virtual | ~Smearer () |
Protected Attributes | |
std::shared_ptr< PID > | ThePidObject |
int | NumSigmaType =-1 |
PID::type | EnumType |
Additional Inherited Members | |
Public Attributes inherited from Smear::Smearer | |
Acceptance | Accept |
Base class for a simple set of objects that are used to evaluate various PID detector technology choices for the EIC.
Definition at line 57 of file NumSigmaPid.h.
View newest version in sPHENIX GitHub at line 57 of file NumSigmaPid.h
Smear::NumSigmaPid::NumSigmaPid | ( | ) |
Default constructor.
Definition at line 6 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 6 of file NumSigmaPid.cxx
Referenced by Clone().
|
inlinevirtual |
Destructor.
Definition at line 67 of file NumSigmaPid.h.
View newest version in sPHENIX GitHub at line 67 of file NumSigmaPid.h
|
virtual |
Needed for TObject
Implements Smear::Smearer.
Definition at line 22 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 22 of file NumSigmaPid.cxx
References NumSigmaPid().
void Smear::NumSigmaPid::description | ( | ) | const |
Passing through methods of PID
Definition at line 68 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 68 of file NumSigmaPid.cxx
References ThePidObject.
int Smear::NumSigmaPid::GetNumSigmaType | ( | ) | const |
Get the numSigma type
PID::type is an enumerated constant set allowing one to choose pi-vs-k or k-vs-p etc.
Definition at line 47 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 47 of file NumSigmaPid.cxx
References NumSigmaType.
double Smear::NumSigmaPid::maxP | ( | double | eta, |
double | numSigma, | ||
PID::type | PID | ||
) | const |
Passing through methods of PID
Definition at line 56 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 56 of file NumSigmaPid.cxx
References ThePidObject.
double Smear::NumSigmaPid::minP | ( | double | eta, |
double | numSigma, | ||
PID::type | PID | ||
) | const |
Passing through methods of PID
Definition at line 60 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 60 of file NumSigmaPid.cxx
References ThePidObject.
std::string Smear::NumSigmaPid::name | ( | ) | const |
Passing through methods of PID
Definition at line 64 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 64 of file NumSigmaPid.cxx
References ThePidObject.
void Smear::NumSigmaPid::SetNumSigmaType | ( | const int | i | ) |
Set the numSigma type
PID::type is an enumerated constant set allowing one to choose pi-vs-k or k-vs-p etc.
Definition at line 28 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 28 of file NumSigmaPid.cxx
References EnumType, PID::k_p, NumSigmaType, and PID::pi_k.
|
virtual |
Smears the input ParticleMC and stores the result(s) in the ParticleMCS.
Implements Smear::Smearer.
Definition at line 9 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 9 of file NumSigmaPid.cxx
References EnumType, Acts::VectorHelpers::eta(), erhic::VirtualParticle::GetEta(), erhic::VirtualParticle::GetP(), p, Smear::ParticleMCS::SetNumSigma(), and ThePidObject.
bool Smear::NumSigmaPid::valid | ( | double | eta, |
double | p | ||
) | const |
Passing through methods of PID
Definition at line 52 of file NumSigmaPid.cxx.
View newest version in sPHENIX GitHub at line 52 of file NumSigmaPid.cxx
References ThePidObject.
|
protected |
Definition at line 113 of file NumSigmaPid.h.
View newest version in sPHENIX GitHub at line 113 of file NumSigmaPid.h
Referenced by SetNumSigmaType(), and Smear().
|
protected |
Definition at line 112 of file NumSigmaPid.h.
View newest version in sPHENIX GitHub at line 112 of file NumSigmaPid.h
Referenced by GetNumSigmaType(), and SetNumSigmaType().
|
protected |
Definition at line 111 of file NumSigmaPid.h.
View newest version in sPHENIX GitHub at line 111 of file NumSigmaPid.h
Referenced by description(), maxP(), minP(), name(), Smear(), Smear::TofBarrelSmearer::TofBarrelSmearer(), and valid().