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
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
blob
master
analysis
reconstruction
simulation
g4simulation
g4b0
B0TrackFastSim.cc
B0TrackFastSim.h
B0TrackFastSimEval.cc
B0TrackFastSimEval.h
EICG4B0Detector.cc
EICG4B0Detector.h
EICG4B0Detector_Pipe.cc
EICG4B0SteppingAction.cc
EICG4B0SteppingAction.h
EICG4B0Subsystem.cc
EICG4B0Subsystem.h
g4b0ecal
g4barrelmmg
g4beastmagnet
g4bwd
g4drcalo
g4drich
g4eiccalos
g4eicdirc
g4etof
g4jleic
g4lblvtx
g4lumi
g4mrich
g4rich
g4rp
g4trd
g4ttl
g4zdc
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EICG4B0Subsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EICG4B0Subsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef EICG4B0SUBSYSTEM_H
4
#define EICG4B0SUBSYSTEM_H
5
6
#include <
g4detectors/PHG4DetectorSubsystem.h
>
7
8
class
PHCompositeNode
;
9
class
PHG4Detector
;
10
class
EICG4B0Detector
;
11
class
PHG4SteppingAction
;
12
23
class
EICG4B0Subsystem
:
public
PHG4DetectorSubsystem
24
{
25
public
:
27
EICG4B0Subsystem
(
const
std::string&
name
=
"EICG4B0"
,
const
int
layer
= 0);
28
30
virtual
~EICG4B0Subsystem
() {}
31
35
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
36
38
42
int
process_event
(
PHCompositeNode
*)
override
;
43
45
PHG4Detector
*
GetDetector
()
const override
;
46
47
PHG4SteppingAction
*
GetSteppingAction
()
const override
{
return
m_SteppingAction
; }
49
void
Print
(
const
std::string& what =
"ALL"
)
const override
;
50
51
bool
CanBeMotherSubsystem
()
const override
{
return
true
; }
52
53
void
SaveAllHits
(
bool
i =
true
) {
m_SaveAllHitsFlag
= i; }
54
55
void
SetTowerMappingFile
(
const
std::string&
filename
);
56
57
protected
:
58
// \brief Set default parameter values
59
void
SetDefaultParameters
()
override
;
60
61
private
:
63
64
EICG4B0Detector
*
m_Detector
;
65
67
68
PHG4SteppingAction
*
m_SteppingAction
;
69
70
bool
m_SaveAllHitsFlag
=
false
;
71
72
std::string
mappingfile_
;
73
};
74
75
#endif // EICG4B0SUBSYSTEM_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4b0
EICG4B0Subsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:46
using
1.8.2 with
ECCE GitHub integration