StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTofMuDstReader.h
1 #ifndef StTofMuDstReader_HH
2 #define StTofMuDstReader_HH
3 
4 #ifndef StMaker_H
5 #include "StMaker.h"
6 #endif
7 
8 
9 class StMuTrack;
10 class StMuEvent;
11 class StMuTofHit;
12 class TRandom;
13 class StMuEvent;
14 class StMuDst;
15 class StFileI;
16 class TChain;
17 class TClonesArray;
18 class StMuDstMaker;
19 
20 
21 #include "TFile.h"
22 #include "TObject.h"
23 #include "TTree.h"
24 #include "TBranch.h"
25 #include "TClonesArray.h"
26 
27 
28 #include <vector>
29 #ifndef ST_NO_NAMESPACES
30 using std::vector;
31 #endif
32 
33 
34 
35 class StTofMuDstReader : public StMaker {
36 
37  protected:
38 
39  public:
40 
41  StMaker* currentChain;
42  StTofMuDstReader(const char* name = "StTofMuDstReader",
43  const char* file = "undefined",
44  StMuDstMaker* maker = 0);
46  void Clear(const char* opt="");
47  Int_t Init();
48 
49 
50  Int_t Make();
51  Int_t Finish();
52 
53  private:
54 
55  int eventNumber;
56  int oldEventRunId;
57 
58  TFile* mOutputFile;
59  TTree* mTree;
60 
61  StMuDst* mMuDst;
62  StMuEvent* mMuEvent;
63  StMuDstMaker* mMuDstMaker;
64  StMuTrack* mMuTrack;
65 
66 #ifndef ST_NO_TEMPLATE_DEF_ARGS
67  typedef vector<Int_t> idVector;
68 #else
69  typedef vector<Int_t,allocator<Int_t>> idVector;
70 #endif
71  typedef idVector::iterator idVectorIter;
72 
73  virtual const char* GetCVS() const
74  {static const char cvs[]="Tag $Name: $ $Id: StTofMuDstReader.h,v 1.2 2014/08/06 11:43:47 jeromel Exp $ built " __DATE__ " " __TIME__; return cvs;}
75 
76  // the following is a ROOT macro that is needed in all ROOT accessible code
77  ClassDef(StTofMuDstReader, 1)
78 
79 };
80 
81 #endif
82