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
PHG4LFHcalSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4LFHcalSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4LFHCALSUBSYSTEM_H
4
#define G4DETECTORS_PHG4LFHCALSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
// for string
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4DisplayAction
;
13
class
PHG4LFHcalDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4LFHcalSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
21
PHG4LFHcalSubsystem
(
const
std::string &
name
=
"LF_HCAL"
,
const
int
layer
= 0);
22
25
virtual
~PHG4LFHcalSubsystem
();
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
44
void
DoFullLightPropagation
(
bool
doProp) {
_do_lightpropagation
= doProp; };
45
48
void
SetTowerMappingFile
(
const
std::string &
filename
);
51
void
SetLayerPerTowerSegment
(
int
layerPerTowerSeg) {
set_int_param
(
"nlayerspertowerseg"
, layerPerTowerSeg); }
52
55
void
SetDetailed
(
bool
b
) {
showdetailed
=
b
; }
56
57
private
:
58
void
SetDefaultParameters
();
59
62
PHG4LFHcalDetector
*
m_Detector
=
nullptr
;
63
66
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
68
69
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
70
bool
showdetailed
=
false
;
71
bool
_do_lightpropagation
=
false
;
72
};
73
74
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4LFHcalSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration