7 #ifndef STAR_StFcsTriggerSimMaker_HH
8 #define STAR_StFcsTriggerSimMaker_HH
30 int InitRun(
int runNumber);
34 void setTrigger(
int v) {mTrgSelect=v;};
35 void setDebug(
int v) {mDebug=v;};
36 void setWriteEventText(
char* filename) {mFilename=filename;};
37 void setWriteQaTree(
char* filename) {mQaTreeFilename=filename;};
38 void setWriteQaHist(
char* filename) {mQaHistFilename=filename;};
39 void setReadPresMask(
char* filename) {mPresMask=filename;};
40 void setSimMode(
int v,
int tb=50) {mSimMode=v; mTrgTimebin=tb;}
41 void setTrgTimeBin(
int v) {mTrgTimebin=v;}
42 void setThresholdFile(
char* file) {mThresholdFile=file;}
43 void setTrgIdFile(
char* file) {mTrgIdFile=file;}
44 void setThresholdDb(
int run) {mThresholdDb=run;}
45 void setOverwriteGain(
int v) {mOverwriteGain=v;}
48 void setEtGain(
float v) {mEtFactor=v;}
52 const char* getTriggerName(
int i){
return mTrgIdName[i].Data();}
54 template<
typename T>
void feedADC(T*
hit,
int ns,
int ehp, uint16_t data_array[]);
58 int dta[],
int dsmout,
int sim[],
int simdsmout,
int iev);
77 char* mQaTreeFilename=0;
78 char* mQaHistFilename=0;
87 char* mThresholdFile=0;
94 void readThresholdFile();
95 void readThresholdDb();
97 TString mTrgIdName[64];
100 virtual const char *GetCVS()
const
101 {
static const char cvs[]=
"Tag $Name: $ $Id: StFcsTriggerSimMaker.h,v 1.2 2021/05/30 21:40:56 akio Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}