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 documentation of this file.
10 #ifndef INCLUDE_EICSMEAR_SMEAR_DEVICE_H_
11 #define INCLUDE_EICSMEAR_SMEAR_DEVICE_H_
16 #include <Math/ParamFunctor.h>
31 class VirtualParticle;
113 virtual void Print(Option_t* =
"")
const;
116 bool Init(
const TString&,
const TString&,
int);
138 #endif // INCLUDE_EICSMEAR_SMEAR_DEVICE_H_
virtual void Print(Option_t *="") const
Print information about this device to standard output.
virtual void SetDistribution(const Distributor &)
Set the random distribution from which to sample smeared kinematics.
KinType mSmeared
Smeared variable.
virtual ~Device()
Destructor.
FormulaString * mFormula
Expression for resolution standard deviation.
Device(KinType=kE, const TString &formula="0", EGenre=kAll)
Constructor.
Abstract base class for a general particle.
Distributor mDistribution
Random distribution.
Abstract base class for objects performing smearing.
virtual Device * Clone(const char *="") const
Returns a dynamically allocated copy of this object.
A smeared Monte Carlo particle.
Distribution function for random sampling.
Performs smearing of a single kinematic variable according to a simple expression defined via a strin...
std::vector< Smear::KinType > mDimensions
Variables on which smearing is dependent (up to 4)
bool Init(const TString &, const TString &, int)
virtual void Smear(const erhic::VirtualParticle &, ParticleMCS &)
Smear the kinematic value of the input particle and store the result in the ParticleMCS.
KinType
Enumerator listing particle wise kinematic variables.
EGenre
Classes of particles.