ATLAS Offline Software
SCT_SupportCyl.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SCT_GEOMODEL_SCT_SUPPORTCYL_H
6 #define SCT_GEOMODEL_SCT_SUPPORTCYL_H
7 
9 
10 #include <string>
11 
12 class GeoMaterial;
13 
15 {
16 
17 public:
18  SCT_SupportCyl(const std::string & name, int iLayer, double length,
19  InDetDD::SCT_DetectorManager* detectorManager,
20  SCT_GeometryManager* geometryManager,
21  SCT_MaterialManager* materials);
22 
23 public:
24  const GeoMaterial * material() const {return m_material;}
25  double innerRadius() const {return m_innerRadius;}
26  double outerRadius() const {return m_outerRadius;}
27  double length() const {return m_length;}
28 
29 
30 private:
31  void getParameters();
32  virtual GeoVPhysVol * build();
33 
34  int m_iLayer;
35 
36  const GeoMaterial * m_material = nullptr;
37  std::string m_materialName;
38  double m_innerRadius = 0.0;
39  double m_outerRadius = 0.0;
40  double m_length;
41 };
42 
43 #endif // SCT_GEOMODEL_SCT_SUPPORTCYL_H
44 
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_SupportCyl::m_material
const GeoMaterial * m_material
Definition: SCT_SupportCyl.h:36
SCT_SupportCyl::m_iLayer
int m_iLayer
Definition: SCT_SupportCyl.h:34
SCT_SupportCyl::m_length
double m_length
Definition: SCT_SupportCyl.h:40
SCT_ComponentFactory.h
SCT_SupportCyl::length
double length() const
Definition: SCT_SupportCyl.h:27
SCT_SupportCyl::m_outerRadius
double m_outerRadius
Definition: SCT_SupportCyl.h:39
SCT_SupportCyl::outerRadius
double outerRadius() const
Definition: SCT_SupportCyl.h:26
SCT_SupportCyl::innerRadius
double innerRadius() const
Definition: SCT_SupportCyl.h:25
SCT_SupportCyl::SCT_SupportCyl
SCT_SupportCyl(const std::string &name, int iLayer, double length, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_SupportCyl.cxx:18
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_SupportCyl::material
const GeoMaterial * material() const
Definition: SCT_SupportCyl.h:24
SCT_SupportCyl::build
virtual GeoVPhysVol * build()
Definition: SCT_SupportCyl.cxx:42
SCT_SupportCyl
Definition: SCT_SupportCyl.h:15
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_SupportCyl::m_materialName
std::string m_materialName
Definition: SCT_SupportCyl.h:37
SCT_SupportCyl::m_innerRadius
double m_innerRadius
Definition: SCT_SupportCyl.h:38
SCT_SupportCyl::getParameters
void getParameters()
Definition: SCT_SupportCyl.cxx:31
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25