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
PHG4SpacalSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4SpacalSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
11
#ifndef G4DETECTORS_PHG4SPACALSUBSYSTEM_H
12
#define G4DETECTORS_PHG4SPACALSUBSYSTEM_H
13
14
#include "
PHG4DetectorSubsystem.h
"
15
16
#include <string>
// for string
17
18
class
PHCompositeNode
;
19
class
PHG4Detector
;
20
class
PHG4DisplayAction
;
21
class
PHG4SpacalDetector
;
22
class
PHG4SteppingAction
;
23
24
class
PHG4SpacalSubsystem
:
public
PHG4DetectorSubsystem
25
{
26
public
:
28
PHG4SpacalSubsystem
(
const
std::string &
name
=
"PHG4SpacalSubsystem"
,
29
const
int
layer
= 0);
30
32
~PHG4SpacalSubsystem
()
override
;
33
35
41
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
42
44
48
int
process_event
(
PHCompositeNode
*)
override
;
49
51
PHG4Detector
*
GetDetector
()
const override
;
52
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
steppingAction_
; }
53
54
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
55
56
void
57
Print
(
const
std::string &what =
"ALL"
)
const override
;
58
59
void
CosmicSetup
(
const
int
i) {
m_CosmicSetupFlag
= i; }
60
int
CosmicSetup
()
const
{
return
m_CosmicSetupFlag
; }
61
62
private
:
63
void
SetDefaultParameters
()
override
;
64
// SpacalGeom_t _geom;
65
67
68
PHG4SpacalDetector
*
detector_
=
nullptr
;
69
71
72
PHG4SteppingAction
*
steppingAction_
=
nullptr
;
73
75
76
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
77
78
int
m_CosmicSetupFlag
= 0;
79
};
80
81
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4SpacalSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:42
using
1.8.2 with
ECCE GitHub integration