ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4PhenixStackingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4PhenixStackingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4MAIN_PHG4PHENIXSTACKINGACTION_H
4
#define G4MAIN_PHG4PHENIXSTACKINGACTION_H
5
6
#include <Geant4/G4UserStackingAction.hh>
7
8
#include <list>
9
10
class
G4Step
;
11
class
PHG4StackingAction
;
12
13
class
PHG4PhenixStackingAction
:
public
G4UserStackingAction
14
{
15
16
public
:
17
PHG4PhenixStackingAction
(
void
)
18
{}
19
20
~PHG4PhenixStackingAction
()
override
;
21
22
24
void
AddAction
(
PHG4StackingAction
* action )
25
{
26
if
(action)
27
{
28
actions_
.push_back( action );
29
}
30
}
31
32
G4ClassificationOfNewTrack
ClassifyNewTrack
(
const
G4Track
* aTrack)
override
;
33
void
PrepareNewEvent
()
override
;
34
35
private
:
36
38
typedef
std::list<PHG4StackingAction*>
ActionList
;
39
ActionList
actions_
;
40
41
};
42
43
44
#endif
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4PhenixStackingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:44
using
1.8.2 with
ECCE GitHub integration