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
PHG4ForwardDualReadoutSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ForwardDualReadoutSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FORWARDDUALREADOUTSUBSYSTEM_H
4
#define G4DETECTORS_PHG4FORWARDDUALREADOUTSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
// for PHG4DetectorSubsystem
7
8
#include <string>
// for string
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4DisplayAction
;
13
class
PHG4ForwardDualReadoutDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4ForwardDualReadoutSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
21
PHG4ForwardDualReadoutSubsystem
(
const
std::string &
name
=
"FORWARD_HCAL_DEFAULT"
,
const
int
layer
= 0);
22
25
virtual
~PHG4ForwardDualReadoutSubsystem
();
26
32
int
InitRunSubsystem
(
PHCompositeNode
*);
33
36
int
process_event
(
PHCompositeNode
*);
37
40
PHG4Detector
*
GetDetector
()
const
;
41
PHG4SteppingAction
*
GetSteppingAction
()
const
{
return
m_SteppingAction
; }
42
PHG4DisplayAction
*
GetDisplayAction
()
const
{
return
m_DisplayAction
; }
43
46
void
SetTowerMappingFile
(
const
std::string &
filename
);
47
48
49
void
SetActive
(
const
int
i = 1) {
active
= i; }
50
void
SetAbsorberActive
(
const
int
i = 1) {
absorber_active
= i; }
51
void
BlackHole
(
const
int
i = 1) {
blackhole
= i; }
52
53
private
:
54
void
SetDefaultParameters
();
57
PHG4ForwardDualReadoutDetector
*
m_Detector
;
58
61
PHG4SteppingAction
*
m_SteppingAction
;
63
64
PHG4DisplayAction
*
m_DisplayAction
;
65
66
int
active
;
67
int
absorber_active
;
68
int
blackhole
;
69
70
std::string
detector_type
;
71
std::string
mappingfile_
;
72
};
73
74
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4drcalo
PHG4ForwardDualReadoutSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:46
using
1.8.2 with
ECCE GitHub integration