66 #ifndef STAR_StEEmcFastMaker
67 #define STAR_StEEmcFastMaker
90 static Float_t getSamplingFraction();
91 static Float_t *getTowerGains();
95 static Int_t getMaxAdc() {
return 4095; }
96 static Int_t getMaxET() {
return 60 ; }
106 virtual Int_t Init();
107 virtual Int_t
Make();
108 virtual void Clear(Option_t *option=
"");
110 void SetLocalStEvent();
111 void SetEmcCollectionLocal(
bool x=
true){mEmcCollectionIsLocal=x;}
112 void SetEmbeddingMode(){SetEmcCollectionLocal(
true);}
113 void UseFullTower(
bool flag =
true) { mUseFullTower = flag; }
114 void UseFullPreShower(
bool flag =
true) { mUseFullPreShower = flag; }
115 void UseFullSmdu(
bool flag =
true) { mUseFullSmdu = flag; }
116 void UseFullSmdv(
bool flag =
true) { mUseFullSmdv = flag; }
117 StEmcCollection * GetLocalEmcCollection() {
return mLocalStEmcCollection;}
119 virtual const char *GetCVS()
const {
120 static const char cvs[]=
"Tag $Name: $ $Id: StEEmcFastMaker.h,v 1.15 2014/08/06 11:43:03 jeromel Exp $ built " __DATE__
" " __TIME__ ;
130 bool mEmcCollectionIsLocal;
132 bool mUseFullPreShower;
StEEmcFastMaker(const char *name="EEmcFastSim")
static Float_t getPreshowerGain()
(adc=g*de ) fixed gain for pre/post shower
virtual void Clear(Option_t *option="")
User defined functions.
static Float_t getSmdGain()
(adc=g*de ) fixed gain for SMD