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
G4Example01Subsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4Example01Subsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4EXAMPLE01SUBSYSTEM_H
4
#define G4EXAMPLE01SUBSYSTEM_H
5
6
#include <
g4main/PHG4Subsystem.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
G4Example01Detector
;
13
class
PHG4SteppingAction
;
14
25
class
G4Example01Subsystem
:
public
PHG4Subsystem
26
{
27
public
:
29
G4Example01Subsystem
(
const
std::string
&
name
=
"Example01"
);
30
32
virtual
~G4Example01Subsystem
() {}
33
39
virtual
int
Init
(
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
:
57
58
G4Example01Detector
*
m_Detector
;
59
61
62
PHG4SteppingAction
*
m_SteppingAction
;
63
};
64
65
#endif // G4EXAMPLE01SUBSYSTEM_H
g4exampledetector
blob
master
simple
source
G4Example01Subsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:16
using
1.8.2 with
sPHENIX GitHub integration