Geant4 11.1.1
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
 
virtual ~G4MultiTrackingAction () override=default
 
virtual void SetTrackingManagerPointer (G4TrackingManager *pVal) override
 
virtual void PreUserTrackingAction (const G4Track *) override
 
virtual void PostUserTrackingAction (const G4Track *) override
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()
 
virtual void SetTrackingManagerPointer (G4TrackingManager *pValue)
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager = nullptr
 

Detailed Description

Definition at line 57 of file G4MultiTrackingAction.hh.

Constructor & Destructor Documentation

◆ G4MultiTrackingAction()

G4MultiTrackingAction::G4MultiTrackingAction ( )
default

◆ ~G4MultiTrackingAction()

virtual G4MultiTrackingAction::~G4MultiTrackingAction ( )
overridevirtualdefault

Member Function Documentation

◆ PostUserTrackingAction()

void G4MultiTrackingAction::PostUserTrackingAction ( const G4Track trk)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 48 of file G4MultiTrackingAction.cc.

49{
50 std::for_each( begin(), end(),
51 [trk](G4UserTrackingActionUPtr& e) { e->PostUserTrackingAction(trk); }
52 );
53}
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( begin(), end(),
44 [trk](G4UserTrackingActionUPtr& e) { e->PreUserTrackingAction(trk); }
45 );
46}

◆ SetTrackingManagerPointer()

void G4MultiTrackingAction::SetTrackingManagerPointer ( G4TrackingManager pVal)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 34 of file G4MultiTrackingAction.cc.

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

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