StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEsmdCalMaker.h
1 // $Id: StEEsmdCalMaker.h,v 1.3 2014/08/06 11:43:01 jeromel Exp $
2 
3 #ifndef STAR_StEEsmdCalMaker
4 #define STAR_StEEsmdCalMaker
5 
18 #ifndef StMaker_H
19 #include "StMaker.h"
20 #endif
21 
22 class TObjArray ;
23 class StMuDstMaker;
24 
25 #include "EEsmdCal.h"
26 
27 class StEEsmdCalMaker : public StMaker , public EEsmdCal{
28 
29  private:
30  StMuDstMaker* mMuDstMaker;
31  int unpackMuDst();
32  int MCflag;
33 
34  // ideal calibration used by Fast simulator
35  float * mfixEmTgain;
36  float mfixPgain;
37  float mfixSMDgain;
38 
39 
40  public:
41  StEEsmdCalMaker(const char *self="stEEsoloPi0", const char* muDstMakerName="muDstMaker");
42  virtual ~StEEsmdCalMaker();
43  virtual Int_t Init();
44  virtual Int_t InitRun (int runNo );
45  virtual Int_t Finish();
46  virtual Int_t Make();
47  void SetHList(TObjArray * x){HList=x;}
48  void SetSector(int x);
49  void SetMCflag(int x=1) {MCflag=x;}
50 
52  virtual const char *GetCVS() const {
53  static const char cvs[]="Tag $Name: $ $Id: StEEsmdCalMaker.h,v 1.3 2014/08/06 11:43:01 jeromel Exp $ built " __DATE__ " " __TIME__ ;
54  return cvs;
55  }
56 
57  ClassDef(StEEsmdCalMaker, 1) //StAF chain virtual base class for Makers
58 };
59 
60 #endif
61 
62 
63 // $Log: StEEsmdCalMaker.h,v $
64 // Revision 1.3 2014/08/06 11:43:01 jeromel
65 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
66 //
67 // Revision 1.2 2004/07/27 21:59:47 balewski
68 // now runs on muDst as well
69 //
70 // Revision 1.1 2004/06/12 04:09:25 balewski
71 // start
72 //
73 // Revision 1.1 2004/06/06 04:54:10 balewski
74 // dual analyzis
75 //
76 // Revision 1.2 2004/04/14 19:34:01 balewski
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...
virtual Int_t Make()
virtual Int_t Finish()
Access EEMC data & DB from muDst in StRoot-framework Only muDst data are decoded by this class Uses E...