ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_Barrel.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_BARREL_H
6#define SCT_GEOMODEL_SCT_BARREL_H
7
9
10class GeoVPhysVol;
11class GeoFullPhysVol;
12class GeoLogVol;
13class SCT_Identifier;
14
15
17{
18
19public:
20 SCT_Barrel(const std::string & name,
21 InDetDD::SCT_DetectorManager* detectorManager,
22 SCT_GeometryManager* geometryManager,
23 SCT_MaterialManager* materials,
24 GeoModelIO::ReadGeoModel* sqliteReader,
25 std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
26 std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX);
27 virtual GeoVPhysVol * build(SCT_Identifier id);
28
29public:
30 int numLayers() const {return m_numLayers;}
31 double innerRadius() const {return m_innerRadius;}
32 double outerRadius() const {return m_outerRadius;}
33 double length() const {return m_length;}
34
35private:
36 void getParameters();
37 virtual const GeoLogVol * preBuild();
38
39 void buildThermalShield(GeoFullPhysVol * parent);
40 void buildEMIShield(GeoFullPhysVol * parent);
41
42
43 int m_numLayers = 0;
44
45 double m_innerRadius = 0.0;
46 double m_outerRadius = 0.0;
47 double m_length = 0.0;
48
50
51 double m_zClearance = 0.0;
52
53 bool m_isOldGeometry = false;
54
55};
56
57#endif // SCT_GEOMODEL_SCT_BARREL_H
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
void getParameters()
double outerRadius() const
Definition SCT_Barrel.h:32
double innerRadius() const
Definition SCT_Barrel.h:31
double m_length
Definition SCT_Barrel.h:47
SCT_Barrel(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX)
double length() const
Definition SCT_Barrel.h:33
virtual GeoVPhysVol * build(SCT_Identifier id)
double m_innerRadius
Definition SCT_Barrel.h:45
int m_numLayers
Definition SCT_Barrel.h:43
double m_thermalShieldEndWallThickness
Definition SCT_Barrel.h:49
double m_outerRadius
Definition SCT_Barrel.h:46
void buildThermalShield(GeoFullPhysVol *parent)
int numLayers() const
Definition SCT_Barrel.h:30
bool m_isOldGeometry
Definition SCT_Barrel.h:53
double m_zClearance
Definition SCT_Barrel.h:51
virtual const GeoLogVol * preBuild()
void buildEMIShield(GeoFullPhysVol *parent)
SCT_UniqueComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr, GeoModelIO::ReadGeoModel *sqliteReader=nullptr, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV=nullptr, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX=nullptr)