34 #include "StackingAction.hh"
37 #include "EventAction.hh"
38 #include "HistoManager.hh"
39 #include "StackingMessenger.hh"
48 fKillSecondary(0),fStackMessenger(0)
57 delete fStackMessenger;
72 Run* run =
static_cast<Run*
>(
83 analysisManager->FillH1(2,energy);
84 analysisManager->FillH1(4,energy);
88 analysisManager->FillH1(3,energy);
89 analysisManager->FillH1(5,energy);
95 if (fKillSecondary == 1) {
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
void AddEnergy(G4double edep)
G4double GetKineticEnergy() const
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *)
ExG4HbookAnalysisManager G4AnalysisManager
void CountParticles(G4ParticleDefinition *part)
static G4RunManager * GetRunManager()
G4ClassificationOfNewTrack
G4double GetPDGCharge() const
G4Run * GetNonConstCurrentRun() const