ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
G4Atlas
G4AtlasServices
src
G4AtlasStackingAction.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_G4ATLASSTACKINGACTION_H
6
#define G4ATLASTOOLS__G4UA_G4ATLASSTACKINGACTION_H
7
8
// System includes
9
#include <vector>
10
11
// Geant4 includes
12
#include "G4UserStackingAction.hh"
13
14
15
namespace
G4UA
16
{
17
28
class
G4AtlasStackingAction
:
public
G4UserStackingAction
29
{
30
31
public
:
32
34
G4AtlasStackingAction
();
35
39
G4ClassificationOfNewTrack
40
ClassifyNewTrack
(
const
G4Track* track)
override
final
;
41
44
void
NewStage
()
override
final
;
45
48
void
PrepareNewEvent
()
override
final
;
49
51
void
addAction
(G4UserStackingAction* action);
52
53
private
:
54
56
std::vector<G4UserStackingAction*>
m_actions
;
57
58
};
// class G4AtlasStackingAction
59
60
}
// namespace G4UA
61
62
#endif
G4UA::G4AtlasStackingAction::addAction
void addAction(G4UserStackingAction *action)
Add one action to the list.
Definition
G4AtlasStackingAction.cxx:60
G4UA::G4AtlasStackingAction::G4AtlasStackingAction
G4AtlasStackingAction()
Constructor.
Definition
G4AtlasStackingAction.cxx:14
G4UA::G4AtlasStackingAction::ClassifyNewTrack
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *track) override final
Geant4 method for classifying a new track.
Definition
G4AtlasStackingAction.cxx:22
G4UA::G4AtlasStackingAction::PrepareNewEvent
void PrepareNewEvent() override final
Geant4 method for stack preparation at new event.
Definition
G4AtlasStackingAction.cxx:49
G4UA::G4AtlasStackingAction::NewStage
void NewStage() override final
Geant4 method for starting a new stack.
Definition
G4AtlasStackingAction.cxx:38
G4UA::G4AtlasStackingAction::m_actions
std::vector< G4UserStackingAction * > m_actions
List of ATLAS stacking actions.
Definition
G4AtlasStackingAction.h:56
G4UA
for nSW
Definition
CalibrationDefaultProcessing.h:19
Generated on
for ATLAS Offline Software by
1.17.0