![]() |
ATLAS Offline Software
|
ATLAS subclass of the G4 primary generator action. More...
#include <G4AtlasPrimaryGeneratorAction.h>
Public Member Functions | |
| void | GeneratePrimaries (G4Event *anEvent) override final |
| Geant4 method for primary generation. More... | |
| void | addPrimaryGeneratorAction (G4VUserPrimaryGeneratorAction *action) |
| Add one action to the list. More... | |
Private Attributes | |
| std::vector< G4VUserPrimaryGeneratorAction * > | m_actions |
| List of ATLAS primary generator actions. More... | |
ATLAS subclass of the G4 primary generator action.
Maintains a list of custom actions for primary generation and when invoked by Geant4 will forward the call to each of them in turn.
Definition at line 28 of file G4AtlasPrimaryGeneratorAction.h.
| void G4UA::G4AtlasPrimaryGeneratorAction::addPrimaryGeneratorAction | ( | G4VUserPrimaryGeneratorAction * | action | ) |
Add one action to the list.
Definition at line 25 of file G4AtlasPrimaryGeneratorAction.cxx.
|
finaloverride |
Geant4 method for primary generation.
This method forwards the G4 call onto each of its primary generator actions.
Definition at line 14 of file G4AtlasPrimaryGeneratorAction.cxx.
|
private |
List of ATLAS primary generator actions.
Definition at line 44 of file G4AtlasPrimaryGeneratorAction.h.
1.8.18