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
PHG4ForwardDualReadoutSteppingAction.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ForwardDualReadoutSteppingAction.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FORWARDDUALREADOUTSTEPPINGACTION_H
4
#define G4DETECTORS_PHG4FORWARDDUALREADOUTSTEPPINGACTION_H
5
6
#include <
g4main/PHG4SteppingAction.h
>
7
8
#include <Geant4/G4TouchableHandle.hh>
9
#include <Geant4/G4StepPoint.hh>
// for G4StepPoint
10
11
class
G4Step
;
12
class
G4VPhysicalVolume
;
13
class
PHCompositeNode
;
14
class
PHG4ForwardDualReadoutDetector
;
15
class
PHG4Hit
;
16
class
PHG4HitContainer
;
17
class
PHG4Shower
;
18
19
class
PHG4ForwardDualReadoutSteppingAction
:
public
PHG4SteppingAction
20
{
21
public
:
23
PHG4ForwardDualReadoutSteppingAction
(
PHG4ForwardDualReadoutDetector
*,
const
int
absorberactive);
24
26
virtual
~PHG4ForwardDualReadoutSteppingAction
();
27
29
virtual
bool
UserSteppingAction
(
const
G4Step
*,
bool
);
30
32
virtual
void
SetInterfacePointers
(
PHCompositeNode
*);
33
void
SetTowerSize
(
G4double
twrsze)
34
{
35
_tower_size
= twrsze;
36
}
37
void
SetTowerReadout
(
G4double
rdosze)
38
{
39
_readout_size
= rdosze;
40
}
41
void
SetDetectorSize
(
G4double
detsze)
42
{
43
_detector_size
= detsze;
44
}
45
private
:
46
int
FindTowerIndex
(
G4TouchableHandle
touch,
int
& j,
int
&
k
);
47
int
FindTowerIndexFromPosition
(
G4StepPoint
* prePoint,
int
& j,
int
&
k
);
48
49
int
ParseG4VolumeName
(
G4VPhysicalVolume
*
volume
,
int
& j,
int
&
k
);
50
52
PHG4ForwardDualReadoutDetector
*
detector_
;
53
55
PHG4HitContainer
*
hits_
;
56
PHG4HitContainer
*
absorberhits_
;
57
PHG4HitContainer
*
hitcontainer
;
58
PHG4Hit
*
hit
;
59
PHG4Shower
*
saveshower
;
60
61
G4double
_towerdivision
;
62
G4double
_tower_size
;
63
G4double
_readout_size
;
64
G4double
_detector_size
;
65
int
absorbertruth
;
66
int
light_scint_model
;
67
};
68
69
#endif // G4DETECTORS_PHG4FORWARDDUALREADOUTSTEPPINGACTION_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4drcalo
PHG4ForwardDualReadoutSteppingAction.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:46
using
1.8.2 with
ECCE GitHub integration