ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_FwdCoolingBlock.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
12class GeoMaterial;
13class GeoVPhysVol;
14
15
17
18{
19
20
21public:
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,
31
32public:
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
40private:
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;
53
54};
55
56#endif // SCT_GEOMODEL_SCT_COOLINGBLOCK_H
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
virtual GeoVPhysVol * build()
SCT_FwdCoolingBlock(const std::string &name, int hiLo, int mainOrSecondary, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
const GeoMaterial * material() const
const GeoMaterial * m_material
double offsetFromDisc() const
SCT_SharedComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr)