ATLAS Offline Software
SCT_FwdSubSpine.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_FWDSUBSPINE_H
6 #define SCT_GEOMODEL_SCT_FWDSUBSPINE_H
7 
8 
10 
11 #include <string>
12 
13 #define SUBSPINE_LEFT 1
14 #define SUBSPINE_RIGHT -1
15 
16 class GeoMaterial;
17 class GeoVPhysVol;
18 
20 {
21 
22 public:
23  SCT_FwdSubSpine(const std::string & name, int ringType, int spineSide,
24  InDetDD::SCT_DetectorManager* detectorManager,
25  SCT_GeometryManager* geometryManager,
26  SCT_MaterialManager* materials);
27 
28 public:
29  const GeoMaterial * material() const {return m_material;}
30 
31  //Sub spines:
32  double innerThickness() const {return m_thickness1;}
33  double innerWidth() const {return m_width1;}
34  double innerLength() const {return m_length1;}
35 
36  double middleThickness() const {return m_thickness2;}
37  double middleWidth() const {return m_width2;}
38  double middleLength() const {return m_length2;}
39 
40  double outerThickness() const {return m_thickness3;}
41  double outerWidth() const {return m_width3;}
42  double outerLength() const {return m_length3;}
43 
44  virtual GeoVPhysVol * build();
45 
46 private:
47  void getParameters();
48 
51  const GeoMaterial * m_material = nullptr;
52 
53  double m_thickness1 = 0.0;
54  double m_width1 = 0.0;
55  double m_length1 = 0.0;
56 
57  double m_thickness2 = 0.0;
58  double m_width2 = 0.0;
59  double m_length2 = 0.0;
60 
61  double m_thickness3 = 0.0;
62  double m_width3 = 0.0;
63  double m_length3 = 0.0;
64 
65 };
66 
67 #endif // SCT_GEOMODEL_SCT_FWDSUBSPINE_H
68 
69 
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdSubSpine::m_ringType
int m_ringType
Definition: SCT_FwdSubSpine.h:49
SCT_FwdSubSpine::m_width3
double m_width3
Definition: SCT_FwdSubSpine.h:62
SCT_FwdSubSpine::m_width1
double m_width1
Definition: SCT_FwdSubSpine.h:54
SCT_FwdSubSpine::outerThickness
double outerThickness() const
Definition: SCT_FwdSubSpine.h:40
SCT_FwdSubSpine::innerLength
double innerLength() const
Definition: SCT_FwdSubSpine.h:34
SCT_FwdSubSpine::outerWidth
double outerWidth() const
Definition: SCT_FwdSubSpine.h:41
SCT_FwdSubSpine::middleLength
double middleLength() const
Definition: SCT_FwdSubSpine.h:38
SCT_FwdSubSpine::m_length3
double m_length3
Definition: SCT_FwdSubSpine.h:63
SCT_FwdSubSpine::outerLength
double outerLength() const
Definition: SCT_FwdSubSpine.h:42
SCT_ComponentFactory.h
SCT_FwdSubSpine::m_width2
double m_width2
Definition: SCT_FwdSubSpine.h:58
SCT_FwdSubSpine::middleThickness
double middleThickness() const
Definition: SCT_FwdSubSpine.h:36
SCT_FwdSubSpine::m_thickness3
double m_thickness3
Definition: SCT_FwdSubSpine.h:61
SCT_FwdSubSpine::innerWidth
double innerWidth() const
Definition: SCT_FwdSubSpine.h:33
SCT_FwdSubSpine::m_material
const GeoMaterial * m_material
Definition: SCT_FwdSubSpine.h:51
SCT_FwdSubSpine::material
const GeoMaterial * material() const
Definition: SCT_FwdSubSpine.h:29
SCT_FwdSubSpine::getParameters
void getParameters()
Definition: SCT_FwdSubSpine.cxx:52
SCT_FwdSubSpine::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdSubSpine.cxx:75
SCT_FwdSubSpine::m_spineSide
int m_spineSide
Definition: SCT_FwdSubSpine.h:50
SCT_FwdSubSpine::m_length2
double m_length2
Definition: SCT_FwdSubSpine.h:59
SCT_FwdSubSpine::SCT_FwdSubSpine
SCT_FwdSubSpine(const std::string &name, int ringType, int spineSide, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdSubSpine.cxx:37
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_FwdSubSpine::m_thickness2
double m_thickness2
Definition: SCT_FwdSubSpine.h:57
SCT_FwdSubSpine::middleWidth
double middleWidth() const
Definition: SCT_FwdSubSpine.h:37
SCT_FwdSubSpine::m_thickness1
double m_thickness1
Definition: SCT_FwdSubSpine.h:53
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdSubSpine
Definition: SCT_FwdSubSpine.h:20
SCT_FwdSubSpine::m_length1
double m_length1
Definition: SCT_FwdSubSpine.h:55
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25
SCT_FwdSubSpine::innerThickness
double innerThickness() const
Definition: SCT_FwdSubSpine.h:32