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
PHG4TpcSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TpcSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4TPC_PHG4TPCSUBSYSTEM_H
4
#define G4TPC_PHG4TPCSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4DisplayAction
;
13
class
PHG4SteppingAction
;
14
class
PHG4TpcDetector
;
15
16
class
PHG4TpcSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
20
PHG4TpcSubsystem
(
const
std::string &
name
=
"TPC"
,
const
int
layer
= 0);
21
23
~PHG4TpcSubsystem
()
override
;
24
31
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
32
34
38
int
process_event
(
PHCompositeNode
*)
override
;
39
41
void
Print
(
const
std::string &what =
"ALL"
)
const override
;
42
44
PHG4Detector
*
GetDetector
(
void
)
const override
;
45
46
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const override
{
return
m_SteppingAction
; }
47
48
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
49
50
private
:
51
void
SetDefaultParameters
()
override
;
52
54
55
PHG4TpcDetector
*
m_Detector
=
nullptr
;
56
58
59
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
60
62
63
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
64
65
std::string
m_HitNodeName
;
66
std::string
m_AbsorberNodeName
;
67
};
68
69
#endif
coresoftware
blob
master
simulation
g4simulation
g4tpc
PHG4TpcSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration