ATLAS Offline Software
SCT_FwdModuleConnector.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_FWDMODULECONNECTOR_H
6 #define SCT_GEOMODEL_SCT_FWDMODULECONNECTOR_H
7 
9 
10 class GeoMaterial;
11 
13 {
14 
15 public:
16  SCT_FwdModuleConnector(const std::string & name, int ringType,
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 deltaR() const {return m_deltaR;}
26  double rphi() const {return m_rphi;}
27  double thickness() const {return m_thickness;}
28 
29 
30 private:
31  void getParameters();
32  virtual GeoVPhysVol * build();
33 
35 
36  double m_deltaR = 0.0;
37  double m_rphi = 0.0;
38  double m_thickness = 0.0;
39  const GeoMaterial * m_material = nullptr;
40  std::string m_materialName;
41 
42 };
43 
44 #endif // SCT_GEOMODEL_SCT_FWDMODULECONNECTOR_H
45 
SCT_FwdModuleConnector::getParameters
void getParameters()
Definition: SCT_FwdModuleConnector.cxx:34
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdModuleConnector::m_rphi
double m_rphi
Definition: SCT_FwdModuleConnector.h:37
SCT_FwdModuleConnector
Definition: SCT_FwdModuleConnector.h:13
SCT_FwdModuleConnector::thickness
double thickness() const
Definition: SCT_FwdModuleConnector.h:27
SCT_ComponentFactory.h
SCT_FwdModuleConnector::m_materialName
std::string m_materialName
Definition: SCT_FwdModuleConnector.h:40
SCT_FwdModuleConnector::m_thickness
double m_thickness
Definition: SCT_FwdModuleConnector.h:38
SCT_FwdModuleConnector::material
const GeoMaterial * material() const
Definition: SCT_FwdModuleConnector.h:24
SCT_FwdModuleConnector::rphi
double rphi() const
Definition: SCT_FwdModuleConnector.h:26
SCT_FwdModuleConnector::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdModuleConnector.cxx:45
SCT_FwdModuleConnector::m_ringType
int m_ringType
Definition: SCT_FwdModuleConnector.h:34
SCT_FwdModuleConnector::deltaR
double deltaR() const
Definition: SCT_FwdModuleConnector.h:25
SCT_FwdModuleConnector::SCT_FwdModuleConnector
SCT_FwdModuleConnector(const std::string &name, int ringType, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdModuleConnector.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_FwdModuleConnector::m_material
const GeoMaterial * m_material
Definition: SCT_FwdModuleConnector.h:39
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdModuleConnector::m_deltaR
double m_deltaR
Definition: SCT_FwdModuleConnector.h:36
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25