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 (double eta) |
Helper function to convert eta to theta (radians) More... | |
Smear::Acceptance::Zone | zoneEta (double etamin, double etamax) |
Helper function producing a zone in eta. More... | |
Smear::Detector | BuildDetector () |
Smearing parameterisations for the eSTAR detector. More... | |
Example smearing script for the eSTAR detector
Definition in file eSTARDetector.cpp.
Smear::Detector BuildDetector | ( | ) |
Smearing parameterisations for the eSTAR detector.
Based on parameterisations given in Zhangbu Xu's talk here (slide 5): https://wiki.bnl.gov/conferences/index.php/January_2014 This includes momentum and energy resolutions, but no particle identification.
Note: you must gSystem->Load("libeicsmear") BEFORE loading this script, as ROOT needs to understand what a Smear::Detector is.
Definition at line 38 of file eSTARDetector.cpp.
double etaToTheta | ( | double | eta | ) |
Helper function to convert eta to theta (radians)
Detector acceptances require theta, not eta
Definition at line 15 of file eSTARDetector.cpp.
Smear::Acceptance::Zone zoneEta | ( | double | etamin, |
double | etamax | ||
) |
Helper function producing a zone in eta.
Definition at line 22 of file eSTARDetector.cpp.