StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPeCLumiMaker.h
1 //
3 // StPeCLumiMaker
4 //
5 // Description:
6 // Writes a small ntuple to analyse luminosity
7 //
8 // Environment:
9 // Software developed for the STAR Detector at Brookhaven National Laboratory
10 //
11 // Author List:
12 // Falk Meissner
13 //
14 // History:
15 //
17 #ifndef StPeCLumiMaker_HH
18 #define StPeCLumiMaker_HH
19 #include "StMaker.h"
20 #include "StPeCLumiEntry.h"
21 #include "StPeCEvent.h"
22 #include "StPeCGeant.h"
23 #include "TH1.h"
24 #include "TH2.h"
25 #include "TNtuple.h"
26 #include "TFile.h"
27 #include "TTree.h"
28 
29 class StEvent;
30 class StPeCEvent;
31 class StRun;
32 class TH1F;
33 class TH2F;
34 class StMuDst;
35 
36 class StPeCLumiMaker : public StMaker {
37 
38 protected:
39  TFile *m_outfile;
40 
41  TTree *uDstTree ;
42 
43  StPeCLumiEntry *LumiEntry ;
44 
45 public:
46 
47  StPeCLumiMaker(const Char_t *name="analysis");
48  virtual ~StPeCLumiMaker();
49  // virtual void Clear(Option_t *option="");
50  virtual Int_t Init();
51  virtual Int_t InitRun(Int_t runnr);
52  virtual Int_t Make();
53  virtual Int_t Finish();
54  void setMuDst(StMuDst* mu) {muDst = mu;}; //Accessor for muDst pointer
55  // void setFileName ( TString name ) { treeFileName = name ; } ;
56 
57  // TString treeFileName ;
58 private:
59 
60  StMuDst* muDst;
61  virtual const char *GetCVS() const
62  {static const char cvs[]="Tag $Name: $ $Id: StPeCLumiMaker.h,v 1.6 2014/08/06 11:43:32 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
63 
64  ClassDef(StPeCLumiMaker,1)
65 };
66 
67 #endif
68 
69 
70 
virtual Int_t Finish()
virtual Int_t Make()
#include "StEventTypes.h"
Definition: StPeCEvent.h:83