34 #include "SteppingAction.hh"
35 #include "DetectorConstruction.hh"
36 #include "EventAction.hh"
38 #include "HistoManager.hh"
60 if (edep <= 0.)
return;
75 analysisManager->FillH1(1, xshifted, edep);
88 G4double xnorm = xfrontNorm + (x - xfront)/csdaRange;
89 analysisManager->FillH1(8, xnorm, edep/(csdaRange*density));
100 if (track->
GetTrackID() == 1) analysisManager->FillH1(4, steplen);
102 analysisManager->FillH1(7, steplen);
static G4RunManager * GetRunManager()
const DetectorConstruction * fDetector
G4double GetXfront(G4int i)
G4StepPoint * GetPreStepPoint() const
static const G4double * P2[nN]
G4double GetPDGCharge() const
G4double GetCsdaRange(G4int i)
G4ParticleDefinition * GetDefinition() const
G4Material * GetAbsorMaterial(G4int i)
const G4TouchableHandle & GetTouchableHandle() const
G4double GetStepLength() const
const G4ThreeVector & GetPosition() const
G4Track * GetTrack() const
G4double GetTotalEnergyDeposit() const
G4CsvAnalysisManager G4AnalysisManager
G4StepPoint * GetPostStepPoint() const
void AddEdep(G4double Edep)
void UserSteppingAction(const G4Step *)
G4int GetCopyNumber(G4int depth=0) const
G4Run * GetNonConstCurrentRun() const
static const G4double * P1[nN]
G4double GetXfrontNorm(G4int i)
EventAction * fEventAction
Simple detector construction with a box volume placed in a world.
G4double GetDensity() const