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
PHG4TpcSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TpcSteppingAction.h
1
#ifndef G4TPC_PHG4VTPCSTEPPINGACTION_H
2
#define G4TPC_PHG4VTPCSTEPPINGACTION_H
3
4
#include <
g4main/PHG4SteppingAction.h
>
5
6
class
G4Step
;
7
class
G4VPhysicalVolume
;
8
class
PHCompositeNode
;
9
class
PHG4TpcDetector
;
10
class
PHG4Hit
;
11
class
PHG4HitContainer
;
12
class
PHG4Shower
;
13
class
PHParameters
;
14
15
class
PHG4TpcSteppingAction
:
public
PHG4SteppingAction
16
{
17
public
:
19
PHG4TpcSteppingAction
(
PHG4TpcDetector
*,
const
PHParameters
*
parameters
);
20
22
~PHG4TpcSteppingAction
()
override
;
23
25
bool
UserSteppingAction
(
const
G4Step
*,
bool
)
override
;
26
28
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
29
30
void
SetHitNodeName
(
const
std::string& type,
const
std::string&
name
)
override
;
31
32
private
:
34
PHG4TpcDetector
*
m_Detector
=
nullptr
;
35
37
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
38
PHG4HitContainer
*
m_AbsorberHitContainer
=
nullptr
;
39
PHG4Hit
*
m_Hit
=
nullptr
;
40
const
PHParameters
*
m_Params
=
nullptr
;
41
PHG4HitContainer
*
m_CurrentHitContainer
=
nullptr
;
42
PHG4Shower
*
m_Shower
=
nullptr
;
43
G4VPhysicalVolume
*
m_SaveVolPre
=
nullptr
;
44
G4VPhysicalVolume
*
m_SaveVolPost
=
nullptr
;
45
int
m_SaveTrackId
= -1;
46
int
m_SavePreStepStatus
= -1;
47
int
m_SavePostStepStatus
= -1;
48
// since getting parameters is a map search we do not want to
49
// do this in every step, the parameters used are cached
50
// in the following variables
51
int
m_IsBlackHoleFlag
= 0;
52
int
m_UseG4StepsFlag
= 0;
53
54
std::string
m_HitNodeName
;
55
std::string
m_AbsorberNodeName
;
56
};
57
58
#endif // G4TPC_PHG4TPCSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4tpc
PHG4TpcSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration