StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
MuEzPanitkinMaker.h
1 #ifndef STAR_MuEzPanitkinMaker
2 #define STAR_MuEzPanitkinMaker
3 
4 /************************************************************
5  * $Id: MuEzPanitkinMaker.h,v 1.4 2014/08/06 11:43:03 jeromel Exp $
6  ************************************************************
7  Goal: wrap EEMC-Panitkin code to be used in the BFC
8  *
9  ******************************************************/
10 
11 #ifndef StMaker_H
12 #include "StMaker.h"
13 #endif
14 
15 
16 class TObjArray ;
17 class StMuDstMaker;
18 class StTriggerDataMother ;
19 class EztEmcRawData;
20 class EztEventHeader;
21 class EEqaSorter;
22 class EztTrigBlob;
23 class RawPixels;
24 
25 class MuEzPanitkinMaker : public StMaker{
26 
27  private:
28  StMuDstMaker* mMuDstMaker;
29  int nInpEve, nTrigEve;
30  TObjArray *HList;
31  EztEventHeader *eHead;
32  EztEmcRawData *eETow;
33  EztEmcRawData *eESmd;
34  EztTrigBlob *eTrig;
35  StTriggerDataMother *trgAkio;// $STAR/StRoot/StEvent/StTriggerData2004.h
36  int trigID; // filter only one trigger if non-zero
37 
38  RawPixels *rawPixels;
39  bool pixlesOn;
40 
41  bool eeSpyOn;
42 
43  public:
44  EEqaSorter *qaSort;// tmp public
45  MuEzPanitkinMaker(const Char_t *self="myPanitkin", const Char_t * muDstMakerName="MuDst");
46  virtual ~MuEzPanitkinMaker();
47  virtual Int_t Init();
48  virtual Int_t InitRun(int);
49  virtual void Clear(const Option_t* = "");
50  virtual Int_t Finish();
51  virtual Int_t Make();
52  void SetHList(TObjArray * x){HList=x;}
53  void SetHistoPixels(bool x=true) {pixlesOn=x;}
54  void SetSpy(bool x=true) {eeSpyOn=x;}
55  void saveHisto(TString fname="fixMe3");
56  void SetTrigIdFilter(int id) {trigID=id;}
57 
59  virtual const char *GetCVS() const {
60  static const char cvs[]="Tag $Name: $ $Id: MuEzPanitkinMaker.h,v 1.4 2014/08/06 11:43:03 jeromel Exp $ built " __DATE__ " " __TIME__ ;
61  return cvs;
62  }
63 
64  ClassDef(MuEzPanitkinMaker, 1) //StAF chain virtual base class for Makers
65 };
66 
67 #endif
68 
69 
70 // $Log: MuEzPanitkinMaker.h,v $
71 // Revision 1.4 2014/08/06 11:43:03 jeromel
72 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
73 //
74 // Revision 1.3 2009/12/03 22:35:03 ogrebeny
75 // Fixed compiler warnings, mostly char* -> const char*
76 //
77 // Revision 1.2 2005/07/15 15:37:36 balewski
78 // *** empty log message ***
79 //
80 // Revision 1.1 2005/04/28 20:54:46 balewski
81 // start
82 //
83 //
84 //
virtual Int_t Finish()
virtual Int_t Make()
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...