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
Pythia6EventBuilder.h
Go to the documentation of this file.
1 
10 #ifndef INCLUDE_EICSMEAR_ERHIC_PYTHIA6EVENTBUILDER_H_
11 #define INCLUDE_EICSMEAR_ERHIC_PYTHIA6EVENTBUILDER_H_
12 
13 #include <string>
14 
15 #include <Rtypes.h> // For ClassDef macro
16 
18 
19 namespace erhic {
20 
21 class EventMCFilterABC;
22 class EventPythia;
23 
33  public:
41  explicit Pythia6EventBuilder(EventMCFilterABC* = NULL);
42 
46  virtual ~Pythia6EventBuilder();
47 
53  virtual EventPythia* Create();
54 
55  virtual std::string EventName() const;
56 
57  virtual TBranch* Branch(TTree&, const std::string&);
58 
59  virtual void Fill(TBranch&);
60 
61  protected:
62  EventPythia* BuildEvent();
63  Long64_t mNGenerated;
64  Long64_t mNTrials;
65  EventMCFilterABC* mFilter;
66  EventPythia* mEvent;
67 
68  ClassDef(erhic::Pythia6EventBuilder, 1)
69 };
70 
71 } // namespace erhic
72 
73 #endif // INCLUDE_EICSMEAR_ERHIC_PYTHIA6EVENTBUILDER_H_
Pythia 6 DIS event.
Definition: EventPythia.h:28
virtual void Fill(TBranch &)
virtual TBranch * Branch(TTree &, const std::string &)
virtual std::string EventName() const
Pythia6EventBuilder(EventMCFilterABC *=NULL)
virtual EventPythia * Create()