EIC Software
Reference for
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
PHG4mRICHSubsystem.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4mRICHSubsystem.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
/*===============================================================*
4
* March 2nd 2017 *
5
* mRICH Subsystem created by Cheuk-Ping Wong @GSU *
6
*===============================================================*/
7
#ifndef G4DETECTORS_PHG4MRICHSUBSYSTEM_H
8
#define G4DETECTORS_PHG4MRICHSUBSYSTEM_H
9
10
#include <
g4detectors/PHG4DetectorSubsystem.h
>
11
12
#include <string>
// for string
13
14
class
PHCompositeNode
;
15
class
PHG4mRICHDetector
;
16
class
PHG4Detector
;
17
class
PHG4EventAction
;
18
class
PHG4SteppingAction
;
19
20
class
PHG4mRICHSubsystem
:
public
PHG4DetectorSubsystem
21
{
22
public
:
24
PHG4mRICHSubsystem
(
const
std::string&
name
=
"BLOCK"
,
const
int
layer
= 0);
25
27
virtual
~PHG4mRICHSubsystem
(
void
)
28
{
29
}
30
31
int
InitSubsystem
(
PHCompositeNode
*);
32
34
39
int
InitRunSubsystem
(
PHCompositeNode
*);
40
42
46
int
process_event
(
PHCompositeNode
*);
47
49
virtual
PHG4Detector
*
GetDetector
(
void
)
const
;
50
virtual
PHG4SteppingAction
*
GetSteppingAction
(
void
)
const
{
return
_steppingAction
; }
51
52
PHG4EventAction
*
GetEventAction
()
const
{
return
_eventAction
; }
53
54
private
:
55
void
SetDefaultParameters
();
//set external parameter
56
58
59
//PHG4BlockDetector* _detector;
60
//int _single_mRICH;
61
PHG4mRICHDetector
*
_detector
;
62
std::string
_detectorName
;
63
// int layer;
64
66
67
PHG4SteppingAction
*
_steppingAction
;
68
PHG4EventAction
*
_eventAction
;
69
};
70
71
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4mrich
PHG4mRICHSubsystem.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:53
using
1.8.2 with
EIC GitHub integration