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
PHG4ZDCSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ZDCSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
4
#define G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
5
6
#include "
PHG4DetectorSubsystem.h
"
7
8
#include <string>
// for string
9
10
class
PHCompositeNode
;
11
class
PHG4Detector
;
12
class
PHG4DisplayAction
;
13
class
PHG4ZDCDetector
;
14
class
PHG4SteppingAction
;
15
16
class
PHG4ZDCSubsystem
:
public
PHG4DetectorSubsystem
17
{
18
public
:
21
explicit
PHG4ZDCSubsystem
(
const
std::string&
name
,
const
int
layer
);
22
25
~PHG4ZDCSubsystem
()
override
;
26
30
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
31
34
int
process_event
(
PHCompositeNode
*)
override
;
35
38
PHG4Detector
*
GetDetector
()
const override
;
39
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
40
41
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
42
43
private
:
44
void
SetDefaultParameters
()
override
;
45
48
PHG4ZDCDetector
*
m_Detector
=
nullptr
;
49
52
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
53
55
56
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
57
58
std::string
m_HitNodeName
;
59
std::string
m_AbsorberNodeName
;
60
std::string
m_SupportNodeName
;
61
};
62
63
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4ZDCSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:42
using
1.8.2 with
ECCE GitHub integration