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
PHG4SectorSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4SectorSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4SECTORSUBSYSTEM_H
4
#define G4DETECTORS_PHG4SECTORSUBSYSTEM_H
5
6
#include "
PHG4SectorConstructor.h
"
7
8
#include <
g4main/PHG4Subsystem.h
>
9
10
#include <string>
// for string
11
12
class
PHCompositeNode
;
13
class
PHG4Detector
;
14
class
PHG4DisplayAction
;
15
class
PHG4SectorDetector
;
16
class
PHG4SteppingAction
;
17
18
class
PHG4SectorSubsystem
:
public
PHG4Subsystem
19
{
20
public
:
22
PHG4SectorSubsystem
(
const
std::string&
name
=
"Sector"
);
23
25
~PHG4SectorSubsystem
()
override
;
26
28
33
int
Init
(
PHCompositeNode
*)
override
;
34
36
40
int
process_event
(
PHCompositeNode
*)
override
;
41
43
PHG4Detector
*
44
GetDetector
(
void
)
const override
;
45
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const override
{
return
m_SteppingAction
; }
46
47
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
48
49
void
50
SuperDetector
(
const
std::string&
name
)
51
{
52
superdetector
=
name
;
53
}
54
56
PHG4Sector::Sector_Geometry
&
57
get_geometry
()
58
{
59
return
geom
;
60
}
61
63
void
64
set_geometry
(
const
PHG4Sector::Sector_Geometry
&
g
)
65
{
66
geom
=
g
;
67
}
68
69
private
:
71
72
PHG4SectorDetector
*
m_Detector
;
73
75
76
PHG4SteppingAction
*
m_SteppingAction
;
77
79
80
PHG4DisplayAction
*
m_DisplayAction
;
81
82
std::string
superdetector
;
83
84
PHG4Sector::Sector_Geometry
geom
;
85
};
86
87
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4SectorSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:42
using
1.8.2 with
ECCE GitHub integration