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

#include <G4MultiTrackingAction.hh>

+ Inheritance diagram for G4MultiTrackingAction:

Public Member Functions

 G4MultiTrackingAction ()=default
 
 ~G4MultiTrackingAction () override=default
 
void SetTrackingManagerPointer (G4TrackingManager *pVal) override
 
void PreUserTrackingAction (const G4Track *) override
 
void PostUserTrackingAction (const G4Track *) override
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()=default
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager = nullptr
 

Detailed Description

Definition at line 58 of file G4MultiTrackingAction.hh.

Constructor & Destructor Documentation

◆ G4MultiTrackingAction()

G4MultiTrackingAction::G4MultiTrackingAction ( )
default

◆ ~G4MultiTrackingAction()

G4MultiTrackingAction::~G4MultiTrackingAction ( )
overridedefault

Member Function Documentation

◆ PostUserTrackingAction()

void G4MultiTrackingAction::PostUserTrackingAction ( const G4Track * trk)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 47 of file G4MultiTrackingAction.cc.

48{
49 std::for_each(
50 begin(), end(), [trk](G4UserTrackingActionUPtr& e) { e->PostUserTrackingAction(trk); });
51}
std::unique_ptr< G4UserTrackingAction > G4UserTrackingActionUPtr

◆ PreUserTrackingAction()

void G4MultiTrackingAction::PreUserTrackingAction ( const G4Track * trk)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 41 of file G4MultiTrackingAction.cc.

42{
43 std::for_each(
44 begin(), end(), [trk](G4UserTrackingActionUPtr& e) { e->PreUserTrackingAction(trk); });
45}

◆ SetTrackingManagerPointer()

void G4MultiTrackingAction::SetTrackingManagerPointer ( G4TrackingManager * pVal)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 35 of file G4MultiTrackingAction.cc.

36{
37 std::for_each(
38 begin(), end(), [pVal](G4UserTrackingActionUPtr& e) { e->SetTrackingManagerPointer(pVal); });
39}

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