ATLAS Offline Software
Loading...
Searching...
No Matches
G4AtlasRunAction.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_G4ATLASRUNACTION_H
6#define G4ATLASTOOLS__G4UA_G4ATLASRUNACTION_H
7
8// STL includes
9#include <vector>
10
11// Geant4 includes
12#include "G4UserRunAction.hh"
13
14
15namespace G4UA
16{
17
28 class G4AtlasRunAction : public G4UserRunAction
29 {
30
31 public:
32
35
39 void BeginOfRunAction(const G4Run* run) override final;
40
44 void EndOfRunAction(const G4Run* run) override final;
45
47 void addRunAction(G4UserRunAction* action);
48
49 private:
50
52 std::vector<G4UserRunAction*> m_runActions;
53
54 }; // class G4AtlasRunAction
55
56}
57
58#endif
std::vector< G4UserRunAction * > m_runActions
List of ATLAS run actions.
void addRunAction(G4UserRunAction *action)
Add one action to the list.
void BeginOfRunAction(const G4Run *run) override final
Geant4 method for pre-run action.
void EndOfRunAction(const G4Run *run) override final
Geant4 method for post-run action.
Definition run.py:1