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
PHG4ForwardHcalSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ForwardHcalSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FORWARDHCALSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4FORWARDHCALSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <Geant4/G4TouchableHandle.hh>
9
10
class
G4Step;
11
class
G4VPhysicalVolume;
12
class
PHCompositeNode
;
13
class
PHG4ForwardHcalDetector
;
14
class
PHG4Hit
;
15
class
PHG4HitContainer
;
16
class
PHG4Shower
;
17
class
PHParameters
;
18
19
class
PHG4ForwardHcalSteppingAction
:
public
PHG4SteppingAction
20
{
21
using
PHG4SteppingAction::SetHitNodeName
;
22
public
:
24
PHG4ForwardHcalSteppingAction
(
PHG4ForwardHcalDetector
*,
const
PHParameters
*
parameters
);
25
27
virtual
~PHG4ForwardHcalSteppingAction
();
28
30
bool
UserSteppingAction
(
const
G4Step*,
bool
)
override
;
31
33
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
34
35
void
SetHitNodeName
(
const
std::string& nam) {
m_HitNodeName
= nam; }
36
void
SetAbsorberNodeName
(
const
std::string& nam) {
m_AbsorberNodeName
= nam; }
37
void
SetSupportNodeName
(
const
std::string& nam) {
m_SupportNodeName
= nam; }
38
39
private
:
41
PHG4ForwardHcalDetector
*
m_Detector
=
nullptr
;
42
44
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
45
PHG4HitContainer
*
m_AbsorberHitContainer
=
nullptr
;
46
PHG4HitContainer
*
m_SupportHitContainer
=
nullptr
;
47
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
48
PHG4Hit
*
m_Hit
=
nullptr
;
49
PHG4Shower
*
m_SaveShower
=
nullptr
;
50
51
int
m_ActiveFlag
= 0;
52
int
m_AbsorberTruthFlag
= 0;
53
int
m_SupportTruthFlag
= 0;
54
int
m_BlackHoleFlag
= 0;
55
56
std::string
m_HitNodeName
;
57
std::string
m_AbsorberNodeName
;
58
std::string
m_SupportNodeName
;
59
};
60
61
#endif // G4DETECTORS_PHG4FORWARDHCALSTEPPINGACTION_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4ForwardHcalSteppingAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:52
using
1.8.2 with
EIC GitHub integration