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
G4EicDircSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4EicDircSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EICDIRCSUBSYSTEM_H
4
#define G4EICDIRCSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
9
10
class
G4VProcess
;
11
class
G4EicDircDetector
;
12
class
PHCompositeNode
;
13
class
PHG4Detector
;
14
class
PHG4DisplayAction
;
15
class
PHG4StackingAction
;
16
class
PHG4SteppingAction
;
17
28
class
G4EicDircSubsystem
:
public
PHG4DetectorSubsystem
29
{
30
public
:
32
G4EicDircSubsystem
(
const
std::string&
name
=
"G4EicDirc"
);
33
35
~G4EicDircSubsystem
()
override
;
36
42
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
43
45
49
int
process_event
(
PHCompositeNode
*)
override
;
50
52
PHG4Detector
*
GetDetector
()
const override
;
53
54
PHG4StackingAction
*
GetStackingAction
()
const override
{
return
m_StackingAction
; }
55
56
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
58
void
Print
(
const
std::string& what =
"ALL"
)
const override
;
59
60
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
61
62
//void AddProcesses(G4ParticleDefinition *particle) override;
63
64
private
:
65
// \brief Set default parameter values
66
void
SetDefaultParameters
()
override
;
67
69
70
G4EicDircDetector
*
m_Detector
=
nullptr
;
71
72
PHG4StackingAction
*
m_StackingAction
=
nullptr
;
73
74
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
75
77
78
79
80
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
82
84
//G4VProcess *DircBoundary = nullptr;
85
86
std::string
m_HitNodeName
;
87
std::string
m_AbsorberNodeName
;
88
std::string
m_SupportNodeName
;
89
};
90
91
#endif // G4EICDIRCSUBSYSTEM_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eicdirc
G4EicDircSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration