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
|
Go to the source code of this file.
Functions | |
double | etaToTheta (const double eta) |
Convert pseudorapidity (eta) to polar angle (theta) in radians. More... | |
Smear::Acceptance::Zone | makeZone (double etaMin, double etaMax) |
Returns an Acceptance::Zone spanning a range in eta. More... | |
Smear::Detector | BuildDetector () |
Smearing parameterisations for the STAR detector. More... | |
Example smearing script for the STAR detector
Definition in file STARDetector.cpp.
Smear::Detector BuildDetector | ( | ) |
Smearing parameterisations for the STAR detector.
These parameterisations are non-exhaustive: they do not cover elements such as particle identification, and they are only for the central elements of the detector - essentially, just TPC and B/EEMC.
Note: you must gSystem->Load("libeicsmear") BEFORE loading this script, as ROOT needs to understand what a Smear::Detector is.
Definition at line 41 of file STARDetector.cpp.
double etaToTheta | ( | const double | eta | ) |
Convert pseudorapidity (eta) to polar angle (theta) in radians.
Make use of TLorentzVector to do eta-to-theta conversion.
Definition at line 14 of file STARDetector.cpp.
Smear::Acceptance::Zone makeZone | ( | double | etaMin, |
double | etaMax | ||
) |
Returns an Acceptance::Zone spanning a range in eta.
Definition at line 23 of file STARDetector.cpp.