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
|
Classes | |
class | Acceptance |
Defines a range of acceptance in one or more of: theta, phi, E, p, pt, pz. More... | |
struct | Bremsstrahlung |
A specialized Device class for modelling radiative losses. More... | |
class | Detector |
The detector structure. More... | |
class | Device |
Performs smearing of a single kinematic variable according to a simple expression defined via a string. More... | |
class | Distributor |
Distribution function for random sampling. More... | |
class | Event |
class | EventDisFactory |
Factory class for smeared DIS events. More... | |
class | EventFactory |
Event factory for events of a particular type. More... | |
class | FormulaString |
A formula described by a string with up to four variables. More... | |
class | HadronicEventBuilder |
Factory class for smeared hadronic events. More... | |
struct | ParticleID |
This structure is used to generate particle ID. More... | |
class | ParticleMCS |
A smeared Monte Carlo particle. More... | |
class | PerfectID |
Smearer that copies the PDG ID of a particle to a smeared particle with no modification. More... | |
class | PlanarTracker |
A cylindrical tracking detector. More... | |
class | RadialTracker |
A cylindrical tracking detector. More... | |
class | Smearer |
Abstract base class for objects performing smearing. More... | |
class | Tracker |
A cylindrical tracking detector. More... | |
Enumerations | |
enum | KinType { kE, kP, kTheta, kPhi, kPz, kPt, kInvalidKinType } |
Enumerator listing particle wise kinematic variables. More... | |
enum | EGenre { kAll = 0, kElectromagnetic = 1, kHadronic = 2 } |
Classes of particles. More... | |
enum | ECharge { kNeutral, kCharged, kAllCharges } |
Particle charged. More... | |
Functions | |
int | ParseInputFunction (TString &s, KinType &kin1, KinType &kin2) |
int | PGenre (const erhic::VirtualParticle &prt) |
Determine particle "genre". More... | |
double | FixTheta (double theta) |
Fix a polar angle so that it lies within [0,pi]. More... | |
double | FixPhi (double phi) |
Fix an azimuthal angle so that it lies within [0,2*pi). More... | |
double | GetVariable (const erhic::VirtualParticle &prt, KinType kin) |
Returns the kinematic variable associated with kin from the input particle. More... | |
void | SetVariable (ParticleMCS &prt, double z, KinType kin) |
Stores z in the ParticleS.K where K is the kinematic variable associated with kin. More... | |
void | HandleBogusValues (ParticleMCS &prt, KinType kin) |
This dictates how the namespace deals with positive definite variables which have been smeared to negative values. More... | |
void | HandleBogusValues (ParticleMCS &prt) |
bool | IsCoreType (KinType kin) |
enum Smear::ECharge |
enum Smear::EGenre |
enum Smear::KinType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Determine particle "genre".
This refers to whether the particle in the argument is "electromagnetic" or "hadronic" from the perspective of calorimetry.
Returns one of the following (see enum EGenre): kElectromagnetic: photon or electron/positron. kHadronic: stable hadron. kAll: neither of the above.
|
inline |