34 #include "SteppingAction.hh"
35 #include "RunAction.hh"
40 #include "HistoManager.hh"
60 if (process == 0) {
return; }
62 static G4int iCalled=0;
73 size_t lp=(*secondary).size();
76 G4double Egamma = (*secondary)[lp-1]->GetTotalEnergy();
94 <<
" Step Length=" << std::setw(6)
98 <<
" IsGamma=" << IsGamma
101 <<
" #secondaries lp=" << lp
106 analysisManager->FillH1(1,Egamma);
109 analysisManager->FillH1(2,Egamma,Egamma/
keV);
G4double GetTotalEnergy() const
CLHEP::Hep3Vector G4ThreeVector
G4double GetStepLength() const
const G4TrackVector * GetSecondary() const
G4ThreeVector GetMomentum() const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void UserSteppingAction(const G4Step *)
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
G4SteppingManager * fpSteppingManager
ExG4HbookAnalysisManager G4AnalysisManager
G4double f_e_gam_sync_max
const G4String & GetProcessName() const
const G4VProcess * GetProcessDefinedStep() const
std::vector< G4Track * > G4TrackVector
G4StepPoint * GetPostStepPoint() const
G4int GetProcessSubType() const