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
PHG4ForwardEcalSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ForwardEcalSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
4
#define G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_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
PHG4ForwardEcalDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4ForwardEcalSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
21
PHG4ForwardEcalSubsystem
(
const
std::string&
name
=
"FORWARD_ECAL_DEFAULT"
,
const
int
layer
= 0);
22
23
void
DoFullLightPropagation
(
bool
doProp) {
_do_lightpropagation
= doProp; };
24
27
virtual
~PHG4ForwardEcalSubsystem
();
28
34
int
InitRunSubsystem
(
PHCompositeNode
*);
35
38
int
process_event
(
PHCompositeNode
*);
39
42
PHG4Detector
*
GetDetector
()
const
;
43
PHG4SteppingAction
*
GetSteppingAction
()
const
{
return
m_SteppingAction
; }
44
45
PHG4DisplayAction
*
GetDisplayAction
()
const
{
return
m_DisplayAction
; }
46
47
void
SetEICDetector
() {
m_EICDetectorFlag
= 1; }
48
void
SetfsPHENIXDetector
() {
m_EICDetectorFlag
= 0; }
49
void
SetTowerMappingFile
(
const
std::string&
filename
);
50
53
void
SetDetailed
(
bool
b
) {
showdetailed
=
b
; }
54
55
private
:
56
void
SetDefaultParameters
();
57
60
PHG4ForwardEcalDetector
*
m_Detector
=
nullptr
;
61
64
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
65
67
68
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
69
70
int
m_EICDetectorFlag
= 0;
71
bool
showdetailed
=
false
;
72
bool
_do_lightpropagation
=
false
;
73
};
74
75
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4ForwardEcalSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration