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
PHG4ECAPToFSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ECAPToFSubsystem.h
1
#ifndef G4DETECTORS_PHG4ECAPToFSUBSYSTEM_H
2
#define G4DETECTORS_PHG4ECAPToFSUBSYSTEM_H
3
4
#include <
g4detectors/PHG4DetectorSubsystem.h
>
5
6
#include <array>
// for array
7
#include <string>
// for string
8
9
class
PHCompositeNode
;
10
class
PHG4ECAPToFDetector
;
11
class
PHG4Detector
;
12
class
PHG4SteppingAction
;
13
14
class
PHG4ECAPToFSubsystem
:
public
PHG4DetectorSubsystem
15
{
16
public
:
18
PHG4ECAPToFSubsystem
(
const
std::string&
name
=
"ECAPToF"
,
const
int
layer
= 0);
19
21
~PHG4ECAPToFSubsystem
(
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
PHG4ECAPToFDetector
*
m_Detector
/*= nullptr*/
;
50
52
53
PHG4SteppingAction
*
m_SteppingAction
/*= nullptr*/
;
54
55
//bool m_SaveAllHitsFlag = false;
56
};
57
#endif // G4DETECTORS_PHG4ECAPToFSUBSYSTEM_H
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4etof
PHG4ECAPToFSubsystem.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:47
using
1.8.2 with
ECCE GitHub integration