EIC Software
Reference for
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
PHG4CylinderStripDetector.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CylinderStripDetector.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef G4DETECTORS_PHG4CYLINDERSTRIPDETECTOR_H
4
#define G4DETECTORS_PHG4CYLINDERSTRIPDETECTOR_H
5
6
#include <
g4main/PHG4Detector.h
>
7
8
#include <set>
9
#include <string>
10
11
class
G4LogicalVolume;
12
class
G4VPhysicalVolume;
13
class
PHCompositeNode
;
14
class
PHG4Subsystem
;
15
class
PHParameters
;
16
17
class
PHG4CylinderStripDetector
:
public
PHG4Detector
18
{
19
public
:
21
PHG4CylinderStripDetector
(
PHG4Subsystem
*subsys,
PHCompositeNode
*Node,
PHParameters
*
parameters
,
const
std::string &dnam,
const
int
layer
= 0);
22
24
virtual
~PHG4CylinderStripDetector
()
25
{
26
}
27
29
void
ConstructMe
(G4LogicalVolume *
world
);
30
31
//bool IsInDetector(G4VPhysicalVolume *) const;
32
bool
IsInTileC
(G4VPhysicalVolume *)
const
;
33
bool
IsInTileZ
(G4VPhysicalVolume *)
const
;
34
void
SuperDetector
(
const
std::string &
name
) {
m_SuperDetector
=
name
; }
35
const
std::string
SuperDetector
()
const
{
return
m_SuperDetector
; }
36
int
get_Layer
()
const
{
return
m_Layer
; }
37
void
BuildMaterials
();
38
39
private
:
40
PHParameters
*
m_Params
;
41
42
G4VPhysicalVolume *
m_CylinderPhysicalVolume
;
43
std::set<G4VPhysicalVolume *>
m_CylinderCPhysicalVolume
;
44
std::set<G4VPhysicalVolume *>
m_CylinderZPhysicalVolume
;
45
46
//std::set<G4VPhysicalVolume*> m_PhysicalVolumesSet;
47
48
int
m_Layer
;
49
std::string
m_SuperDetector
;
50
G4VSolid *
GetHollowBar
();
51
double
thickness
;
52
double
barwidth
;
53
};
54
55
#endif
fun4all_eicdetectors
blob
master
simulation
g4simulation
g4barrelmmg
PHG4CylinderStripDetector.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:51
using
1.8.2 with
EIC GitHub integration