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