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