9 #include "StEEmcDataDrivenMcReplaceInfo.h"
13 StEEmcDataDrivenMcReplaceInfo::StEEmcDataDrivenMcReplaceInfo()
19 void StEEmcDataDrivenMcReplaceInfo::Clear(Option_t* options)
23 firstHadronPid = -999;
24 libraryShapeId = -999;
25 momentum.SetXYZ(-999, -999,-999);
29 highStripShiftU = -999;
30 highStripShiftV = -999;
32 memset(dEnergy, 0,
sizeof(dEnergy));
33 memset(totalEnergy, 0,
sizeof(totalEnergy));
34 memset(totalEnergyScaled, 0,
sizeof(totalEnergyScaled));
36 mMcHitsEsmdU->Clear();
37 mMcHitsEsmdV->Clear();
40 void StEEmcDataDrivenMcReplaceInfo::InitArrays()
42 mMcHitsEsmdU =
new TClonesArray(
"StMcCalorimeterHit",1000);
43 mMcHitsEsmdV =
new TClonesArray(
"StMcCalorimeterHit",1000);
48 TClonesArray &mMcHitsEsmdUs = *mMcHitsEsmdU;
54 TClonesArray &mMcHitsEsmdVs = *mMcHitsEsmdV;
60 TClonesArray &mMcHitsEsmdUs = *mMcHitsEsmdU;
62 mcHitEsmdU->setParentTrack(0);
68 TClonesArray &mMcHitsEsmdVs = *mMcHitsEsmdV;
70 mcHitEsmdV->setParentTrack(0);