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