Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4InnerHcalSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4InnerHcalSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4INNERHCALSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4INNERHCALSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
class
G4Step;
9
class
G4VPhysicalVolume
;
10
class
PHCompositeNode
;
11
class
TowerInfoContainer
;
12
class
PHG4InnerHcalDetector
;
13
class
PHParameters
;
14
class
PHG4Hit
;
15
class
PHG4HitContainer
;
16
class
PHG4Shower
;
17
class
TH2;
18
19
class
PHG4InnerHcalSteppingAction
:
public
PHG4SteppingAction
20
{
21
public
:
23
PHG4InnerHcalSteppingAction
(
PHG4InnerHcalDetector
*,
const
PHParameters
*
parameters
);
24
26
~PHG4InnerHcalSteppingAction
()
override
;
27
29
bool
UserSteppingAction
(
const
G4Step *,
bool
)
override
;
30
31
int
InitWithNode
(
PHCompositeNode
*topNode)
override
;
32
34
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
35
36
void
CreateNodeTree
(
PHCompositeNode
*topNode);
37
38
private
:
39
bool
NoHitSteppingAction
(
const
G4Step *aStep);
41
PHG4InnerHcalDetector
*
m_Detector
=
nullptr
;
42
44
TH2 *
m_MapCorrHist
=
nullptr
;
45
47
PHG4HitContainer
*
m_Hits
=
nullptr
;
48
PHG4HitContainer
*
m_AbsorberHits
=
nullptr
;
49
PHG4Hit
*
m_Hit
=
nullptr
;
50
const
PHParameters
*
m_Params
=
nullptr
;
51
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
52
PHG4Shower
*
m_SaveShower
=
nullptr
;
53
G4VPhysicalVolume
*
m_SaveVolPre
=
nullptr
;
54
G4VPhysicalVolume
*
m_SaveVolPost
=
nullptr
;
55
int
m_SaveTrackId
= -1;
56
int
m_SavePreStepStatus
= -1;
57
int
m_SavePostStepStatus
= -1;
58
// since getting parameters is a map search we do not want to
59
// do this in every step, the parameters used are cached
60
// in the following variables
61
int
m_IsActive
= -1;
62
int
m_IsBlackHole
= -1;
63
int
m_LightScintModelFlag
= -1;
64
bool
m_doG4Hit
=
true
;
65
double
m_tmin
= -20.;
66
double
m_tmax
= 60.;
67
double
m_dt
= 100.;
68
TowerInfoContainer
*
m_CaloInfoContainer
=
nullptr
;
69
};
70
71
#endif // G4DETECTORS_PHG4INNERHCALSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4InnerHcalSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration