|
G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
|
Stepping action that records one row per G4Step into the "steps" ntuple. More...
#include <G4OCCTSteppingAction.hh>
Public Member Functions | |
| G4OCCTSteppingAction (G4OCCTEventAction *eventAction, G4OCCTTrackingAction *trackingAction, const G4OCCTRunAction *runAction) | |
| ~G4OCCTSteppingAction () override=default | |
| void | UserSteppingAction (const G4Step *step) override |
Stepping action that records one row per G4Step into the "steps" ntuple.
Columns written per step: EventID, TrackID, StepNo, VolumeName, ParticleName, Edep [MeV], StepLength [mm], X [mm], Y [mm], Z [mm]
Also notifies G4OCCTEventAction (total Edep and step length) and G4OCCTTrackingAction (per-track Edep accumulation).
Definition at line 26 of file G4OCCTSteppingAction.hh.
| G4OCCTSteppingAction::G4OCCTSteppingAction | ( | G4OCCTEventAction * | eventAction, |
| G4OCCTTrackingAction * | trackingAction, | ||
| const G4OCCTRunAction * | runAction | ||
| ) |
Definition at line 17 of file G4OCCTSteppingAction.cc.
|
overridedefault |
|
override |
Definition at line 22 of file G4OCCTSteppingAction.cc.
References G4OCCTTrackingAction::AddEdepToCurrentTrack(), G4OCCTEventAction::AddStep(), G4OCCTEventAction::GetEventId(), and G4OCCTRunAction::GetStepsNtupleId().