EIC Software
Reference for
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
PHG4HybridHomogeneousCalorimeterSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4HybridHomogeneousCalorimeterSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4HYBRIDHOMOGENEOUSCALORIMETERSUBSYSTEM_H
4
#define G4DETECTORS_PHG4HYBRIDHOMOGENEOUSCALORIMETERSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
// for string
9
10
class
PHCompositeNode
;
11
class
PHG4HybridHomogeneousCalorimeterDetector
;
12
class
PHG4Detector
;
13
class
PHG4DisplayAction
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4HybridHomogeneousCalorimeterSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
21
PHG4HybridHomogeneousCalorimeterSubsystem
(
const
std::string &
name
=
"CRYSTAL_DEFAULT"
,
const
int
layer
= 0);
22
25
virtual
~PHG4HybridHomogeneousCalorimeterSubsystem
();
26
32
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
33
36
int
process_event
(
PHCompositeNode
*)
override
;
37
40
PHG4Detector
*
GetDetector
(
void
)
const override
;
41
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
42
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
43
46
void
SetTowerMappingFile
(
const
std::string &
filename
);
47
50
void
SetProjectiveGeometry
(
const
std::string &filename1,
const
std::string &filename2);
53
void
DoFullLightPropagation
(
bool
doProp) {
_do_lightpropagation
= doProp; };
54
55
private
:
57
58
void
SetDefaultParameters
()
override
;
59
60
// GeometryConfiguration current_geom_config_;
61
64
PHG4HybridHomogeneousCalorimeterDetector
*
m_Detector
=
nullptr
;
65
68
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
70
71
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
72
bool
_do_lightpropagation
=
false
;
73
};
74
75
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4HybridHomogeneousCalorimeterSubsystem.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:52
using
1.8.2 with
EIC GitHub integration