![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GeoModelRead/ReadGeoModel.h"
13 #include "GeoModelKernel/GeoBox.h"
14 #include "GeoModelKernel/GeoLogVol.h"
15 #include "GeoModelKernel/GeoFullPhysVol.h"
16 #include "GeoModelKernel/GeoMaterial.h"
24 #include "GaudiKernel/SystemOfUnits.h"
32 GeoModelIO::ReadGeoModel* sqliteReader,
33 std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
34 std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX)
36 m_noElementWarning{
true}
87 double stripPitch =
parameters->sensorStripPitch();
88 double stripLength =
parameters->sensorStripLength();
90 double distCenterToCenter =
parameters->sensorDistCenterToCenter();
101 double totalDeadLength = distCenterToCenter - stripLength;
103 double xEtaStripPatternCenter = 0;
104 double xPhiStripPatternCenter = 0;
107 bool swapStripReadout =
false;
110 int readoutSide = +1;
113 std::unique_ptr<SCT_BarrelModuleSideDesign> design = std::make_unique<SCT_BarrelModuleSideDesign>(
m_thickness,
122 xEtaStripPatternCenter,
123 xPhiStripPatternCenter,
147 GeoFullPhysVol * sensor;
152 sensor=(*m_mapFPV)[
key];
180 std::cout <<
"WARNING!!!!: No SCT id helper and so no elements being produced." << std::endl;
SCT_GeometryManager * m_geometryManager
const AtlasDetectorID * getIdHelper() const
const InDetDD::SiCommonItems * commonItems() const
const SiDetectorDesign * addDesign(std::unique_ptr< const SiDetectorDesign > &&)
Access to module design; returns an observer pointer.
InDetDD::SCT_DetectorManager * m_detectorManager
SCT_Sensor(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)
const GeoMaterial * m_material
std::atomic_bool m_noElementWarning
const SCT_BarrelModuleParameters * barrelModuleParameters() const
SCT_MaterialManager * m_materials
std::string to_string(const DetectorType &type)
const GeoLogVol * m_logVolume
virtual GeoVPhysVol * build(SCT_Identifier id)
const GeoMaterial * getMaterial(const std::string &materialName)
virtual void addDetectorElement(SiDetectorElement *element) override
Add elememts during construction.
const InDetDD::SiDetectorDesign * m_design
virtual const GeoLogVol * preBuild()
GeoModelIO::ReadGeoModel * m_sqliteReader
const std::string & getName() const