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