34 #include "SteppingAction.hh"
35 #include "DetectorConstruction.hh"
36 #include "EventAction.hh"
38 #include "HistoManager.hh"
60 if (edep <= 0.)
return;
74 analysisManager->FillH1(1, xshifted, edep);
87 G4double xnorm = xfrontNorm + (x - xfront)/csdaRange;
88 analysisManager->FillH1(8, xnorm, edep/(csdaRange*density));
93 fEventAction->
AddEdep(iabs, edep);
99 if (track->
GetTrackID() == 1) analysisManager->FillH1(4, steplen);
101 analysisManager->FillH1(7, steplen);
G4double GetCsdaRange(G4int i)
G4ParticleDefinition * GetDefinition() const
void AddEdep(G4double Edep)
static const G4double * P1[nN]
G4double GetStepLength() const
G4double GetDensity() const
G4int GetCopyNumber(G4int depth=0) const
void UserSteppingAction(const G4Step *)
G4Material * GetAbsorMaterial(G4int i)
G4StepPoint * GetPreStepPoint() const
const G4ThreeVector & GetPosition() const
G4double GetTotalEnergyDeposit() const
static G4RunManager * GetRunManager()
G4double GetXfrontNorm(G4int i)
G4StepPoint * GetPostStepPoint() const
static const G4double * P2[nN]
Detector construction class to define materials and geometry.
G4double GetXfront(G4int i)
G4Track * GetTrack() const
G4double GetPDGCharge() const
G4CsvAnalysisManager G4AnalysisManager
G4Run * GetNonConstCurrentRun() const
const G4TouchableHandle & GetTouchableHandle() const