ATLAS Offline Software
Simulation
G4Atlas
G4AtlasServices
src
G4AtlasPrimaryGeneratorAction.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4ATLASTOOLS__G4UA_G4ATLASPRIMARYGENERATORACTION_H
6
#define G4ATLASTOOLS__G4UA_G4ATLASPRIMARYGENERATORACTION_H
7
8
// STL includes
9
#include <vector>
10
11
// Geant4 includes
12
#include <G4VUserPrimaryGeneratorAction.hh>
13
14
15
namespace
G4UA
16
{
17
28
class
G4AtlasPrimaryGeneratorAction
:
public
G4VUserPrimaryGeneratorAction
29
{
30
31
public
:
32
36
void
GeneratePrimaries
(G4Event* anEvent)
override
final
;
37
39
void
addPrimaryGeneratorAction
(G4VUserPrimaryGeneratorAction*
action
);
40
41
private
:
42
44
std::vector<G4VUserPrimaryGeneratorAction*>
m_actions
;
45
46
};
// class G4AtlasPrimaryGeneratorAction
47
48
}
49
50
#endif
G4UA::G4AtlasPrimaryGeneratorAction::addPrimaryGeneratorAction
void addPrimaryGeneratorAction(G4VUserPrimaryGeneratorAction *action)
Add one action to the list.
Definition:
G4AtlasPrimaryGeneratorAction.cxx:25
G4UA
for nSW
Definition:
CalibrationDefaultProcessing.h:19
G4UA::G4AtlasPrimaryGeneratorAction
ATLAS subclass of the G4 primary generator action.
Definition:
G4AtlasPrimaryGeneratorAction.h:29
G4UA::G4AtlasPrimaryGeneratorAction::GeneratePrimaries
void GeneratePrimaries(G4Event *anEvent) override final
Geant4 method for primary generation.
Definition:
G4AtlasPrimaryGeneratorAction.cxx:14
G4UA::G4AtlasPrimaryGeneratorAction::m_actions
std::vector< G4VUserPrimaryGeneratorAction * > m_actions
List of ATLAS primary generator actions.
Definition:
G4AtlasPrimaryGeneratorAction.h:44
python.CaloScaleNoiseConfig.action
action
Definition:
CaloScaleNoiseConfig.py:77
Generated on Wed Sep 3 2025 21:10:30 for ATLAS Offline Software by
1.8.18