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
EICG4RPSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EICG4RPSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef EICG4RPSTEPPINGACTION_H
4
#define EICG4RPSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
#include <string>
8
9
class
EICG4RPDetector
;
10
class
EICG4RPSubsystem
;
11
12
class
G4Step
;
13
class
G4VPhysicalVolume
;
14
class
PHCompositeNode
;
15
class
PHG4Hit
;
16
class
PHG4Shower
;
17
class
PHG4HitContainer
;
18
class
PHParameters
;
19
20
class
EICG4RPSteppingAction
:
public
PHG4SteppingAction
21
{
22
public
:
24
EICG4RPSteppingAction
(
EICG4RPSubsystem
* subsys,
EICG4RPDetector
* detector,
const
PHParameters
*
parameters
);
25
27
virtual
~EICG4RPSteppingAction
()
override
;
28
30
virtual
bool
UserSteppingAction
(
const
G4Step
*,
bool
)
override
;
31
33
virtual
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
34
35
virtual
void
SaveLightYield
(
const
int
i = 1) {
m_SaveLightYieldFlag
= i; }
36
37
virtual
bool
hasMotherSubsystem
()
const
;
38
39
virtual
void
SaveAllHits
(
bool
i =
true
) {
m_SaveAllHitsFlag
= i; }
40
41
virtual
void
HitNodeName
(
const
std::string&
name
) {
m_HitNodeName
=
name
; }
42
virtual
void
HitNodeNameVirt
(
const
std::string&
name
) {
m_HitNodeNameVirt
=
name
; }
43
44
private
:
46
EICG4RPSubsystem
*
m_Subsystem
;
47
EICG4RPDetector
*
m_Detector
;
48
49
const
PHParameters
*
m_Params
;
51
PHG4HitContainer
*
m_HitContainer
;
52
PHG4HitContainer
*
m_HitContainerVirt
;
53
PHG4Hit
*
m_Hit
;
54
PHG4Shower
*
m_SaveShower
;
55
G4VPhysicalVolume
*
m_SaveVolPre
;
56
G4VPhysicalVolume
*
m_SaveVolPost
;
57
58
bool
m_SaveAllHitsFlag
=
false
;
59
int
m_SaveLightYieldFlag
;
60
int
m_SaveTrackId
;
61
int
m_SavePreStepStatus
;
62
int
m_SavePostStepStatus
;
63
int
m_ActiveFlag
;
64
int
m_BlackHoleFlag
;
65
int
m_UseG4StepsFlag
;
66
double
m_Zmin
;
67
double
m_Zmax
;
68
double
m_Tmin
;
69
double
m_Tmax
;
70
double
m_EdepSum
;
71
double
m_EabsSum
;
72
double
m_EionSum
;
73
std::string
m_HitNodeName
;
74
std::string
m_HitNodeNameVirt
;
75
};
76
77
#endif // EICG4RPSTEPPINGACTION_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4rp
EICG4RPSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:48
using
1.8.2 with
ECCE GitHub integration