EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Pythia6EventFactory.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Pythia6EventFactory.h
1 
10 #ifndef INCLUDE_EICSMEAR_HADRONIC_PYTHIA6EVENTFACTORY_H_
11 #define INCLUDE_EICSMEAR_HADRONIC_PYTHIA6EVENTFACTORY_H_
12 
13 #include <memory>
14 #include <string>
15 
16 #include <Rtypes.h> // For ClassDef macro
17 
21 
22 class TBranch;
23 
24 namespace erhic {
25 namespace hadronic {
26 
32  public:
36  virtual ~Pythia6EventFactory();
37 
42 
46  virtual EventPythiaPP* Create();
47 
51  virtual std::string EventName() const;
52 
56  virtual TBranch* Branch(TTree& tree, const std::string& branchName);
57 
61  virtual void Fill(TBranch&);
62 
63  protected:
67  virtual EventPythiaPP* BuildEvent();
68 
69  std::unique_ptr<erhic::EventMCFilterABC> mFilter;
71 
73 };
74 
75 } // namespace hadronic
76 } // namespace erhic
77 
78 #endif // INCLUDE_EICSMEAR_HADRONIC_PYTHIA6EVENTFACTORY_H_