EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Smear::NumSigmaPid Class Reference

#include <eic-smear/blob/master/include/eicsmear/smear/NumSigmaPid.h>

+ Inheritance diagram for Smear::NumSigmaPid:
+ Collaboration diagram for Smear::NumSigmaPid:

Public Member Functions

 NumSigmaPid ()
 
virtual ~NumSigmaPid ()
 
void Smear (const erhic::VirtualParticle &, ParticleMCS &)
 
void SetNumSigmaType (const int i)
 
int GetNumSigmaType () const
 
NumSigmaPidClone (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< PIDThePidObject
 
int NumSigmaType =-1
 
PID::type EnumType
 

Additional Inherited Members

- Public Attributes inherited from Smear::Smearer
Acceptance Accept
 

Detailed Description

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

Constructor & Destructor Documentation

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().

+ Here is the caller graph for this function:

virtual Smear::NumSigmaPid::~NumSigmaPid ( )
inlinevirtual

Destructor.

Definition at line 67 of file NumSigmaPid.h.

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

Member Function Documentation

NumSigmaPid * Smear::NumSigmaPid::Clone ( const char *  = "") const
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().

+ Here is the call graph for this function:

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.

void Smear::NumSigmaPid::Smear ( const erhic::VirtualParticle prt,
ParticleMCS prtOut 
)
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.

+ Here is the call graph for this function:

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.

Member Data Documentation

PID::type Smear::NumSigmaPid::EnumType
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().

int Smear::NumSigmaPid::NumSigmaType =-1
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().

std::shared_ptr<PID> Smear::NumSigmaPid::ThePidObject
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().


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