|
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
|
#include <algorithm>#include <cmath>#include <list>#include <TCollection.h>#include <TGraph.h>#include <TList.h>#include <TLorentzVector.h>#include <TMultiGraph.h>#include <TPad.h>#include <TRandom.h>#include "eicsmear/erhic/VirtualParticle.h"#include "eicsmear/smear/Acceptance.h"#include "eicsmear/smear/Device.h"#include "eicsmear/smear/Detector.h"#include "eicsmear/smear/Smearer.h"#include "eicsmear/smear/ParticleMCS.h"#include "eicsmear/smear/PerfectID.h"Go to the source code of this file.
Classes | |
| class | EPhenixMomentum |
| Smearing class describing ePHENIX momentum resolution. More... | |
Functions | |
| double | etaToTheta (double eta) |
| Helper function to convert eta to theta (radians) More... | |
| Smear::Detector | BuildDetector (bool multipleScattering=true) |
| Smearing parameterisations for the ePHENIX detector. More... | |
Example smearing script for the ePHENIX detector
Definition in file ePHENIXDetector.cpp.
| Smear::Detector BuildDetector | ( | bool | multipleScattering = true | ) |
Smearing parameterisations for the ePHENIX 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.
If multipleScattering == true, apply multiple scattering term to momentum resolution (currently only implemented for 2 < eta < 4). Otherwise just use the linear resolution term.
Note: you must gSystem->Load("libeicsmear") BEFORE loading this script, as ROOT needs to understand what a Smear::Detector is.
Definition at line 270 of file ePHENIXDetector.cpp.
| double etaToTheta | ( | double | eta | ) |
Helper function to convert eta to theta (radians)
Detector acceptances require theta, not eta
Definition at line 252 of file ePHENIXDetector.cpp.