EIC Software
Reference for
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
PHG4TRDSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TRDSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4TRDSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4TRDSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <string>
9
10
class
G4Step;
11
class
G4VPhysicalVolume;
12
class
PHCompositeNode
;
13
class
PHG4TRDDetector
;
14
class
PHG4TRDSubsystem
;
15
class
PHG4Hit
;
16
class
PHG4HitContainer
;
17
class
PHG4Shower
;
18
class
PHParameters
;
19
20
class
PHG4TRDSteppingAction
:
public
PHG4SteppingAction
21
{
22
public
:
24
// PHG4TRDSteppingAction(PHG4TRDSubsystem *subsys, PHG4TRDDetector *detector, const PHParameters *parameters);
25
PHG4TRDSteppingAction
(
PHG4TRDDetector
*detector,
const
PHParameters
*
parameters
);
26
28
~PHG4TRDSteppingAction
()
override
;
29
31
bool
UserSteppingAction
(
const
G4Step *,
bool
)
override
;
32
34
void
SetInterfacePointers
(
PHCompositeNode
*)
override
;
35
36
// needed for hit position crosschecks, if this volume is inside
37
// another volume the absolut hit coordinates in our G4Hits and
38
// the local coordinates differ, so checking against our place in z
39
// goes wrong
40
//bool hasMotherSubsystem() const;
41
42
//void HitNodeName(const std::string &name) {m_HitNodeName = name;}
43
44
private
:
46
//PHG4TRDSubsystem *m_Subsystem;
48
PHG4TRDDetector
*
m_Detector
;
49
const
PHParameters
*
m_Params
;
50
52
PHG4HitContainer
*
m_HitContainer
;
53
PHG4HitContainer
*
m_ActiveGasHits
;
54
PHG4Hit
*
m_Hit
;
55
PHG4HitContainer
*
m_SaveHitContainer
;
56
PHG4Shower
*
m_SaveShower
;
57
58
G4VPhysicalVolume *
m_SaveVolPre
;
59
G4VPhysicalVolume *
m_SaveVolPost
;
60
61
int
m_SaveTrackId
;
62
int
m_SavePreStepStatus
;
63
int
m_SavePostStepStatus
;
64
int
m_BlackHoleFlag
;
65
int
m_ActiveFlag
;
66
int
m_UseG4StepsFlag
;
67
double
m_Zmin
;
68
double
m_Zmax
;
69
//double m_EdepSum;
70
//std::string m_HitNodeName;
71
};
72
73
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4trd
PHG4TRDSteppingAction.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:53
using
1.8.2 with
EIC GitHub integration