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
g4b0ecal
g4barrelmmg
g4beastmagnet
g4bwd
g4drcalo
g4drich
g4eiccalos
g4eicdirc
g4etof
g4jleic
g4lblvtx
g4lumi
g4mrich
g4rich
g4rp
g4trd
PHG4TRDDetector.cc
PHG4TRDDetector.h
PHG4TRDSteppingAction.cc
PHG4TRDSteppingAction.h
PHG4TRDSubsystem.cc
PHG4TRDSubsystem.h
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
PHG4TRDSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4TRDSubsystem.h
1
#ifndef G4DETECTORS_PHG4TRDSUBSYSTEM_H
2
#define G4DETECTORS_PHG4TRDSUBSYSTEM_H
3
4
#include <
g4detectors/PHG4DetectorSubsystem.h
>
5
6
#include <array>
// for array
7
#include <string>
// for string
8
9
class
PHCompositeNode
;
10
class
PHG4TRDDetector
;
11
class
PHG4Detector
;
12
class
PHG4SteppingAction
;
13
14
class
PHG4TRDSubsystem
:
public
PHG4DetectorSubsystem
15
{
16
public
:
18
PHG4TRDSubsystem
(
const
std::string&
name
=
"TRD"
,
const
int
layer
= 0);
19
21
~PHG4TRDSubsystem
(
void
)
override
;
22
23
int
InitRunSubsystem
(
PHCompositeNode
*)
override
;
24
26
30
int
process_event
(
PHCompositeNode
*)
override
;
31
33
void
Print
(
const
std::string& what =
"ALL"
)
const override
;
34
36
PHG4Detector
*
GetDetector
(
void
)
const override
;
37
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const override
{
return
m_SteppingAction
; }
38
39
// this method is used to check if it can be used as mothervolume
40
// Subsystems which can be mothervolume need to implement this
41
// and return true
42
//bool CanBeMotherSubsystem() const override { return true; }
43
44
private
:
45
void
SetDefaultParameters
()
override
;
46
48
49
PHG4TRDDetector
*
m_Detector
/*= nullptr*/
;
50
52
53
PHG4SteppingAction
*
m_SteppingAction
/*= nullptr*/
;
54
55
//bool m_SaveAllHitsFlag = false;
56
};
57
#endif // G4DETECTORS_PHG4TRDSUBSYSTEM_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4trd
PHG4TRDSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:48
using
1.8.2 with
ECCE GitHub integration