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_DETECTOR_H_
11 #define INCLUDE_EICSMEAR_SMEAR_DETECTOR_H_
22 class VirtualParticle;
126 virtual void Print(Option_t* =
"")
const;
153 #endif // INCLUDE_EICSMEAR_SMEAR_DETECTOR_H_
void FillEventKinematics(Event *event)
Calculate event-wise smeared kinematics for an event which has already had its particles smeared and ...
void DeleteAllDevices()
Delete all devices in the detector.
std::list< Smear::Smearer * > Accept(const erhic::VirtualParticle &) const
Returns the list of devices in this detector that accept a particle.
Detector()
Default contructor.
UInt_t GetNDevices() const
Returns the number of devices in the detector.
virtual void Print(Option_t *="") const
Print information about all smearers to standard output.
Abstract base class for a general particle.
Abstract base class for objects performing smearing.
virtual ~Detector()
Destructor.
A smeared Monte Carlo particle.
std::vector< Smearer * > Devices
void SetEventKinematicsCalculator(TString)
Set the method for calculating event kinematics if FillEventKinematics is used.
void AddDevice(Smearer &device)
Adds a copy of the smearing device to this detector.
ParticleMCS * Smear(const erhic::VirtualParticle &) const
Detector level particle smearing.
Detector & operator=(const Detector &)
Assignment operator.
std::vector< Smear::Smearer * > CopyDevices() const
Returns pointers to new copies of all devices.
Smearer * GetDevice(int index)
Return a pointer to device number n from the detector.