13 #ifndef ST_EEMC_DATA_DRIVEN_MC_MAKER_H
14 #define ST_EEMC_DATA_DRIVEN_MC_MAKER_H
24 class StEEmcSmdResponse;
46 void Clear(Option_t* option =
"");
48 int InitRun(
int runNumber);
53 void SetLibraryFile(
const char* filename);
54 void SetLogFileName(
const char* filename);
55 void SetNumberOfStripsReplaced(
int n);
57 void SetShowerShapeScalingMethod(
int id);
64 void UsePed(
bool value =
true) { mUsePed = value; }
67 enum { NUMBER_OF_ENERGY_BINS = 2, NUMBER_OF_PRESHOWER_BINS = 4 };
71 bool multiSector(
const vector<StMcCalorimeterHit*>& hits)
const;
75 float GetShowerShapeScale(
StMcTrack *mcTrack,
StEEmcShowerShape* showerShape,
int sector,
int plane,
int geantPhotonCentralStrip);
78 float mPed[12][2][288];
79 float mGain[12][2][288];
96 TClonesArray* mShowerShapes[2][4];
101 int mNumberOfStripsReplaced;
102 int mShowerShapeScalingMethod;
103 map<StEEmcShowerShape*, int> mLibraryMap;
111 return mDataDrivenMcEventInfo;
114 inline void StEEmcDataDrivenMcMaker::SetLibraryFile(
const char* filename)
116 mLibraryFile = filename;
119 inline void StEEmcDataDrivenMcMaker::SetLogFileName(
const char* filename)
121 mLogFileName = filename;
124 inline void StEEmcDataDrivenMcMaker::SetNumberOfStripsReplaced(
int n)
126 mNumberOfStripsReplaced = n;
129 inline void StEEmcDataDrivenMcMaker::SetShowerShapeScalingMethod(
int id)
131 mShowerShapeScalingMethod = id;
134 #endif // ST_EEMC_DATA_DRIVEN_MC_MAKER_H
EEmc ADC –> energy maker.
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
void Clear(Option_t *option="")
User defined functions.
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...