Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
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
using
PHG4Detector::OverlapCheck
;
// not implementing all OverlapChecc methods
41
void
OverlapCheck
(
const
bool
chk)
override
42
{
43
PHG4Detector::OverlapCheck
(chk);
44
PHG4SectorConstructor::OverlapCheck(chk);
45
}
46
47
private
:
48
PHG4SectorDisplayAction
*
m_DisplayAction
;
49
50
std::string
superdetector
;
51
};
52
53
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4SectorDetector.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration