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