ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasServices
src
G4AtlasSteppingAction.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_G4ATLASSTEPPINGACTION_H
6
#define G4ATLASTOOLS__G4UA_G4ATLASSTEPPINGACTION_H
7
8
// System includes
9
#include <vector>
10
11
// Geant4 includes
12
#include "G4UserSteppingAction.hh"
13
14
15
namespace
G4UA
16
{
17
28
class
G4AtlasSteppingAction
:
public
G4UserSteppingAction
29
{
30
31
public
:
32
34
G4AtlasSteppingAction
();
35
39
void
UserSteppingAction
(
const
G4Step* step)
override
final
;
40
42
void
addAction
(G4UserSteppingAction* action);
43
45
std::vector<G4UserSteppingAction*>&
getActions
(){
return
m_actions
; };
46
47
private
:
48
50
std::vector<G4UserSteppingAction*>
m_actions
;
51
52
};
// class G4AtlasSteppingAction
53
54
}
// namespace G4UA
55
56
#endif
G4UA::G4AtlasSteppingAction::addAction
void addAction(G4UserSteppingAction *action)
Add one action to the list.
Definition
G4AtlasSteppingAction.cxx:32
G4UA::G4AtlasSteppingAction::UserSteppingAction
void UserSteppingAction(const G4Step *step) override final
Geant4 method for processing one step.
Definition
G4AtlasSteppingAction.cxx:21
G4UA::G4AtlasSteppingAction::getActions
std::vector< G4UserSteppingAction * > & getActions()
Return the actions vector.
Definition
G4AtlasSteppingAction.h:45
G4UA::G4AtlasSteppingAction::G4AtlasSteppingAction
G4AtlasSteppingAction()
Constructor.
Definition
G4AtlasSteppingAction.cxx:14
G4UA::G4AtlasSteppingAction::m_actions
std::vector< G4UserSteppingAction * > m_actions
List of ATLAS stepping actions.
Definition
G4AtlasSteppingAction.h:50
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
Generated on
for ATLAS Offline Software by
1.17.0