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
PHG4CylinderStripSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CylinderStripSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4CYLINDERSTRIPSUBSYSTEM_H
4
#define G4DETECTORS_PHG4CYLINDERSTRIPSUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
#if !defined(__CINT__) || defined(__CLING__)
9
#include <array>
// for array
10
#endif
11
12
#include <string>
// for string
13
14
class
PHCompositeNode
;
15
class
PHG4CylinderStripDetector
;
16
class
PHG4Detector
;
17
class
PHG4DisplayAction
;
18
class
PHG4SteppingAction
;
19
20
class
PHG4CylinderStripSubsystem
:
public
PHG4DetectorSubsystem
21
{
22
public
:
24
PHG4CylinderStripSubsystem
(
const
std::string&
name
=
"CYLINDERSTRIP"
,
const
int
layer
= 0);
25
27
virtual
~PHG4CylinderStripSubsystem
(
void
);
28
30
35
int
InitRunSubsystem
(
PHCompositeNode
*);
36
38
42
int
process_event
(
PHCompositeNode
*);
43
45
void
Print
(
const
std::string& what =
"ALL"
)
const
;
46
48
PHG4Detector
*
GetDetector
(
void
)
const
;
49
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const
{
return
m_SteppingAction
; }
50
51
// this method is used to check if it can be used as mothervolume
52
// Subsystems which can be mothervolume need to implement this
53
// and return true
54
virtual
bool
CanBeMotherSubsystem
()
const
{
return
true
; }
55
56
private
:
57
void
SetDefaultParameters
();
58
60
61
PHG4CylinderStripDetector
*
m_Detector
;
62
64
65
PHG4SteppingAction
*
m_SteppingAction
;
66
};
67
68
#endif // G4DETECTORS_PHG4CYLINDERSUBSYSTEM_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4barrelmmg
PHG4CylinderStripSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:46
using
1.8.2 with
ECCE GitHub integration