ATLAS Offline Software
Simulation
G4Atlas
G4AtlasServices
src
G4AtlasSteppingAction.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Local includes
6
#include "
G4AtlasSteppingAction.h
"
7
8
namespace
G4UA
9
{
10
11
//---------------------------------------------------------------------------
12
// Constructor
13
//---------------------------------------------------------------------------
14
G4AtlasSteppingAction::G4AtlasSteppingAction
()
15
{
16
}
17
18
//---------------------------------------------------------------------------
19
// Process one step
20
//---------------------------------------------------------------------------
21
void
G4AtlasSteppingAction::UserSteppingAction
(
const
G4Step*
step
)
22
{
23
// Loop over my actions and apply each one in turn
24
for
(
auto
action
:
m_actions
){
25
action
->UserSteppingAction(
step
);
26
}
27
}
28
29
//---------------------------------------------------------------------------
30
// Add one action to the action list
31
//---------------------------------------------------------------------------
32
void
G4AtlasSteppingAction::addAction
(G4UserSteppingAction*
action
)
33
{
34
m_actions
.push_back(
action
);
35
}
36
37
}
// namespace G4UA
G4UA::G4AtlasSteppingAction::UserSteppingAction
void UserSteppingAction(const G4Step *step) override final
Geant4 method for processing one step.
Definition:
G4AtlasSteppingAction.cxx:21
G4UA
for nSW
Definition:
CalibrationDefaultProcessing.h:19
G4UA::G4AtlasSteppingAction::m_actions
std::vector< G4UserSteppingAction * > m_actions
List of ATLAS stepping actions.
Definition:
G4AtlasSteppingAction.h:45
G4AtlasSteppingAction.h
G4UA::G4AtlasSteppingAction::addAction
void addAction(G4UserSteppingAction *action)
Add one action to the list.
Definition:
G4AtlasSteppingAction.cxx:32
G4UA::G4AtlasSteppingAction::G4AtlasSteppingAction
G4AtlasSteppingAction()
Constructor.
Definition:
G4AtlasSteppingAction.cxx:14
python.CaloScaleNoiseConfig.action
action
Definition:
CaloScaleNoiseConfig.py:77
LArCellBinning.step
step
Definition:
LArCellBinning.py:158
Generated on Fri Jan 10 2025 21:10:32 for ATLAS Offline Software by
1.8.18