33 #include "ExGflashEventAction.hh"
34 #include "ExGflashHit.hh"
116 fAnalysisManager->
FillH1(1,n_hit + 0.5);
118 for (
int i=0;i<n_hit;i++)
120 G4double estep = (*THC)[i]->GetEdep();
137 G4int SlideNb =
G4int((longitudinal.mag()/SDRadl) / dLradl);
140 if ( SlideNb >=0 && SlideNb < nLbin) dEdL[SlideNb] += estep;
141 if ( RingNb >=0 && RingNb < nLbin)dEdR[RingNb] += estep;
145 G4double Lnorm = 100. / dLradl / Etot;
147 for (
int i=0;i<nLbin;i++)
150 fAnalysisManager->
FillP1(0,(i +0.5) * dLradl,dEdL[i] * Lnorm);
152 fAnalysisManager->
FillP1(2,(i +0.5) * dLradl,Lsum * Lnorm);
154 G4double Rnorm = 100. / dRradl / Etot;
156 for (
int i=0;i<nRbin;i++)
159 fAnalysisManager->
FillP1(1,(i +0.5) * dRradl,dEdR[i] * Rnorm);
161 fAnalysisManager->
FillP1(3,(i +0.5) * dRradl,Rsum * Rnorm);
164 fAnalysisManager->
FillH1(0,totE/Etot * 100.);