3 #ifndef EEMC_TRIG_UTIL_HH
4 #define EEMC_TRIG_UTIL_HH
29 static void readPed4(
const char *path,
int mxChan,
int *feePed4);
30 static void genPed4(
int ped4val,
int mxChan,
int *feePed4);
33 static void getDsmThresholds(
int yyyymmdd,
int hhmmss,
DsmThreshold &thresholds);
34 static void getFeePed4(
const char *path,
int yyyymmdd,
int hhmmss,
int mxChan,
int *feePed4);
35 static void getFeePed4(
const TDatime& date,
int mxChan,
int* feePed4);
36 static void getFeeOutMask(
const char* maskfile,
int* highTowerMask,
int* patchSumMask);
37 static void getFeeOutMask(
const TDatime& date,
int* highTowerMask,
int* patchSumMask);
38 static void getDsmAndChannelFromSteveJetPatchAndTriggerPatch(
int jetpatch,
int triggerpatch,
int& dsm,
int& chan);
39 static void getTriggerPatchFromDsmAndChannel(
int dsm,
int chan,
int& triggerpatch);
40 static void getTriggerPatchFromSteveJetPatchAndTriggerPatch(
int jetpatch,
int triggerpatch,
int& triggerpatch2);
41 static void getFeeBoardMask(
const TDatime& date,
int* highTower);
42 static void getFeeBoardFromSteveTriggerPatch(
int triggerpatch,
int& board);