EIC Software
Reference for
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
PHG4TpcEndCapSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TpcEndCapSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PHG4TPCENDCAPSTEPPINGACTION_H
4
#define PHG4TPCENDCAPSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <string>
// for string
9
10
class
PHG4TpcEndCapDetector
;
11
12
class
G4Step;
13
class
G4VPhysicalVolume;
14
class
PHCompositeNode
;
15
class
PHG4Hit
;
16
class
PHG4HitContainer
;
17
class
PHParameters
;
18
19
class
PHG4TpcEndCapSteppingAction
:
public
PHG4SteppingAction
20
{
21
public
:
23
PHG4TpcEndCapSteppingAction
(
PHG4TpcEndCapDetector
*,
const
PHParameters
*
parameters
);
24
26
~PHG4TpcEndCapSteppingAction
()
override
;
27
29
bool
UserSteppingAction
(
const
G4Step*,
bool
)
override
;
30
32
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
33
34
void
SetHitNodeName
(
const
std::string& type,
const
std::string&
name
)
override
;
35
36
private
:
38
PHG4TpcEndCapDetector
*
m_Detector
=
nullptr
;
39
const
PHParameters
*
m_Params
=
nullptr
;
41
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
42
PHG4Hit
*
m_Hit
=
nullptr
;
43
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
44
G4VPhysicalVolume*
m_SaveVolPre
=
nullptr
;
45
G4VPhysicalVolume*
m_SaveVolPost
=
nullptr
;
46
47
int
m_SaveTrackId
= -1;
48
int
m_SavePreStepStatus
= -1;
49
int
m_SavePostStepStatus
= -1;
50
int
m_ActiveFlag
= 0;
51
int
m_BlackHoleFlag
= 0;
52
double
m_EdepSum
= 0.;
53
double
m_EionSum
= 0.;
54
55
std::string
m_HitNodeName
;
56
};
57
58
#endif // PHG4TPCENDCAPSTEPPINGACTION_H
fun4all_coresoftware
blob
master
simulation
g4simulation
g4tpc
PHG4TpcEndCapSteppingAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:50
using
1.8.2 with
EIC GitHub integration