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