Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4MultiTrackingAction Class Reference

#include <G4MultiTrackingAction.hh>

Inheritance diagram for G4MultiTrackingAction:
Collaboration diagram for G4MultiTrackingAction:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 63 of file G4MultiTrackingAction.hh.

Constructor & Destructor Documentation

G4MultiTrackingAction::G4MultiTrackingAction ( )
default
virtual G4MultiTrackingAction::~G4MultiTrackingAction ( )
overridevirtualdefault

Member Function Documentation

void G4MultiTrackingAction::PostUserTrackingAction ( const G4Track trk)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 51 of file G4MultiTrackingAction.cc.

51  {
52  std::for_each( begin(), end() ,
53  [trk](G4UserTrackingActionUPtr& e) { e->PostUserTrackingAction(trk); }
54  );
55 }
std::unique_ptr< G4UserTrackingAction > G4UserTrackingActionUPtr
void G4MultiTrackingAction::PreUserTrackingAction ( const G4Track trk)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 45 of file G4MultiTrackingAction.cc.

45  {
46  std::for_each( begin(), end() ,
47  [trk](G4UserTrackingActionUPtr& e) { e->PreUserTrackingAction(trk); }
48  );
49 }
std::unique_ptr< G4UserTrackingAction > G4UserTrackingActionUPtr
void G4MultiTrackingAction::SetTrackingManagerPointer ( G4TrackingManager pValue)
overridevirtual

Reimplemented from G4UserTrackingAction.

Definition at line 39 of file G4MultiTrackingAction.cc.

39  {
40  std::for_each( begin(), end() ,
41  [pValue](G4UserTrackingActionUPtr& e) { e->SetTrackingManagerPointer(pValue); }
42  );
43 }
std::unique_ptr< G4UserTrackingAction > G4UserTrackingActionUPtr

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