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
Smearer.h
Go to the documentation of this file.
1 
10 #ifndef INCLUDE_EICSMEAR_SMEAR_SMEARER_H_
11 #define INCLUDE_EICSMEAR_SMEAR_SMEARER_H_
12 
13 #include <TObject.h>
14 
16 
17 namespace erhic {
18 
19 class VirtualParticle;
20 
21 } // namespace erhic
22 
23 namespace Smear {
24 
25 class ParticleMCS;
26 
33 class Smearer : public TObject {
34  public:
38  virtual ~Smearer() { }
39 
43  virtual Smearer* Clone(const char* = "") const = 0;
44 
48  virtual void Smear(const erhic::VirtualParticle&, ParticleMCS&) = 0;
49 
51 
52  ClassDef(Smear::Smearer, 1)
53 };
54 
55 } // namespace Smear
56 
57 #endif // INCLUDE_EICSMEAR_SMEAR_SMEARER_H_
Smear
Definition: Acceptance.cxx:16
erhic
Definition: EventDis.cxx:14
Smear::Smearer::Accept
Acceptance Accept
Definition: Smearer.h:50
Smear::Smearer::Smear
virtual void Smear(const erhic::VirtualParticle &, ParticleMCS &)=0
Smears the input ParticleMC and stores the result(s) in the ParticleMCS.
Smear::Acceptance
Defines a range of acceptance in one or more of: theta, phi, E, p, pt, pz.
Definition: Acceptance.h:36
erhic::VirtualParticle
Abstract base class for a general particle.
Definition: VirtualParticle.h:23
Smear::Smearer
Abstract base class for objects performing smearing.
Definition: Smearer.h:33
Acceptance.h
Smear::ParticleMCS
A smeared Monte Carlo particle.
Definition: ParticleMCS.h:27
Smear::Smearer::~Smearer
virtual ~Smearer()
Destructor.
Definition: Smearer.h:38
Smear::Smearer::Clone
virtual Smearer * Clone(const char *="") const =0
Inherited from TObject.