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
PHG4SectorDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4SectorDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4SECTORDETECTOR_H
4
#define G4DETECTORS_PHG4SECTORDETECTOR_H
5
6
#include "
PHG4SectorConstructor.h
"
7
8
#include <
g4main/PHG4Detector.h
>
9
10
#include <string>
// for string
11
12
class
G4LogicalVolume
;
13
class
G4VPhysicalVolume
;
14
class
PHCompositeNode
;
15
class
PHG4SectorDisplayAction
;
16
class
PHG4Subsystem
;
17
18
class
PHG4SectorDetector
:
public
PHG4Detector
,
public
PHG4Sector::PHG4SectorConstructor
19
{
20
public
:
22
PHG4SectorDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
const
std::string &dnam);
23
25
~PHG4SectorDetector
(
void
)
override
26
{
27
}
28
30
void
ConstructMe
(
G4LogicalVolume
*
world
)
override
;
31
33
34
bool
IsInSectorActive
(
G4VPhysicalVolume
*physvol);
36
37
void
SuperDetector
(
const
std::string &
name
) {
superdetector
=
name
; }
38
const
std::string
SuperDetector
()
const
{
return
superdetector
; }
39
40
void
OverlapCheck
(
const
bool
chk =
true
)
override
41
{
42
PHG4Detector::OverlapCheck
(chk);
43
PHG4SectorConstructor::OverlapCheck(chk);
44
}
45
46
private
:
47
PHG4SectorDisplayAction
*
m_DisplayAction
;
48
49
std::string
superdetector
;
50
};
51
52
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4SectorDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:41
using
1.8.2 with
ECCE GitHub integration