ATLAS Offline Software
SCT_FwdOptoHarness.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_FWDOPTOHARNESS_H
6 #define SCT_GEOMODEL_SCT_FWDOPTOHARNESS_H
7 
9 
10 class GeoMaterial;
11 
13 {
14 
15 public:
16  SCT_FwdOptoHarness(const std::string & name, int iType,
17  InDetDD::SCT_DetectorManager* detectorManager,
18  SCT_GeometryManager* geometryManager,
19  SCT_MaterialManager* materials);
20 
21  //
22  // Methods to return basic and derived parameters.
23  //
24  const GeoMaterial * material() const {return m_material;}
25  double innerRadius() const {return m_innerRadius;}
26  double outerRadius() const {return m_outerRadius;}
27  double thickness() const {return m_thickness;}
28 
29 
30 private:
31  void getParameters();
32  virtual GeoVPhysVol * build();
33 
34  int m_type;
35 
36  double m_innerRadius = 0.0;
37  double m_outerRadius = 0.0;
38  double m_thickness = 0.0;
39  const GeoMaterial * m_material = nullptr;
40  std::string m_materialName;
41 
42  int m_index = 0;
43 
44 };
45 
46 #endif // SCT_GEOMODEL_SCT_FWDOPTOHARNESS_H
47 
SCT_FwdOptoHarness::innerRadius
double innerRadius() const
Definition: SCT_FwdOptoHarness.h:25
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdOptoHarness::m_outerRadius
double m_outerRadius
Definition: SCT_FwdOptoHarness.h:37
SCT_FwdOptoHarness
Definition: SCT_FwdOptoHarness.h:13
SCT_FwdOptoHarness::m_material
const GeoMaterial * m_material
Definition: SCT_FwdOptoHarness.h:39
SCT_FwdOptoHarness::m_materialName
std::string m_materialName
Definition: SCT_FwdOptoHarness.h:40
SCT_ComponentFactory.h
SCT_FwdOptoHarness::thickness
double thickness() const
Definition: SCT_FwdOptoHarness.h:27
SCT_FwdOptoHarness::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdOptoHarness.cxx:57
SCT_FwdOptoHarness::m_index
int m_index
Definition: SCT_FwdOptoHarness.h:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_FwdOptoHarness::material
const GeoMaterial * material() const
Definition: SCT_FwdOptoHarness.h:24
SCT_FwdOptoHarness::m_type
int m_type
Definition: SCT_FwdOptoHarness.h:34
SCT_FwdOptoHarness::getParameters
void getParameters()
Definition: SCT_FwdOptoHarness.cxx:35
SCT_FwdOptoHarness::m_thickness
double m_thickness
Definition: SCT_FwdOptoHarness.h:38
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdOptoHarness::m_innerRadius
double m_innerRadius
Definition: SCT_FwdOptoHarness.h:36
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25
SCT_FwdOptoHarness::outerRadius
double outerRadius() const
Definition: SCT_FwdOptoHarness.h:26
SCT_FwdOptoHarness::SCT_FwdOptoHarness
SCT_FwdOptoHarness(const std::string &name, int iType, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdOptoHarness.cxx:22