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
PHG4Prototype2InnerHcalSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4Prototype2InnerHcalSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4CALOPROTOTYPE_PHG4PROTOTYPE2INNERHCALSTEPPINGACTION_H
4
#define G4CALOPROTOTYPE_PHG4PROTOTYPE2INNERHCALSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
class
G4Step;
9
class
PHCompositeNode
;
10
class
PHG4Hit
;
11
class
PHG4HitContainer
;
12
class
PHParameters
;
13
class
PHG4Prototype2InnerHcalDetector
;
14
class
PHG4Shower
;
15
16
class
PHG4Prototype2InnerHcalSteppingAction
:
public
PHG4SteppingAction
17
{
18
public
:
20
PHG4Prototype2InnerHcalSteppingAction
(
PHG4Prototype2InnerHcalDetector
*,
const
PHParameters
*
parameters
);
21
23
virtual
~PHG4Prototype2InnerHcalSteppingAction
();
24
26
virtual
bool
UserSteppingAction
(
const
G4Step *,
bool
);
27
29
virtual
void
SetInterfacePointers
(
PHCompositeNode
*);
30
31
double
GetLightCorrection
(
const
double
r
)
const
;
32
33
private
:
35
PHG4Prototype2InnerHcalDetector
*
m_Detector
;
36
38
PHG4HitContainer
*
m_HitContainer
;
39
PHG4HitContainer
*
m_AbsorberHitContainer
;
40
PHG4Hit
*
m_Hit
;
41
const
PHParameters
*
m_Params
;
42
PHG4HitContainer
*
m_SaveHitContainer
;
43
PHG4Shower
*
m_SaveShower
;
44
// since getting parameters is a map search we do not want to
45
// do this in every step, the parameters used are cached
46
// in the following variables
47
int
m_AbsorberTruthFlag
;
48
int
m_IsActiveFlag
;
49
int
m_IsBlackHoleFlag
;
50
int
m_LightScintModelFlag
;
51
52
double
m_LightBalanceInnerCorr
;
53
double
m_LightBalanceInnerRadius
;
54
double
m_LightBalanceOuterCorr
;
55
double
m_LightBalanceOuterRadius
;
56
};
57
58
#endif
prototype
blob
master
simulation
g4simulation
g4caloprototype
PHG4Prototype2InnerHcalSteppingAction.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:29
using
1.8.2 with
sPHENIX GitHub integration