27 #ifndef _StEEmcRawMapMaker_H_
28 #define _StEEmcRawMapMaker_H_
37 Int_t rawAdc, fail, stat;
38 Float_t ped, pedSigma, gain;
40 StEEmcRawMapData() : rawAdc(-1), fail(1), stat(1), ped(-1), pedSigma(1000), gain(-1) { };
43 typedef std::map< Int_t, StEEmcRawMapData > StEEmcRawMap;
56 virtual void Clear( Option_t *opt =
"");
58 Int_t setInput(
const Char_t *name, Int_t type );
60 const StEEmcRawMap& getMap( Int_t layer );
63 enum layer_t { TOWER, PRE1, PRE2, POST, ESMD };
66 std::string mInputName, mDbName;
71 void addHitTower( Int_t sec, Int_t sub, Int_t eta, Int_t adc, Int_t layer );
72 void addHitStrip( Int_t sec, Bool_t layerIsV, Int_t strip, Int_t adc );
82 inline const StEEmcRawMap& StEEmcRawMapMaker::getMap( Int_t layer ){
return mMap[ (layer>0&&layer<5) ? layer : 0 ]; };
virtual void Clear(Option_t *opt="")
User defined functions.