eic-smear  1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
EPhenixMomentum Class Reference

Smearing class describing ePHENIX momentum resolution. More...

Inheritance diagram for EPhenixMomentum:
Smear::Smearer

Public Member Functions

virtual ~EPhenixMomentum ()
 Destructor. More...
 
 EPhenixMomentum (bool multipleScattering=true)
 Constructor. More...
 
void Initialise ()
 Initialise the object. More...
 
TMultiGraph * Graphs ()
 Returns a pointer to the graphs. More...
 
virtual EPhenixMomentumClone (const char *) const
 Duplicate this object. More...
 
virtual void Smear (const erhic::VirtualParticle &particle, Smear::ParticleMCS &smeared)
 Smears the input ParticleMC and stores the results in the ParticleMCS. More...
 
virtual double computeMultipleScattering (const erhic::VirtualParticle &particle) const
 Return sigma(P) due to multiple scattering. More...
 
virtual void Draw (Option_t *option="ac")
 Draw all graphs. More...
 
- Public Member Functions inherited from Smear::Smearer
virtual ~Smearer ()
 Destructor. More...
 

Additional Inherited Members

- Public Attributes inherited from Smear::Smearer
Acceptance Accept
 

Detailed Description

Smearing class describing ePHENIX momentum resolution.

The ePHENIX momentum resolution is too complicated to handle with a simple parameterisation via the Smear::Device class. Therefore we define a custom Smearer class to implement the resolution. See the email in comments at the end of the file for details of the resolution values we use.

Definition at line 57 of file ePHENIXDetector.cpp.

Constructor & Destructor Documentation

◆ ~EPhenixMomentum()

EPhenixMomentum::~EPhenixMomentum ( )
virtual

Destructor.

Definition at line 117 of file ePHENIXDetector.cpp.

◆ EPhenixMomentum()

EPhenixMomentum::EPhenixMomentum ( bool  multipleScattering = true)

Constructor.

If multipleScattering is true, apply the multiple scattering resolution in the region where it is known, 2 < eta < 4. Otherwise apply only the linear resolution term.

Definition at line 111 of file ePHENIXDetector.cpp.

Member Function Documentation

◆ Clone()

EPhenixMomentum * EPhenixMomentum::Clone ( const char *  ) const
virtual

Duplicate this object.

Implements Smear::Smearer.

Definition at line 177 of file ePHENIXDetector.cpp.

◆ computeMultipleScattering()

double EPhenixMomentum::computeMultipleScattering ( const erhic::VirtualParticle particle) const
virtual

Return sigma(P) due to multiple scattering.

Note this means sigma(P) (GeV) not sigma(P)/P

Definition at line 216 of file ePHENIXDetector.cpp.

◆ Draw()

void EPhenixMomentum::Draw ( Option_t *  option = "ac")
virtual

Draw all graphs.

Definition at line 240 of file ePHENIXDetector.cpp.

◆ Graphs()

TMultiGraph * EPhenixMomentum::Graphs ( )

Returns a pointer to the graphs.

Initialises all graphs if not yet done.

Definition at line 170 of file ePHENIXDetector.cpp.

◆ Initialise()

void EPhenixMomentum::Initialise ( )

Initialise the object.

This is called automatically by the smearing routine, so the user needn't call it themselves before smearing.

Definition at line 124 of file ePHENIXDetector.cpp.

◆ Smear()

void EPhenixMomentum::Smear ( const erhic::VirtualParticle particle,
Smear::ParticleMCS smeared 
)
virtual

Smears the input ParticleMC and stores the results in the ParticleMCS.

Implements Smear::Smearer.

Definition at line 185 of file ePHENIXDetector.cpp.


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