ATLAS Offline Software
SCT_FwdSpine.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_FWDSPINE_H
6 #define SCT_GEOMODEL_SCT_FWDSPINE_H
7 
9 
10 #include <string>
11 
12 class GeoMaterial;
13 class GeoVPhysVol;
14 
16 {
17 
18 public:
19  SCT_FwdSpine(const std::string & name, int ringType,
20  InDetDD::SCT_DetectorManager* detectorManager,
21  SCT_GeometryManager* geometryManager,
22  SCT_MaterialManager* materials);
23 
24 public:
25 
26  const GeoMaterial * material() const {return m_material;}
27  //Main spine:
28  double thickness() const {return m_thickness;}
29  double width() const {return m_width;}
30  double length() const {return m_length;}
31 
32  double moduleCenterToEnd() const {return m_moduleCenterToEnd;}
33 
34  virtual GeoVPhysVol * build();
35 
36 private:
37  void getParameters();
38 
40 
41  const GeoMaterial * m_material = nullptr;
42  std::string m_materialName;
43  double m_thickness = 0.0;
44  double m_width = 0.0;
45  double m_length = 0.0;
46  double m_moduleCenterToEnd = 0.0;
47  double m_moduleCenterToEndTmp = 0.0;
48 };
49 
50 #endif // SCT_GEOMODEL_SCT_FWDSPINE_H
51 
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdSpine::thickness
double thickness() const
Definition: SCT_FwdSpine.h:28
SCT_FwdSpine::SCT_FwdSpine
SCT_FwdSpine(const std::string &name, int ringType, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdSpine.cxx:32
SCT_FwdSpine::getParameters
void getParameters()
Definition: SCT_FwdSpine.cxx:45
SCT_FwdSpine::length
double length() const
Definition: SCT_FwdSpine.h:30
SCT_FwdSpine::material
const GeoMaterial * material() const
Definition: SCT_FwdSpine.h:26
SCT_FwdSpine::moduleCenterToEnd
double moduleCenterToEnd() const
Definition: SCT_FwdSpine.h:32
SCT_ComponentFactory.h
SCT_FwdSpine::m_materialName
std::string m_materialName
Definition: SCT_FwdSpine.h:42
SCT_FwdSpine::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdSpine.cxx:75
SCT_FwdSpine::m_thickness
double m_thickness
Definition: SCT_FwdSpine.h:43
SCT_FwdSpine::m_material
const GeoMaterial * m_material
Definition: SCT_FwdSpine.h:41
SCT_FwdSpine
Definition: SCT_FwdSpine.h:16
SCT_FwdSpine::m_ringType
int m_ringType
Definition: SCT_FwdSpine.h:39
SCT_FwdSpine::m_moduleCenterToEndTmp
double m_moduleCenterToEndTmp
Definition: SCT_FwdSpine.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_FwdSpine::m_width
double m_width
Definition: SCT_FwdSpine.h:44
SCT_FwdSpine::m_moduleCenterToEnd
double m_moduleCenterToEnd
Definition: SCT_FwdSpine.h:46
SCT_FwdSpine::width
double width() const
Definition: SCT_FwdSpine.h:29
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdSpine::m_length
double m_length
Definition: SCT_FwdSpine.h:45
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25