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:
55  Detector mDetector;
56  erhic::EventDis* mMcEvent;
57 };
58 
60  return mMcEvent;
61 }
62 
63 } // namespace Smear
64 
65 #endif // INCLUDE_EICSMEAR_SMEAR_EVENTDISFACTORY_H_
EventDisFactory(const Detector &, TBranch &)
erhic::VirtualEvent * GetEvBufferPtr()
Abstract base class for a physics event.
Definition: VirtualEvent.h:25
virtual Event * Create()