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
PHG4MicromegasSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4MicromegasSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
4
#ifndef G4MICROMEGAS_PHG4MICROMEGASSUBSYSTEM_H
5
#define G4MICROMEGAS_PHG4MICROMEGASSUBSYSTEM_H
6
12
#include <
g4detectors/PHG4DetectorSubsystem.h
>
13
14
#include <string>
// for string
15
16
class
PHCompositeNode
;
17
class
PHG4Detector
;
18
class
PHG4MicromegasDetector
;
19
class
PHG4DisplayAction
;
20
class
PHG4MicromegasSteppingAction
;
21
class
PHG4SteppingAction
;
22
29
class
PHG4MicromegasSubsystem
:
public
PHG4DetectorSubsystem
30
{
31
public
:
33
PHG4MicromegasSubsystem
(
const
std::string
&
name
=
"MICROMEGAS"
,
int
layer
= 0);
34
35
~PHG4MicromegasSubsystem
()
override
;
36
40
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
41
43
47
int
process_event
(
PHCompositeNode
*)
override
;
48
50
51
PHG4Detector
*
GetDetector
()
const override
;
52
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
54
56
void
Print
(
const
std::string
& what =
"ALL"
)
const override
;
57
59
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
60
61
private
:
62
// \brief Set default parameter values
63
void
SetDefaultParameters
()
override
{
return
; }
64
66
67
PHG4MicromegasDetector
*
m_Detector
{
nullptr
};
68
70
71
PHG4SteppingAction
*
m_SteppingAction
{
nullptr
};
72
74
PHG4DisplayAction
*
m_DisplayAction
{
nullptr
};
75
76
std::string
m_HitNodeName
;
77
std::string
m_SupportNodeName
;
78
};
79
80
#endif // G4MICROMEGAS_PHG4MICROMEGASSUBSYSTEM_H
coresoftware
blob
master
simulation
g4simulation
g4micromegas
PHG4MicromegasSubsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration