EIC Software
Reference for
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
PHG4FPbScSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4FPbScSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FPBSCSUBSYSTEM_H
4
#define G4DETECTORS_PHG4FPBSCSUBSYSTEM_H
5
6
#include <
g4main/PHG4Subsystem.h
>
7
8
#include <string>
// for string
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4FPbScDetector
;
13
class
PHG4EventAction
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4FPbScSubsystem
:
public
PHG4Subsystem
17
{
18
public
:
20
PHG4FPbScSubsystem
(
const
std::string&
name
=
"FPBSC"
);
21
23
virtual
~PHG4FPbScSubsystem
(
void
)
24
{
25
}
26
28
33
int
Init
(
PHCompositeNode
*);
34
36
40
int
process_event
(
PHCompositeNode
*);
41
43
virtual
PHG4Detector
*
GetDetector
(
void
)
const
;
44
virtual
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const
;
45
46
PHG4EventAction
*
GetEventAction
()
const
{
return
eventAction_
; }
47
48
void
set_Place
(
double
x
,
double
y
,
double
z
)
49
{
50
x_position
=
x
;
51
y_position
=
y
;
52
z_position
=
z
;
53
}
54
55
private
:
57
58
PHG4FPbScDetector
*
detector_
;
59
61
62
PHG4SteppingAction
*
steppingAction_
;
63
PHG4EventAction
*
eventAction_
;
64
65
double
x_position
;
66
double
y_position
;
67
double
z_position
;
68
};
69
70
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4eiccalos
PHG4FPbScSubsystem.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:52
using
1.8.2 with
EIC GitHub integration