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
EventDisFactory.h
Go to the documentation of this file.
1 
10 #ifndef INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
11 #define INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
12 
16 
17 class TBranch;
18 
19 namespace erhic {
20 
21 class EventDis;
22 
23 } // namespace erhic
24 
25 namespace Smear {
26 
30 class EventDisFactory : public EventFactory<Smear::Event> {
31  public:
35  virtual ~EventDisFactory();
36 
42  EventDisFactory(const Detector&, TBranch&);
43 
50  virtual Event* Create();
51 
53 
54  protected:
57 };
58 
60  return mMcEvent;
61 }
62 
63 } // namespace Smear
64 
65 #endif // INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
Smear
Definition: Acceptance.cxx:16
erhic
Definition: EventDis.cxx:14
Smear::Event
Definition: smear/EventSmear.h:29
erhic::VirtualEvent
Abstract base class for a physics event.
Definition: VirtualEvent.h:25
Smear::EventDisFactory::GetEvBufferPtr
erhic::VirtualEvent * GetEvBufferPtr()
Returns a pointer to the event buffer.
Definition: EventDisFactory.h:59
Smear::EventDisFactory
Factory class for smeared DIS events.
Definition: EventDisFactory.h:30
Smear::EventDisFactory::mMcEvent
erhic::EventDis * mMcEvent
Definition: EventDisFactory.h:56
Smear::Detector
The detector structure.
Definition: Detector.h:44
Smear::EventFactory
Event factory for events of a particular type.
Definition: smear/EventFactory.h:30
EventFactory.h
EventSmear.h
erhic::EventDis
A deeply inelastic scattering event.
Definition: EventDis.h:37
Smear::EventDisFactory::mDetector
Detector mDetector
Definition: EventDisFactory.h:55
Smear::EventDisFactory::Create
virtual Event * Create()
Create a smeared event corresponding to the current DIS Monte Carlo event in the input branch passed ...
Definition: EventDisFactory.cxx:43
Smear::EventDisFactory::EventDisFactory
EventDisFactory(const Detector &, TBranch &)
Constructor.
Definition: EventDisFactory.cxx:37
Smear::EventDisFactory::~EventDisFactory
virtual ~EventDisFactory()
Destructor.
Definition: EventDisFactory.cxx:34
Detector.h