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
PHG4BarrelEcalSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4BarrelEcalSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4BARRELECALSUBSYSTEM_H
4
#define G4DETECTORS_PHG4BARRELECALSUBSYSTEM_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
PHG4BarrelEcalDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4BarrelEcalSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
21
PHG4BarrelEcalSubsystem
(
const
std::string &
name
=
"FORWARD_HCAL_DEFAULT"
,
const
int
layer
= 0);
22
25
virtual
~PHG4BarrelEcalSubsystem
();
26
32
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
33
36
int
process_event
(
PHCompositeNode
*)
override
;
37
39
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
40
43
PHG4Detector
*
GetDetector
()
const override
;
44
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
45
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
46
49
void
SetTowerMappingFile
(
const
std::string &
filename
);
50
51
void
SetUseFeTungstenAbsorber
(
int
useTungsten) {
set_int_param
(
"absorber_FeTungsten"
, 1); };
52
53
private
:
54
void
SetDefaultParameters
()
override
;
55
58
PHG4BarrelEcalDetector
*
m_Detector
=
nullptr
;
59
62
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
64
65
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
66
67
std::string
m_HitNodeName
;
68
std::string
m_AbsorberNodeName
;
69
std::string
m_SupportNodeName
;
70
};
71
72
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4BarrelEcalSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration