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