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
PHG4OuterHcalSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4OuterHcalSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4OUTERHCALSUBSYSTEM_H
4
#define G4DETECTORS_PHG4OUTERHCALSUBSYSTEM_H
5
6
#include "
PHG4DetectorSubsystem.h
"
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4DisplayAction
;
13
class
PHG4OuterHcalDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4OuterHcalSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
20
PHG4OuterHcalSubsystem
(
const
std::string
&
name
=
"HCALOUT"
,
const
int
layer
= 0);
21
23
~PHG4OuterHcalSubsystem
()
override
;
24
29
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
30
32
36
int
process_event
(
PHCompositeNode
*)
override
;
37
39
void
Print
(
const
std::string
& what =
"ALL"
)
const override
;
40
42
PHG4Detector
*
GetDetector
(
void
)
const override
;
43
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
44
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
45
46
void
SetLightCorrection
(
const
double
inner_radius
,
const
double
inner_corr,
const
double
outer_radius
,
const
double
outer_corr);
47
48
private
:
49
void
SetDefaultParameters
()
override
;
50
52
53
PHG4OuterHcalDetector
*
m_Detector
=
nullptr
;
54
56
57
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
58
60
61
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
62
};
63
64
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4OuterHcalSubsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration