ATLAS Offline Software
SCT_Flange.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_FLANGE_H
6 #define SCT_GEOMODEL_SCT_FLANGE_H
7 
9 
10 #include <string>
11 
12 class GeoMaterial;
13 
15 {
16 
17 public:
18  SCT_Flange(const std::string & name, int iLayer,
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 = 0.0;
41  double m_radialWidth = 0.0;
42 };
43 
44 #endif // SCT_GEOMODEL_SCT_FLANGE_H
45 
SCT_Flange::m_iLayer
int m_iLayer
Definition: SCT_Flange.h:34
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_Flange
Definition: SCT_Flange.h:15
SCT_Flange::outerRadius
double outerRadius() const
Definition: SCT_Flange.h:26
SCT_ComponentFactory.h
SCT_Flange::SCT_Flange
SCT_Flange(const std::string &name, int iLayer, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_Flange.cxx:18
SCT_Flange::innerRadius
double innerRadius() const
Definition: SCT_Flange.h:25
SCT_Flange::material
const GeoMaterial * material() const
Definition: SCT_Flange.h:24
SCT_Flange::build
virtual GeoVPhysVol * build()
Definition: SCT_Flange.cxx:51
SCT_Flange::m_material
const GeoMaterial * m_material
Definition: SCT_Flange.h:36
SCT_Flange::m_length
double m_length
Definition: SCT_Flange.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_Flange::getParameters
void getParameters()
Definition: SCT_Flange.cxx:31
SCT_Flange::length
double length() const
Definition: SCT_Flange.h:27
SCT_Flange::m_outerRadius
double m_outerRadius
Definition: SCT_Flange.h:39
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_Flange::m_radialWidth
double m_radialWidth
Definition: SCT_Flange.h:41
SCT_Flange::m_materialName
std::string m_materialName
Definition: SCT_Flange.h:37
SCT_Flange::m_innerRadius
double m_innerRadius
Definition: SCT_Flange.h:38
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25