StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
St_pythia_Maker.h
1 // -*- mode:c++ -*-
2 //
3 // Pibero Djawotho <pibero@tamu.edu>
4 // Texas A&M University
5 // 15 Dec 2009
6 //
7 
8 #ifndef ST_PYTHIA_MAKER_H
9 #define ST_PYTHIA_MAKER_H
10 
11 // ROOT forward declarations
12 class TChain;
13 
14 // STAR forward declarations
15 class StPythiaEvent;
16 
17 // STAR includes
18 #include "StMaker.h"
19 
20 class St_pythia_Maker : public StMaker {
21 public:
22  St_pythia_Maker(const char* name = "St_pythia_Maker") : StMaker(name) {}
23 
24  int Init();
25  int Make();
26  void SetFile(const char* filename) { mFileName = filename; }
27  StPythiaEvent* GetEvent() const { return mEvent; }
28 
29 private:
30  TString mFileName;
31  TChain* mChain;
32  StPythiaEvent* mEvent;
33 
34  ClassDef(St_pythia_Maker,1)
35 };
36 
37 #endif // ST_PYTHIA_MAKER_H
StMaker(const char *name="", const char *dummy=0)
Constructor &amp; Destructor.
Definition: StMaker.cxx:188