allpix::StepInfoUserHookG4

Allows access to the info of each Geant4 step.

#include <StepInfoUserHookG4.hpp>

Inherits from G4UserSteppingAction

Public Functions

Name
StepInfoUserHookG4() =default
Default constructor.
~StepInfoUserHookG4() override =default
Default destructor.
void UserSteppingAction(const G4Step * aStep) override
Called for every step in Geant4.

Public Functions Documentation

function StepInfoUserHookG4

explicit StepInfoUserHookG4() =default

Default constructor.

function ~StepInfoUserHookG4

~StepInfoUserHookG4() override =default

Default destructor.

function UserSteppingAction

void UserSteppingAction(
    const G4Step * aStep
) override

Called for every step in Geant4.

Parameters:

  • aStep The pointer to the G4Step for which this routine is called

Updated on 2025-02-27 at 14:14:46 +0000