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
G4Example02Subsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4Example02Subsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EXAMPLE02SUBSYSTEM_H
4
#define G4EXAMPLE02SUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
G4Example02Detector
;
13
class
PHG4SteppingAction
;
14
25
class
G4Example02Subsystem
:
public
PHG4DetectorSubsystem
26
{
27
public
:
29
G4Example02Subsystem
(
const
std::string
&
name
=
"Example02"
);
30
32
virtual
~G4Example02Subsystem
() {}
33
39
virtual
int
InitRunSubsystem
(
PHCompositeNode
*);
40
42
46
virtual
int
process_event
(
PHCompositeNode
*);
47
49
virtual
PHG4Detector
*
GetDetector
()
const
;
50
51
virtual
PHG4SteppingAction
*
GetSteppingAction
()
const
{
return
m_SteppingAction
; }
53
virtual
void
Print
(
const
std::string
& what =
"ALL"
)
const
;
54
55
private
:
56
// \brief Set default parameter values
57
void
SetDefaultParameters
();
58
60
61
G4Example02Detector
*
m_Detector
;
62
64
65
PHG4SteppingAction
*
m_SteppingAction
;
66
};
67
68
#endif // G4EXAMPLE02SUBSYSTEM_H
g4exampledetector
blob
master
parameter
source
G4Example02Subsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:16
using
1.8.2 with
sPHENIX GitHub integration