ATLAS Offline Software
SCT_FwdPatchPanel.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_FWDPATCHPANEL_H
6 #define SCT_GEOMODEL_SCT_FWDPATCHPANEL_H
7 
9 
10 class GeoMaterial;
11 
13 {
14 
15 public:
16  SCT_FwdPatchPanel(const std::string & name, int type,
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_midRadius - 0.5*m_deltaR;}
26  double outerRadius() const {return m_midRadius + 0.5*m_deltaR;}
27  double midRadius() const {return m_midRadius;}
28  double deltaR() const {return m_deltaR;}
29  double rphi() const {return m_rphi;}
30  double thickness() const {return m_thickness;}
31 
32 
33 private:
34  void getParameters();
35  virtual GeoVPhysVol * build();
36 
37  int m_type;
38 
39  // Basic parameters
40  double m_midRadius = 0.0;
41  double m_deltaR = 0.0;
42  double m_rphi = 0.0;
43  double m_thickness = 0.0;
44  const GeoMaterial * m_material = nullptr;
45  std::string m_materialName;
46 
47 };
48 
49 #endif // SCT_GEOMODEL_SCT_FWDPATCHPANEL_H
50 
SCT_FwdPatchPanel
Definition: SCT_FwdPatchPanel.h:13
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdPatchPanel::m_deltaR
double m_deltaR
Definition: SCT_FwdPatchPanel.h:41
SCT_FwdPatchPanel::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdPatchPanel.cxx:43
SCT_FwdPatchPanel::outerRadius
double outerRadius() const
Definition: SCT_FwdPatchPanel.h:26
SCT_FwdPatchPanel::material
const GeoMaterial * material() const
Definition: SCT_FwdPatchPanel.h:24
SCT_ComponentFactory.h
SCT_FwdPatchPanel::deltaR
double deltaR() const
Definition: SCT_FwdPatchPanel.h:28
SCT_FwdPatchPanel::m_type
int m_type
Definition: SCT_FwdPatchPanel.h:37
SCT_FwdPatchPanel::SCT_FwdPatchPanel
SCT_FwdPatchPanel(const std::string &name, int type, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdPatchPanel.cxx:18
SCT_FwdPatchPanel::m_thickness
double m_thickness
Definition: SCT_FwdPatchPanel.h:43
SCT_FwdPatchPanel::m_midRadius
double m_midRadius
Definition: SCT_FwdPatchPanel.h:40
SCT_FwdPatchPanel::m_materialName
std::string m_materialName
Definition: SCT_FwdPatchPanel.h:45
SCT_FwdPatchPanel::getParameters
void getParameters()
Definition: SCT_FwdPatchPanel.cxx:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_FwdPatchPanel::thickness
double thickness() const
Definition: SCT_FwdPatchPanel.h:30
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdPatchPanel::midRadius
double midRadius() const
Definition: SCT_FwdPatchPanel.h:27
SCT_FwdPatchPanel::innerRadius
double innerRadius() const
Definition: SCT_FwdPatchPanel.h:25
SCT_FwdPatchPanel::rphi
double rphi() const
Definition: SCT_FwdPatchPanel.h:29
SCT_FwdPatchPanel::m_material
const GeoMaterial * m_material
Definition: SCT_FwdPatchPanel.h:44
SCT_FwdPatchPanel::m_rphi
double m_rphi
Definition: SCT_FwdPatchPanel.h:42
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25