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
PHG4ConeDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ConeDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4CONEDETECTOR_H
4
#define G4DETECTORS_PHG4CONEDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <string>
// for string
9
10
class
G4LogicalVolume
;
11
class
G4VPhysicalVolume
;
12
class
PHCompositeNode
;
13
class
PHG4ConeDisplayAction
;
14
class
PHG4Subsystem
;
15
class
PHParameters
;
16
17
class
PHG4ConeDetector
:
public
PHG4Detector
18
{
19
public
:
21
PHG4ConeDetector
(
PHG4Subsystem
* subsys,
PHCompositeNode
* Node,
PHParameters
*
parameters
,
const
std::string& dnam,
const
int
lyr = 0);
22
24
~PHG4ConeDetector
(
void
)
override
25
{
26
}
27
29
void
ConstructMe
(
G4LogicalVolume
*
world
)
override
;
30
32
33
bool
IsInConeActive
(
G4VPhysicalVolume
*);
35
36
void
SuperDetector
(
const
std::string&
name
) {
superdetector
=
name
; }
37
const
std::string
SuperDetector
()
const
{
return
superdetector
; }
38
int
get_Layer
()
const
{
return
layer
; }
39
40
private
:
41
PHParameters
*
m_Params
=
nullptr
;
42
43
G4VPhysicalVolume
*
m_ConePhysVol
=
nullptr
;
44
PHG4ConeDisplayAction
*
m_DisplayAction
=
nullptr
;
45
46
int
layer
= -9999;
47
std::string
superdetector
;
48
};
49
50
#endif
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4ConeDetector.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:40
using
1.8.2 with
ECCE GitHub integration