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
PHG4RICHDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4RICHDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
12
#ifndef G4DETECTORS_PHG4RICHDETECTOR_H
13
#define G4DETECTORS_PHG4RICHDETECTOR_H
14
15
#include "
ePHENIXRICHConstruction.h
"
16
17
#include <
g4main/PHG4Detector.h
>
18
19
#include <Geant4/G4Region.hh>
20
21
#include <string>
// for string
22
23
class
G4LogicalVolume
;
24
class
G4UserSteppingAction
;
25
class
PHCompositeNode
;
26
class
PHG4Subsystem
;
27
40
class
PHG4RICHDetector
:
public
PHG4Detector
,
41
public
ePHENIXRICH::ePHENIXRICHConstruction
42
{
43
public
:
44
PHG4RICHDetector
(
PHG4Subsystem
* subsys,
PHCompositeNode
* Node,
const
std::string& dname,
const
ePHENIXRICH::RICH_Geometry
&
g
);
45
PHG4RICHDetector
(
PHG4Subsystem
* subsys,
PHCompositeNode
* Node,
const
std::string& dname);
46
47
virtual
~PHG4RICHDetector
(
void
)
48
{
49
}
50
51
virtual
void
52
ConstructMe
(
G4LogicalVolume
*
world
);
53
54
virtual
G4UserSteppingAction
*
55
GetSteppingAction
()
56
{
57
if
(
_region
)
58
return
_region
->
GetRegionalSteppingAction
();
59
else
60
return
0;
61
}
62
63
virtual
void
OverlapCheck
(
const
bool
chk =
true
)
64
{
65
PHG4Detector::OverlapCheck
(chk);
66
ePHENIXRICHConstruction::OverlapCheck(chk);
67
}
68
69
private
:
70
G4Region
*
_region
;
71
};
72
73
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4rich
PHG4RICHDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:48
using
1.8.2 with
ECCE GitHub integration