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