ATLAS Offline Software
SCT_FwdThermalShieldElement.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_FWDTHERMALSHIELDELEMENT_H
6 #define SCT_GEOMODEL_SCT_FWDTHERMALSHIELDELEMENT_H
7 
9 
10 #include <string>
11 
12 class GeoMaterial;
13 
15 {
16 
17 public:
18  SCT_FwdThermalShieldElement(const std::string & name, int iElement,
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 zMax() const {return m_zMax;}
28  double zMin() const {return m_zMin;}
29 
30  double length() const {return m_length;}
31  double radialThickness() const {return m_outerRadius - m_innerRadius;}
32  double zPosition() const {return 0.5*(m_zMin+m_zMax);}
33 
34 
35 private:
36 
37  void getParameters();
38  virtual GeoVPhysVol * build();
39 
40  std::string m_materialName;
41  const GeoMaterial * m_material = nullptr;
42 
44  double m_innerRadius = 0.0;
45  double m_outerRadius = 0.0;
46  double m_zMin = 0.0;
47  double m_zMax = 0.0;
48 
49  double m_length = 0.0;
50 };
51 
52 #endif // SCT_GEOMODEL_SCT_FWDTHERMALSHIELDELEMENT_H
53 
SCT_FwdThermalShieldElement::m_materialName
std::string m_materialName
Definition: SCT_FwdThermalShieldElement.h:40
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
SCT_FwdThermalShieldElement::m_zMax
double m_zMax
Definition: SCT_FwdThermalShieldElement.h:47
SCT_FwdThermalShieldElement::m_iElement
int m_iElement
Definition: SCT_FwdThermalShieldElement.h:43
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdThermalShieldElement::length
double length() const
Definition: SCT_FwdThermalShieldElement.h:30
SCT_FwdThermalShieldElement::getParameters
void getParameters()
Definition: SCT_FwdThermalShieldElement.cxx:32
SCT_FwdThermalShieldElement::m_outerRadius
double m_outerRadius
Definition: SCT_FwdThermalShieldElement.h:45
SCT_FwdThermalShieldElement::innerRadius
double innerRadius() const
Definition: SCT_FwdThermalShieldElement.h:25
SCT_FwdThermalShieldElement
Definition: SCT_FwdThermalShieldElement.h:15
SCT_FwdThermalShieldElement::SCT_FwdThermalShieldElement
SCT_FwdThermalShieldElement(const std::string &name, int iElement, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdThermalShieldElement.cxx:19
SCT_ComponentFactory.h
SCT_FwdThermalShieldElement::outerRadius
double outerRadius() const
Definition: SCT_FwdThermalShieldElement.h:26
SCT_FwdThermalShieldElement::m_material
const GeoMaterial * m_material
Definition: SCT_FwdThermalShieldElement.h:41
SCT_FwdThermalShieldElement::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdThermalShieldElement.cxx:47
SCT_FwdThermalShieldElement::zPosition
double zPosition() const
Definition: SCT_FwdThermalShieldElement.h:32
SCT_FwdThermalShieldElement::m_length
double m_length
Definition: SCT_FwdThermalShieldElement.h:49
SCT_FwdThermalShieldElement::radialThickness
double radialThickness() const
Definition: SCT_FwdThermalShieldElement.h:31
SCT_FwdThermalShieldElement::material
const GeoMaterial * material() const
Definition: SCT_FwdThermalShieldElement.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_FwdThermalShieldElement::zMin
double zMin() const
Definition: SCT_FwdThermalShieldElement.h:28
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdThermalShieldElement::zMax
double zMax() const
Definition: SCT_FwdThermalShieldElement.h:27
SCT_FwdThermalShieldElement::m_innerRadius
double m_innerRadius
Definition: SCT_FwdThermalShieldElement.h:44
SCT_FwdThermalShieldElement::m_zMin
double m_zMin
Definition: SCT_FwdThermalShieldElement.h:46
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25