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

#include <G4MultiEventAction.hh>

Inheritance diagram for G4MultiEventAction:
Collaboration diagram for G4MultiEventAction:

Public Member Functions

 G4MultiEventAction ()=default
 
virtual ~G4MultiEventAction () override=default
 
virtual void SetEventManager (G4EventManager *) override
 
virtual void BeginOfEventAction (const G4Event *) override
 
virtual void EndOfEventAction (const G4Event *) override
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 64 of file G4MultiEventAction.hh.

Constructor & Destructor Documentation

G4MultiEventAction::G4MultiEventAction ( )
default
virtual G4MultiEventAction::~G4MultiEventAction ( )
overridevirtualdefault

Member Function Documentation

void G4MultiEventAction::BeginOfEventAction ( const G4Event evt)
overridevirtual

Reimplemented from G4UserEventAction.

Definition at line 49 of file G4MultiEventAction.cc.

50 {
51  std::for_each( begin() , end() ,
52  [evt](G4UserEventActionUPtr& e) { e->BeginOfEventAction(evt); }
53  );
54 }
std::unique_ptr< G4UserEventAction > G4UserEventActionUPtr
void G4MultiEventAction::EndOfEventAction ( const G4Event evt)
overridevirtual

Reimplemented from G4UserEventAction.

Definition at line 56 of file G4MultiEventAction.cc.

57 {
58  std::for_each( begin() , end() ,
59  [evt](G4UserEventActionUPtr& e) { e->EndOfEventAction(evt); }
60  );
61 }
std::unique_ptr< G4UserEventAction > G4UserEventActionUPtr
void G4MultiEventAction::SetEventManager ( G4EventManager mgr)
overridevirtual

Reimplemented from G4UserEventAction.

Definition at line 42 of file G4MultiEventAction.cc.

43 {
44  std::for_each( begin() , end() ,
45  [mgr](G4UserEventActionUPtr& e) { e->SetEventManager(mgr); }
46  );
47 }
std::unique_ptr< G4UserEventAction > G4UserEventActionUPtr

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