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