Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4InnerHcalSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4InnerHcalSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4INNERHCALSUBSYSTEM_H
4
#define G4DETECTORS_PHG4INNERHCALSUBSYSTEM_H
5
6
#include "
PHG4DetectorSubsystem.h
"
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4DisplayAction
;
13
class
PHG4InnerHcalDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4InnerHcalSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
20
PHG4InnerHcalSubsystem
(
const
std::string
&
name
=
"HCALIN"
,
const
int
layer
= 0);
21
23
~PHG4InnerHcalSubsystem
()
override
;
24
30
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
31
33
37
int
process_event
(
PHCompositeNode
*)
override
;
38
40
void
Print
(
const
std::string
& what =
"ALL"
)
const override
;
41
43
PHG4Detector
*
GetDetector
(
void
)
const override
;
44
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const override
{
return
m_SteppingAction
; }
45
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
46
47
void
SetLightCorrection
(
const
double
inner_radius
,
const
double
inner_corr,
const
double
outer_radius
,
const
double
outer_corr);
48
49
private
:
50
void
SetDefaultParameters
()
override
;
51
53
54
PHG4InnerHcalDetector
*
m_Detector
=
nullptr
;
55
57
58
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
59
61
62
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
63
};
64
65
#endif // G4DETECTORS_PHG4INNERHCALSUBSYSTEM_H
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4InnerHcalSubsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration