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
|
Smearing class describing ePHENIX momentum resolution. More...
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 EPhenixMomentum * | Clone (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... | |
![]() | |
virtual | ~Smearer () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
Acceptance | Accept |
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.
|
virtual |
Destructor.
Definition at line 117 of file ePHENIXDetector.cpp.
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.
|
virtual |
Duplicate this object.
Implements Smear::Smearer.
Definition at line 177 of file ePHENIXDetector.cpp.
|
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.
|
virtual |
Draw all graphs.
Definition at line 240 of file ePHENIXDetector.cpp.
TMultiGraph * EPhenixMomentum::Graphs | ( | ) |
Returns a pointer to the graphs.
Initialises all graphs if not yet done.
Definition at line 170 of file ePHENIXDetector.cpp.
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.
|
virtual |
Smears the input ParticleMC and stores the results in the ParticleMCS.
Implements Smear::Smearer.
Definition at line 185 of file ePHENIXDetector.cpp.