StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcMixerMaker.h
1 #ifndef STAR_StEEmcMixerMaker
2 #define STAR_StEEmcMixerMaker
3 
24 #include "StMaker.h"
25 
26 class StEmcCollection;
27 class StEmcRawHit;
28 class StEEmcDb;
29 class EEmcDbItem;
30 
31 class StEEmcMixerMaker : public StMaker {
32  private:
33  Bool_t panicOff; // once activated disables Endcap embedding
34  StEEmcDb *mEEDb;
35 
36  // Embedded object which can be used by other makers.
37  StEmcCollection *mMixerEmcCollection;
38 
39  bool mergeADCs(StEmcCollection*A,StEmcCollection*B);
40 
41 
42  public:
43  StEEmcMixerMaker(const char *name="EEmcMixer");
44  virtual ~StEEmcMixerMaker();
45  virtual Int_t Init();
46  virtual Int_t Make();
47  virtual Int_t Finish();
48  StEmcCollection *getMixerEmcCollection() { return mMixerEmcCollection; }
49 
50 
51  virtual const char *GetCVS() const {static const char cvs[]="Tag $Name: $ $Id: StEEmcMixerMaker.h,v 1.4 2014/08/06 11:43:04 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
52 
53  ClassDef(StEEmcMixerMaker,0)
54  };
55 #endif
56 
58 //
59 // $Id: StEEmcMixerMaker.h,v 1.4 2014/08/06 11:43:04 jeromel Exp $
60 // $Log: StEEmcMixerMaker.h,v $
61 // Revision 1.4 2014/08/06 11:43:04 jeromel
62 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
63 //
64 // Revision 1.3 2009/02/05 20:06:52 ogrebeny
65 // Changed StEEmcDbMaker -> StEEmcDb
66 //
67 // Revision 1.2 2007/01/24 21:07:03 balewski
68 // 1) no cout or printf, only new Logger
69 // 2) EndcapMixer:
70 // - no assert()
71 // - locks out on first fatal error til the end of the job
72 //
73 // Revision 1.1 2006/12/12 20:29:14 balewski
74 // added hooks for Endcap embedding
75 //
76 // Revision 1.1.1.1 2005/05/31 18:53:25 wzhang
77 // First version
78 //
79 //
81 
virtual Int_t Make()
virtual Int_t Finish()