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