StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEsoloPi0Maker.h
1 // $Id: StEEsoloPi0Maker.h,v 1.7 2014/08/06 11:43:01 jeromel Exp $
2 
3 #ifndef STAR_StEEsoloPi0Maker
4 #define STAR_StEEsoloPi0Maker
5 
16 #ifndef StMaker_H
17 #include "StMaker.h"
18 #endif
19 class TObjArray ;
20 #include "EEsoloPi0.h"
21 class StMuDstMaker;
22 
23 class StEEsoloPi0Maker : public StMaker, public EEsoloPi0 {
24  private:
25  StMuDstMaker* mMuDstMaker;
26  bool unpackMuEemc(); // EEMC data
27  bool unpackMuTrig(); // BBC, CTB
28 
29  int MCflag;
30 
31  // old:
32  int getEEmcAdc();
33  float getCtbSum();
34 
35  public:
36  StEEsoloPi0Maker(const char *self="stEEsoloPi0", const char* muDstMakerName="muDstMaker");
37  virtual ~StEEsoloPi0Maker();
38  virtual Int_t Init();
39  virtual Int_t InitRun(int runNo);
40  virtual Int_t Finish();
41 
42  virtual Int_t Make();
43  void SetHList(TObjArray * x){HList=x;}
44  void SetMCflag(int x=1) {MCflag=x;}
45 
47  virtual const char *GetCVS() const {
48  static const char cvs[]="Tag $Name: $ $Id: StEEsoloPi0Maker.h,v 1.7 2014/08/06 11:43:01 jeromel Exp $ built " __DATE__ " " __TIME__ ;
49  return cvs;
50  }
51 
52  ClassDef(StEEsoloPi0Maker, 1) //StAF chain virtual base class for Makers
53 };
54 
55 #endif
56 
57 
58 // $Log: StEEsoloPi0Maker.h,v $
59 // Revision 1.7 2014/08/06 11:43:01 jeromel
60 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
61 //
62 // Revision 1.6 2004/10/27 18:07:51 balewski
63 // practical use of 'sim' flavor for M-C
64 //
65 // Revision 1.5 2004/09/03 04:50:52 balewski
66 // big clenup
67 //
68 // Revision 1.4 2004/08/26 04:39:40 balewski
69 // towards pi0
70 //
71 // Revision 1.3 2004/08/09 20:28:31 balewski
72 // add trig selection
73 //
74 // Revision 1.2 2004/04/14 19:34:01 balewski
75 // access to trigger data
76 //
77 // Revision 1.1 2004/04/14 17:09:09 balewski
78 // new copy of pi0finder with towers only, should work on ezTree as well (after small cleanup)
79 //
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
Axample to access muDst and pass it to ezTree analyzis class.
virtual Int_t Finish()
TObjArray * HList
DB access point.
Definition: EEsoloPi0.h:72
virtual Int_t Make()