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
PHG4TpcEndCapSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TpcEndCapSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PHG4TPCENDCAPSUBSYSTEM_H
4
#define PHG4TPCENDCAPSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
// for allocator, string
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4TpcEndCapDetector
;
13
class
PHG4SteppingAction
;
14
class
PHG4DisplayAction
;
15
26
class
PHG4TpcEndCapSubsystem
:
public
PHG4DetectorSubsystem
27
{
28
public
:
30
PHG4TpcEndCapSubsystem
(
const
std::string
&
name
=
"PHG4TpcEndCap"
);
31
33
~PHG4TpcEndCapSubsystem
()
override
;
34
38
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
39
41
45
int
process_event
(
PHCompositeNode
*)
override
;
46
48
PHG4Detector
*
GetDetector
()
const override
;
49
50
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
52
void
Print
(
const
std::string
& what =
"ALL"
)
const override
;
53
54
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
55
56
protected
:
57
// \brief Set default parameter values
58
void
SetDefaultParameters
()
override
;
59
60
private
:
62
63
PHG4TpcEndCapDetector
*
m_Detector
=
nullptr
;
64
66
67
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
68
70
71
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
72
74
std::string
m_HitNodeName
;
75
};
76
77
#endif // PHG4TPCENDCAPSUBSYSTEM_H
coresoftware
blob
master
simulation
g4simulation
g4tpc
PHG4TpcEndCapSubsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:16
using
1.8.2 with
sPHENIX GitHub integration