34 #include "EventAction.hh"
37 #include "HistoManager.hh"
47 fTrakLenCharged(0.), fTrakLenNeutral(0.),
48 fNbStepsCharged(0), fNbStepsNeutral(0),
49 fTransmitFlag(0), fReflectFlag(0)
63 fTrakLenCharged = fTrakLenNeutral = 0.;
64 fNbStepsCharged = fNbStepsNeutral = 0;
65 fTransmitFlag = fReflectFlag = 0;
72 Run* run =
static_cast<Run*
>(
85 if (fEnergyDeposit > 0.)
86 G4AnalysisManager::Instance()->FillH1(1,fEnergyDeposit);
void AddEnergy(G4double edep)
void BeginOfEventAction(const G4Event *)
void AddTrakLenCharg(G4double length)
void AddTrakLenNeutr(G4double length)
void EndOfEventAction(const G4Event *)
static G4RunManager * GetRunManager()
void CountStepsNeutr(G4int nSteps)
void CountStepsCharg(G4int nSteps)
G4Run * GetNonConstCurrentRun() const
void CountTransmit(G4int flag)
void CountReflect(G4int flag)