34 #include "StackingAction.hh"
36 #include "DetectorConstruction.hh"
37 #include "RunAction.hh"
38 #include "HistoManager.hh"
39 #include "StackingMessenger.hh"
47 :fDetector(det),fRunAction(run),fStackMessenger(0)
64 delete fStackMessenger;
96 G4double safe = std::abs(position) - fZcav;
99 if (range < 0.8*safe) status =
fKill;
105 analysisManager->FillH1(1,position);
106 analysisManager->FillH1(2,energy);
108 analysisManager->FillH1(3,std::acos(direction.
z()));
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
void sumEsecond(G4double e)
G4Material * GetWallMaterial()
const G4ThreeVector & GetPosition() const
G4double GetKineticEnergy() const
const G4ParticleDefinition const G4Material *G4double range
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *)
G4double GetRangeFromRestricteDEDX(G4double kinEnergy, const G4ParticleDefinition *, const G4Material *, const G4Region *r=0)
ExG4HbookAnalysisManager G4AnalysisManager
G4double GetCavityThickness()
const G4ThreeVector & GetMomentumDirection() const
G4ClassificationOfNewTrack
G4double GetPDGCharge() const