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
PHG4ECAPToFSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ECAPToFSteppingAction.h
1
#ifndef G4DETECTORS_PHG4ECAPToFSTEPPINGACTION_H
2
#define G4DETECTORS_PHG4ECAPToFSTEPPINGACTION_H
3
4
#include <
g4main/PHG4SteppingAction.h
>
5
6
#include <string>
7
8
class
G4Step
;
9
class
G4VPhysicalVolume
;
10
class
PHCompositeNode
;
11
class
PHG4ECAPToFDetector
;
12
class
PHG4ECAPToFSubsystem
;
13
class
PHG4Hit
;
14
class
PHG4HitContainer
;
15
class
PHG4Shower
;
16
class
PHParameters
;
17
18
class
PHG4ECAPToFSteppingAction
:
public
PHG4SteppingAction
19
{
20
public
:
22
// PHG4ECAPToFSteppingAction(PHG4ECAPToFSubsystem *subsys, PHG4ECAPToFDetector *detector, const PHParameters *parameters);
23
PHG4ECAPToFSteppingAction
(
PHG4ECAPToFDetector
*detector,
const
PHParameters
*
parameters
);
24
26
~PHG4ECAPToFSteppingAction
()
override
;
27
29
bool
UserSteppingAction
(
const
G4Step
*,
bool
)
override
;
30
32
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
33
34
// needed for hit position crosschecks, if this volume is inside
35
// another volume the absolut hit coordinates in our G4Hits and
36
// the local coordinates differ, so checking against our place in z
37
// goes wrong
38
//bool hasMotherSubsystem() const;
39
41
// this is the only detector using this - there is no need to add
42
// this to our parameters
43
void
SaveAllHits
(
bool
i =
true
) {
m_SaveAllHitsFlag
= i; }
44
//void HitNodeName(const std::string &name) {m_HitNodeName = name;}
45
46
private
:
48
//PHG4ECAPToFSubsystem *m_Subsystem;
50
PHG4ECAPToFDetector
*
m_Detector
;
51
const
PHParameters
*
m_Params
;
52
54
PHG4HitContainer
*
m_HitContainer
;
55
//PHG4HitContainer *m_AbsorberHits;
56
PHG4HitContainer
*
m_ActiveGasHits
;
57
PHG4Hit
*
m_Hit
;
58
PHG4HitContainer
*
m_SaveHitContainer
;
59
PHG4Shower
*
m_SaveShower
;
60
61
G4VPhysicalVolume
*
m_SaveVolPre
;
62
G4VPhysicalVolume
*
m_SaveVolPost
;
63
bool
m_SaveAllHitsFlag
=
false
;
64
int
m_SaveTrackId
;
65
int
m_SavePreStepStatus
;
66
int
m_SavePostStepStatus
;
67
int
m_BlackHoleFlag
;
68
int
m_ActiveFlag
;
69
int
m_UseG4StepsFlag
;
70
double
m_Zmin
;
71
double
m_Zmax
;
72
//double m_EdepSum;
73
//std::string m_HitNodeName;
74
};
75
76
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4etof
PHG4ECAPToFSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration