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
PHG4BbcSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4BbcSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4BBCSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4BBCSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <string>
// for string
9
10
class
G4Step
;
11
class
G4VPhysicalVolume
;
12
class
PHCompositeNode
;
13
class
PHG4BbcDetector
;
14
class
PHG4Hit
;
15
class
PHG4HitContainer
;
16
class
PHParameters
;
17
18
class
PHG4BbcSteppingAction
:
public
PHG4SteppingAction
19
{
20
public
:
22
PHG4BbcSteppingAction
(
PHG4BbcDetector
*,
const
PHParameters
*);
23
25
~PHG4BbcSteppingAction
()
override
;
26
28
bool
UserSteppingAction
(
const
G4Step
*,
bool
)
override
;
29
31
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
32
33
void
SetHitNodeName
(
const
std::string& type,
const
std::string&
name
)
override
;
34
35
private
:
37
PHG4BbcDetector
*
m_Detector
=
nullptr
;
38
40
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
41
PHG4HitContainer
*
m_SupportHitContainer
=
nullptr
;
42
const
PHParameters
*
m_Params
=
nullptr
;
43
PHG4Hit
*
m_Hit
=
nullptr
;
44
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
45
46
G4VPhysicalVolume
*
m_SaveVolPre
=
nullptr
;
47
G4VPhysicalVolume
*
m_SaveVolPost
=
nullptr
;
48
49
int
m_SaveTrackId
= -1;
50
int
m_SavePreStepStatus
= -1;
51
int
m_SavePostStepStatus
= -1;
52
int
m_ActiveFlag
= 0;
53
int
m_BlackHoleFlag
= 0;
54
int
m_SupportFlag
= 0;
55
double
m_EdepSum
= 0.;
56
double
m_EionSum
= 0.;
57
double
m_PathLen
= 0.;
58
59
std::string
m_HitNodeName
;
60
std::string
m_SupportNodeName
;
61
};
62
63
#endif // G4DETECTORS_PHG4BBCSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4BbcSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration