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
PHG4HcalSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4HcalSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4HCALSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4HCALSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <cmath>
9
10
class
G4Step
;
11
class
PHCompositeNode
;
12
class
PHG4HcalDetector
;
13
class
PHG4Hit
;
14
class
PHG4HitContainer
;
15
class
PHG4Shower
;
16
17
class
PHG4HcalSteppingAction
:
public
PHG4SteppingAction
18
{
19
public
:
21
PHG4HcalSteppingAction
(
PHG4HcalDetector
*);
22
24
~PHG4HcalSteppingAction
()
override
;
25
27
bool
UserSteppingAction
(
const
G4Step
*,
bool
)
override
;
28
30
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
31
32
void
set_zmin
(
const
float
z
) {
zmin
=
z
; }
33
void
set_zmax
(
const
float
z
) {
zmax
=
z
; }
34
35
void
SetLightScintModel
(
const
bool
b
=
true
)
36
{
37
light_scint_model_
=
b
;
38
}
39
40
private
:
42
PHG4HcalDetector
*
detector_
;
43
45
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
46
PHG4HitContainer
*
m_AbsorberHits
=
nullptr
;
47
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
48
PHG4Hit
*
m_Hit
=
nullptr
;
49
PHG4Shower
*
m_SaveShower
=
nullptr
;
50
float
zmin
= NAN;
51
float
zmax
= NAN;
52
53
bool
light_scint_model_
=
true
;
54
};
55
56
#endif // PHG4VHcalSteppingAction_h
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4HcalSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:41
using
1.8.2 with
ECCE GitHub integration