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