Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4BbcSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4BbcSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
// $Id$
4
13
#ifndef G4DETECTORS_PHG4BBCSUBSYSTEM_H
14
#define G4DETECTORS_PHG4BBCSUBSYSTEM_H
15
16
#include "
PHG4DetectorSubsystem.h
"
17
18
#include <string>
19
20
class
PHCompositeNode
;
21
class
PHG4Detector
;
22
class
PHG4DisplayAction
;
23
class
PHG4BbcDetector
;
24
class
PHG4SteppingAction
;
25
37
class
PHG4BbcSubsystem
:
public
PHG4DetectorSubsystem
38
{
39
public
:
41
PHG4BbcSubsystem
(
const
std::string
&
name
=
"BBC"
);
42
44
~PHG4BbcSubsystem
(
void
)
override
;
45
49
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
50
52
56
int
process_event
(
PHCompositeNode
*)
override
;
57
59
PHG4Detector
*
GetDetector
()
const override
;
60
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const override
{
return
m_SteppingAction
; };
61
PHG4DisplayAction
*
GetDisplayAction
()
const override
{
return
m_DisplayAction
; }
62
64
void
Print
(
const
std::string
& what =
"ALL"
)
const override
;
65
66
protected
:
67
// \brief Set default parameter values
68
void
SetDefaultParameters
()
override
;
69
71
72
PHG4BbcDetector
*
m_Detector
=
nullptr
;
73
75
76
PHG4SteppingAction
*
m_SteppingAction
=
nullptr
;
77
79
80
PHG4DisplayAction
*
m_DisplayAction
=
nullptr
;
81
82
std::string
m_HitNodeName
;
83
std::string
m_SupportNodeName
;
84
};
85
86
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4BbcSubsystem.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:12
using
1.8.2 with
sPHENIX GitHub integration