Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
simulation
g4simulation
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4ihcal
PHG4IHCalDetector.cc
PHG4IHCalDetector.h
PHG4IHCalDisplayAction.cc
PHG4IHCalDisplayAction.h
PHG4IHCalSteppingAction.cc
PHG4IHCalSteppingAction.h
PHG4IHCalSubsystem.cc
PHG4IHCalSubsystem.h
g4intt
g4jets
g4main
g4micromegas
g4mvtx
g4ohcal
g4tpc
g4trackfastsim
g4tracking
g4vertex
g4waveformsim
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4IHCalSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4IHCalSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4IHCAL_PHG4IHCALSTEPPINGACTION_H
4
#define G4IHCAL_PHG4IHCALSTEPPINGACTION_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
TowerInfoContainer
;
14
class
PHG4IHCalDetector
;
15
class
PHParameters
;
16
class
PHG4Hit
;
17
class
PHG4HitContainer
;
18
class
PHG4Shower
;
19
class
TH2;
20
21
class
PHG4IHCalSteppingAction
:
public
PHG4SteppingAction
22
{
23
public
:
25
PHG4IHCalSteppingAction
(
PHG4IHCalDetector
*,
const
PHParameters
*
parameters
);
26
28
~PHG4IHCalSteppingAction
()
override
;
29
31
bool
UserSteppingAction
(
const
G4Step *,
bool
)
override
;
32
33
int
InitWithNode
(
PHCompositeNode
*topNode)
override
;
34
36
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
37
38
void
SetHitNodeName
(
const
std::string
&
type
,
const
std::string
&
name
)
override
;
39
40
void
CreateNodeTree
(
PHCompositeNode
*topNode);
41
42
private
:
43
bool
NoHitSteppingAction
(
const
G4Step *aStep);
45
PHG4IHCalDetector
*
m_Detector
=
nullptr
;
46
48
TH2 *
m_MapCorrHist
=
nullptr
;
49
51
PHG4HitContainer
*
m_HitContainer
=
nullptr
;
52
PHG4HitContainer
*
m_AbsorberHitContainer
=
nullptr
;
53
PHG4Hit
*
m_Hit
=
nullptr
;
54
const
PHParameters
*
m_Params
=
nullptr
;
55
PHG4HitContainer
*
m_SaveHitContainer
=
nullptr
;
56
PHG4Shower
*
m_SaveShower
=
nullptr
;
57
G4VPhysicalVolume
*
m_SaveVolPre
=
nullptr
;
58
G4VPhysicalVolume
*
m_SaveVolPost
=
nullptr
;
59
int
m_SaveTrackId
= -1;
60
int
m_SavePreStepStatus
= -1;
61
int
m_SavePostStepStatus
= -1;
62
// since getting parameters is a map search we do not want to
63
// do this in every step, the parameters used are cached
64
// in the following variables
65
int
m_IsActive
= 0;
66
int
m_IsBlackHole
= 0;
67
int
m_LightScintModelFlag
= 0;
68
bool
m_doG4Hit
=
true
;
69
double
m_tmin
= -20.;
70
double
m_tmax
= 60.;
71
double
m_dt
= 100.;
72
73
std::string
m_AbsorberNodeName
;
74
std::string
m_HitNodeName
;
75
76
TowerInfoContainer
*
m_CaloInfoContainer
=
nullptr
;
77
};
78
79
#endif // G4IHCAL_PHG4IHCALSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4ihcal
PHG4IHCalSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration