13 #endif //#ifdef _WITHGBATCH_
19 printf(
"In myEcalShower::myEcalShower\n");
28 printf(
"In myEcalShower::~myEcalShower\n");
36 printf(
"In myEcalShower::Clear\n");
55 EnergyE2014 = -0.0000001;
64 CorrectedEnergyElectrons = -9999999;
65 CorrectedEnergyPhotons = -9999999;
72 printf(
"In myEcalShower::init\n");
82 if (method==2 && partid==2)
return CorrectedEnergyElectrons;
83 else if (method==2 && partid==1)
return CorrectedEnergyPhotons;
85 printf(
"Only result of method 2 and for partid 1 and 2 has been saved, returning 0.0...\n");
95 myEcalShowerFiller::myEcalShowerFiller(){
97 printf(
"In myEcalShowerFiller::myEcalShowerFiller\n");
104 myEcalShowerFiller::~myEcalShowerFiller(){
106 printf(
"In myEcalShowerFiller::~myEcalShowerFiller\n");
112 void myEcalShowerFiller::Clear(Option_t* option){
114 printf(
"In myEcalShowerFiller::Clear\n");
122 void myEcalShowerFiller::init(){
124 printf(
"In myEcalShowerFiller::init\n");
132 void myEcalShowerFiller::Fill(EcalShowerR* _shower){
134 printf(
"In myEventFiller::Fill\n");
147 copy_n(shower->Dir, 3, Dir);
148 copy_n(shower->CofG, 3, CofG);
149 copy_n(shower->DirCR, 3, DirCR);
150 copy_n(shower->CofGCR, 3, CofGCR);
151 copy_n(shower->Entry, 3, Entry);
152 copy_n(shower->Exit, 3, Exit);
154 Status=shower->Status;
157 EnergyD=shower->EnergyD;
158 EnergyC=shower->EnergyC;
159 EnergyE=shower->EnergyE;
160 #if !defined _B524_ && !defined _B530_ && !defined _B538_ && !defined _B550_ && !defined _B572_ && !defined _B580_ && !defined _B584_ && !defined _B594_ && !defined _B598_ && !defined _B610_ && !defined _B620_ && !defined _B630_
161 EnergyE2014=shower->EnergyE2014;
163 EnergyA=shower->EnergyA;
164 EnergyF=shower->EnergyF;
166 DispLat = shower->ShowerLatDisp[0]/18;
167 DispLatX = shower->ShowerLatDisp[1]/8;
168 DispLatY = shower->ShowerLatDisp[2]/10;
171 S35RaX=shower->S35Ra[0];
172 S35RaY=shower->S35Ra[1];
174 MaxS=shower->ParProfile[1];
176 CorrectedEnergyElectrons = shower->GetCorrectedEnergy(2,2);
177 CorrectedEnergyPhotons = shower->GetCorrectedEnergy(1,2);
186 #endif //#ifdef _WITHGBATCH_