ATLAS Offline Software
SCT_FwdCoolingBlock.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_FWDCOOLINGBLOCK_H
6 #define SCT_GEOMODEL_SCT_FWDCOOLINGBLOCK_H
7 
9 
10 #include <string>
11 
12 class GeoMaterial;
13 class GeoVPhysVol;
14 
15 
17 
18 {
19 
20 
21 public:
22  SCT_FwdCoolingBlock(const std::string & name, int hiLo, int mainOrSecondary,
23  InDetDD::SCT_DetectorManager* detectorManager,
24  SCT_GeometryManager* geometryManager,
25  SCT_MaterialManager* materials);
26 
27  enum types {UPPER = 1,
28  LOWER = -1,
29  MAIN = 0,
30  SECONDARY = 1};
31 
32 public:
33  const GeoMaterial * material() const {return m_material;}
34  double thickness() const {return m_thickness;}
35  double deltaR() const {return m_deltaR;}
36  double rphi() const {return m_rphi;}
37  double offsetFromDisc() const {return m_offset;}
38  double index() const {return m_coolingBlockIndex;}
39 
40 private:
41  void getParameters();
42  virtual GeoVPhysVol * build();
43 
44  const GeoMaterial * m_material = nullptr;
45  std::string m_materialName;
46  double m_thickness = 0.0;
47  double m_deltaR = 0.0;
48  double m_rphi = 0.0;
49  double m_offset = 0.0;
50  int m_hiLo;
51  int m_mainSec;
53 
54 };
55 
56 #endif // SCT_GEOMODEL_SCT_COOLINGBLOCK_H
SCT_MaterialManager
Definition: SCT_MaterialManager.h:21
SCT_FwdCoolingBlock::m_coolingBlockIndex
int m_coolingBlockIndex
Definition: SCT_FwdCoolingBlock.h:52
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_FwdCoolingBlock::m_materialName
std::string m_materialName
Definition: SCT_FwdCoolingBlock.h:45
SCT_FwdCoolingBlock::getParameters
void getParameters()
Definition: SCT_FwdCoolingBlock.cxx:33
SCT_FwdCoolingBlock::rphi
double rphi() const
Definition: SCT_FwdCoolingBlock.h:36
SCT_FwdCoolingBlock::m_mainSec
int m_mainSec
Definition: SCT_FwdCoolingBlock.h:51
SCT_FwdCoolingBlock::LOWER
@ LOWER
Definition: SCT_FwdCoolingBlock.h:28
SCT_FwdCoolingBlock::SCT_FwdCoolingBlock
SCT_FwdCoolingBlock(const std::string &name, int hiLo, int mainOrSecondary, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
Definition: SCT_FwdCoolingBlock.cxx:20
SCT_FwdCoolingBlock::m_rphi
double m_rphi
Definition: SCT_FwdCoolingBlock.h:48
SCT_ComponentFactory.h
SCT_FwdCoolingBlock
Definition: SCT_FwdCoolingBlock.h:18
SCT_FwdCoolingBlock::build
virtual GeoVPhysVol * build()
Definition: SCT_FwdCoolingBlock.cxx:60
SCT_FwdCoolingBlock::SECONDARY
@ SECONDARY
Definition: SCT_FwdCoolingBlock.h:30
SCT_FwdCoolingBlock::index
double index() const
Definition: SCT_FwdCoolingBlock.h:38
SCT_FwdCoolingBlock::m_offset
double m_offset
Definition: SCT_FwdCoolingBlock.h:49
SCT_FwdCoolingBlock::deltaR
double deltaR() const
Definition: SCT_FwdCoolingBlock.h:35
SCT_FwdCoolingBlock::m_material
const GeoMaterial * m_material
Definition: SCT_FwdCoolingBlock.h:44
SCT_FwdCoolingBlock::MAIN
@ MAIN
Definition: SCT_FwdCoolingBlock.h:29
SCT_FwdCoolingBlock::m_hiLo
int m_hiLo
Definition: SCT_FwdCoolingBlock.h:50
SCT_FwdCoolingBlock::m_thickness
double m_thickness
Definition: SCT_FwdCoolingBlock.h:46
SCT_FwdCoolingBlock::UPPER
@ UPPER
Definition: SCT_FwdCoolingBlock.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_FwdCoolingBlock::material
const GeoMaterial * material() const
Definition: SCT_FwdCoolingBlock.h:33
SCT_FwdCoolingBlock::offsetFromDisc
double offsetFromDisc() const
Definition: SCT_FwdCoolingBlock.h:37
SCT_SharedComponentFactory
Definition: SCT_ComponentFactory.h:56
SCT_FwdCoolingBlock::thickness
double thickness() const
Definition: SCT_FwdCoolingBlock.h:34
SCT_FwdCoolingBlock::types
types
Definition: SCT_FwdCoolingBlock.h:27
SCT_FwdCoolingBlock::m_deltaR
double m_deltaR
Definition: SCT_FwdCoolingBlock.h:47
SCT_GeometryManager
Definition: SCT_GeometryManager.h:25