1 #ifndef __StEEmcTimingMaker_h__
2 #define __StEEmcTimingMaker_h__
8 #include "StEEmcUtil/EEfeeRaw/EEdims.h"
22 Int_t InitRun(Int_t run);
25 void Clear(Option_t *opts=
"");
29 void setTiming( Float_t tower_delay, Float_t mapmt_delay );
30 void setRunNumber( Int_t run );
32 void setTowerCuts( Int_t min, Int_t max );
33 void setMapmtCuts( Int_t min, Int_t max );
36 void addTowerMask( Int_t cr, Int_t ch ){ mTowerMask[ cr-1 ][ ch ] = 1; }
39 void addMapmtMask( Int_t cr, Int_t ch ){ mMapmtMask[ cr-MinMapmtCrateID ][ ch ] = 1; }
44 void dumpAsciiFile(
const Char_t *fname=
"eemcTimingFile.dat" );
45 void dumpPDF(
const Char_t *fname=
"eemcTimingFile.pdf" );
47 void setOutputFile(
const Char_t *fname ){ mOutputFile=fname; }
67 Int_t mTowerCrateYield[ MaxTwCrates ];
68 Int_t mMapmtCrateYield[ MaxMapmtCrates ];
70 Int_t mTowerChanYield[ MaxTwCrates ][ MaxTwCrateCh ];
71 Int_t mMapmtChanYield[ MaxMapmtCrates ][ MaxMapmtCrateCh ];
73 Float_t mTowerChanSlope[ MaxTwCrates ][ MaxTwCrateCh ];
74 Float_t mMapmtChanSlope[ MaxMapmtCrates ][ MaxMapmtCrateCh ];
81 TH1F *hTower[ MaxTwCrates ][ MaxTwCrateCh ];
82 TH1F *hMapmt[ MaxMapmtCrates ][ MaxMapmtCrateCh ];
84 Int_t mTowerMask[ MaxTwCrates ][ MaxTwCrateCh ];
85 Int_t mMapmtMask[ MaxMapmtCrates ][ MaxMapmtCrateCh ];
void processFromL2(const Char_t *name, int nevents)
Process ready-made histograms from level 2.
void addTowerMask(Int_t cr, Int_t ch)
Add a tower mask. Count crates from 1, channels from 0.
void supressZeroAdc()
Do not fill histograms with ADC=0.
void Clear(Option_t *opts="")
User defined functions.
void addMapmtMask(Int_t cr, Int_t ch)
Add a mapmt mask. Count crates from MinMapmtCrateID].