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
PHG4OuterHcalSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4OuterHcalSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4OUTERHCALSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4OUTERHCALSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
class
G4Step
;
9
class
G4VPhysicalVolume
;
10
class
PHCompositeNode
;
11
class
PHG4OuterHcalDetector
;
12
class
PHParameters
;
13
class
PHG4Hit
;
14
class
PHG4HitContainer
;
15
class
PHG4Shower
;
16
17
class
PHG4OuterHcalSteppingAction
:
public
PHG4SteppingAction
18
{
19
public
:
21
PHG4OuterHcalSteppingAction
(
PHG4OuterHcalDetector
*,
const
PHParameters
*
parameters
);
22
24
~PHG4OuterHcalSteppingAction
()
override
;
25
27
bool
UserSteppingAction
(
const
G4Step
*,
bool
)
override
;
28
29
int
Init
()
override
;
30
32
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
33
34
void
FieldChecker
(
const
G4Step
*);
35
void
EnableFieldChecker
(
const
int
i = 1) {
m_EnableFieldCheckerFlag
= i; }
36
37
private
:
39
PHG4OuterHcalDetector
*
m_Detector
;
40
42
PHG4HitContainer
*
m_Hits
;
43
PHG4HitContainer
*
m_AbsorberHits
;
44
PHG4Hit
*
m_Hit
;
45
const
PHParameters
*
m_Params
;
46
PHG4HitContainer
*
m_SaveHitContainer
;
47
PHG4Shower
*
m_SaveShower
;
48
G4VPhysicalVolume
*
m_SaveVolPre
;
49
G4VPhysicalVolume
*
m_SaveVolPost
;
50
int
m_SaveTrackId
;
51
int
m_SavePreStepStatus
;
52
int
m_SavePostStepStatus
;
53
int
m_EnableFieldCheckerFlag
;
54
55
// since getting parameters is a map search we do not want to
56
// do this in every step, the parameters used are cached
57
// in the following variables
58
int
m_IsActiveFlag
;
59
int
m_IsBlackHoleFlag
;
60
int
m_NScintiPlates
;
61
int
m_LightScintModelFlag
;
62
};
63
64
#endif // G4DETECTORS_PHG4OUTERHCALSTEPPINGACTION_H
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4OuterHcalSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:41
using
1.8.2 with
ECCE GitHub integration