12 #ifndef STAR_StGammaRawMaker
13 #define STAR_StGammaRawMaker
17 #include "StGammaTrack.h"
18 #include "StGammaTower.h"
19 #include "StGammaStrip.h"
20 #include "StGammaEvent.h"
21 #include "StGammaEventMaker.h"
23 #include "StEmcUtil/database/StBemcTables.h"
24 #include "StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
40 virtual const char* GetCVS()
const
41 {
static const char cvs[] =
"Tag $Name: $ $Id: StGammaRawMaker.h,v 1.9 2014/08/06 11:43:18 jeromel Exp $ built " __DATE__
" " __TIME__;
return cvs; }
47 void Clear(Option_t *opts=
"");
50 const StGammaTrackVec_t &tracks(){
return mTracks; }
51 const StGammaTowerVec_t &towers(){
return mTowers; }
52 const StGammaTowerVec_t &preshower1(){
return mPreshower1; }
53 const StGammaTowerVec_t &preshower2(){
return mPreshower2; }
54 const StGammaTowerVec_t &postshower(){
return mPostshower; }
55 const StGammaStripVec_t &strips(){
return mStrips; }
58 StGammaStrip *strip(Int_t sector, Int_t plane, Int_t index);
61 void SetTowerCutoff( Float_t t );
62 void SetTrackCutoff( Float_t t );
64 void useBemc() { mUseBemc =
true; }
65 void useEemc() { mUseEemc =
true; }
70 void excludeBemcTower(
int softId) { mExcludedBemcTowers.push_back(softId); }
71 void shiftBemcGains(
double shift) { mBemcGainShift = shift; }
78 StGammaTrackVec_t mTracks;
79 StGammaTowerVec_t mTowers;
80 StGammaStripVec_t mStrips;
82 StGammaTowerVec_t mPreshower1;
83 StGammaTowerVec_t mPreshower2;
84 StGammaTowerVec_t mPostshower;
101 StGammaTower *mEEtowers[ kEEmcNumSectors * kEEmcNumSubSectors * kEEmcNumEtas ][ 4 ];
102 StGammaStrip *mEEstrips[ kEEmcNumSectors ][ kEEmcNumSmdUVs ][ kEEmcNumStrips ];
107 map<int, StGammaStrip*> mBarrelSmdEtaStrip;
108 map<int, StGammaStrip*> mBarrelSmdPhiStrip;
115 double mBemcGainShift;
117 vector<int> mExcludedBemcTowers;
127 inline void StGammaRawMaker::SetTowerCutoff(Float_t t){ mTowerCutoff = t; }
128 inline void StGammaRawMaker::SetTrackCutoff(Float_t t){ mTrackCutoff = t; }
void Clear(Option_t *opts="")
User defined functions.