10 #ifndef STAR_St_StBemcBeamBckgFinderMaker_h
11 #define STAR_St_StBemcBeamBckgFinderMaker_h
37 TH2F *mevtH[mMaxevtH];
39 enum{mxSoftId = 4800};
40 enum{mxEta=40, mxPhi=120};
44 Int_t GetNewStatus(
int id,
int rdo,
int run);
45 void FillAdc(
float iadc,
int ieta,
int iphi,
int isoft);
46 Int_t CheckPatternType3(
int &etaBegin,
int &phiBegin,
int &etaEnd,
int &patternLength,
float &sumAdc,
float &AverageWeightedEta);
49 float mdb_btowPed[mxSoftId];
50 int mdb_btowStat[mxSoftId];
52 int mdb_btowetaBin[mxSoftId];
53 int mdb_btowphiBin[mxSoftId];
55 int mdb_btowRdo[mxSoftId];
56 int mdb_btowSoftId[mxSoftId];
58 float mAdcArray[mxPhi][mxEta];
59 int mSoftId[mxPhi][mxEta];
66 char mLocation[xmlocate];
73 int mPattSoftId[mxSoftId];
76 float mAdcSumThreshold;
85 void SetHList(TObjArray *x){mHList = x;}
91 Int_t InitRun (
int runumber);
92 void Clear(
const Option_t* =
"");
94 void SetTrigger(
int x) {mTrigId=x;}
96 void SetAdcThreshold(
int setadc) {mAdcThreshold=setadc;}
97 void SetAdcSumThreshold(
float setadcsum) {mAdcSumThreshold=setadcsum;}
98 void SetPatternLength(
int setpattern) {mpattern=setpattern;}
99 void SetMaxYesPlots(
int setyesplots) {mMaxYesPlots=setyesplots;}
100 void SetMaxNoPlots(
int setnoplots) {mMaxNoPlots=setnoplots;}
101 void GetDecision(
int &fDecision,
int &eta1,
int &phi1,
int &eta2,
int &patternleng,
float &Adcsum);
102 const int *GetSoftIdList(){
return mPattSoftId;}
112 virtual const char *GetCVS()
const {
113 static const char cvs[]=
"Tag $Name: $ $Id: StBemcBeamBckgFinderMaker.h,v 1.9 2014/08/06 11:43:05 jeromel Exp $ built " __DATE__
" " __TIME__ ;