G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
Loading...
Searching...
No Matches
G4OCCTSteppingAction Class Reference

Stepping action that records one row per G4Step into the "steps" ntuple. More...

#include <G4OCCTSteppingAction.hh>

Inheritance diagram for G4OCCTSteppingAction:

Public Member Functions

 G4OCCTSteppingAction (G4OCCTEventAction *eventAction, G4OCCTTrackingAction *trackingAction, const G4OCCTRunAction *runAction)
 
 ~G4OCCTSteppingAction () override=default
 
void UserSteppingAction (const G4Step *step) override
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ G4OCCTSteppingAction()

G4OCCTSteppingAction::G4OCCTSteppingAction ( G4OCCTEventAction eventAction,
G4OCCTTrackingAction trackingAction,
const G4OCCTRunAction runAction 
)

Definition at line 17 of file G4OCCTSteppingAction.cc.

◆ ~G4OCCTSteppingAction()

G4OCCTSteppingAction::~G4OCCTSteppingAction ( )
overridedefault

Member Function Documentation

◆ UserSteppingAction()

void G4OCCTSteppingAction::UserSteppingAction ( const G4Step *  step)
override

The documentation for this class was generated from the following files: