ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasServices
src
G4AtlasEventAction.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4ATLASTOOLS__G4UA_G4ATLASEVENTACTION_H
6
#define G4ATLASTOOLS__G4UA_G4ATLASEVENTACTION_H
7
8
// STL includes
9
#include <vector>
10
11
// Geant4 includes
12
#include "G4UserEventAction.hh"
13
14
15
namespace
G4UA
16
{
17
28
class
G4AtlasEventAction
:
public
G4UserEventAction
29
{
30
31
public
:
32
34
G4AtlasEventAction
();
35
39
void
BeginOfEventAction
(
const
G4Event* event)
override
final
;
40
44
void
EndOfEventAction
(
const
G4Event* event)
override
final
;
45
47
void
addEventAction
(G4UserEventAction* action);
48
49
private
:
50
52
std::vector<G4UserEventAction*>
m_eventActions
;
53
54
};
// class G4AtlasEventAction
55
56
}
57
58
#endif
G4UA::G4AtlasEventAction::BeginOfEventAction
void BeginOfEventAction(const G4Event *event) override final
Geant4 method for pre-event action.
Definition
G4AtlasEventAction.cxx:23
G4UA::G4AtlasEventAction::m_eventActions
std::vector< G4UserEventAction * > m_eventActions
List of ATLAS event actions.
Definition
G4AtlasEventAction.h:52
G4UA::G4AtlasEventAction::addEventAction
void addEventAction(G4UserEventAction *action)
Add one action to the list.
Definition
G4AtlasEventAction.cxx:59
G4UA::G4AtlasEventAction::EndOfEventAction
void EndOfEventAction(const G4Event *event) override final
Geant4 method for post-event action.
Definition
G4AtlasEventAction.cxx:41
G4UA::G4AtlasEventAction::G4AtlasEventAction
G4AtlasEventAction()
Constructor.
Definition
G4AtlasEventAction.cxx:16
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
Generated on
for ATLAS Offline Software by
1.17.0