Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MultiSteppingAction Class Reference

#include <G4MultiSteppingAction.hh>

+ Inheritance diagram for G4MultiSteppingAction:

Public Member Functions

 G4MultiSteppingAction ()=default
 
virtual ~G4MultiSteppingAction () override=default
 
virtual void UserSteppingAction (const G4Step *) override
 
virtual void SetSteppingManagerPointer (G4SteppingManager *pVal) override
 
- Public Member Functions inherited from G4UserSteppingAction
 G4UserSteppingAction ()
 
virtual ~G4UserSteppingAction ()
 
virtual void SetSteppingManagerPointer (G4SteppingManager *pValue)
 
virtual void UserSteppingAction (const G4Step *)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserSteppingAction
G4SteppingManagerfpSteppingManager = nullptr
 

Detailed Description

Definition at line 57 of file G4MultiSteppingAction.hh.

Constructor & Destructor Documentation

◆ G4MultiSteppingAction()

G4MultiSteppingAction::G4MultiSteppingAction ( )
default

◆ ~G4MultiSteppingAction()

virtual G4MultiSteppingAction::~G4MultiSteppingAction ( )
overridevirtualdefault

Member Function Documentation

◆ SetSteppingManagerPointer()

void G4MultiSteppingAction::SetSteppingManagerPointer ( G4SteppingManager pVal)
overridevirtual

Reimplemented from G4UserSteppingAction.

Definition at line 41 of file G4MultiSteppingAction.cc.

42{
43 std::for_each( begin(), end(),
44 [pVal](G4UserSteppingActionUPtr& e) { e->SetSteppingManagerPointer(pVal); }
45 );
46}
std::unique_ptr< G4UserSteppingAction > G4UserSteppingActionUPtr

◆ UserSteppingAction()

void G4MultiSteppingAction::UserSteppingAction ( const G4Step step)
overridevirtual

Reimplemented from G4UserSteppingAction.

Definition at line 34 of file G4MultiSteppingAction.cc.

35{
36 std::for_each( begin(), end(),
37 [step](G4UserSteppingActionUPtr& e) { e->UserSteppingAction(step); }
38 );
39}

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