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