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
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
blob
master
analysis
reconstruction
simulation
g4simulation
g4b0
g4b0ecal
g4barrelmmg
g4beastmagnet
g4bwd
g4drcalo
g4drich
g4eiccalos
g4eicdirc
g4etof
PHG4ECAPToFDetector.cc
PHG4ECAPToFDetector.h
PHG4ECAPToFSteppingAction.cc
PHG4ECAPToFSteppingAction.h
PHG4ECAPToFSubsystem.cc
PHG4ECAPToFSubsystem.h
g4jleic
g4lblvtx
g4lumi
g4mrich
g4rich
g4rp
g4trd
g4ttl
g4zdc
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
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:
Mon Jan 22 2024 12:43:52
using
1.8.2 with
EIC GitHub integration