|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GeoModelRead/ReadGeoModel.h"
15 #include "GeoModelKernel/GeoBox.h"
16 #include "GeoModelKernel/GeoLogVol.h"
17 #include "GeoModelKernel/GeoFullPhysVol.h"
18 #include "GeoModelKernel/GeoMaterial.h"
26 #include "GaudiKernel/SystemOfUnits.h"
34 GeoModelIO::ReadGeoModel* sqliteReader,
35 std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
36 std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX)
38 m_noElementWarning{
true}
89 double stripPitch =
parameters->sensorStripPitch();
90 double stripLength =
parameters->sensorStripLength();
92 double distCenterToCenter =
parameters->sensorDistCenterToCenter();
103 double totalDeadLength = distCenterToCenter - stripLength;
105 double xEtaStripPatternCenter = 0;
106 double xPhiStripPatternCenter = 0;
109 bool swapStripReadout =
false;
112 int readoutSide = +1;
115 std::unique_ptr<SCT_BarrelModuleSideDesign> design = std::make_unique<SCT_BarrelModuleSideDesign>(
m_thickness,
124 xEtaStripPatternCenter,
125 xPhiStripPatternCenter,
149 GeoFullPhysVol * sensor;
154 sensor=(*m_mapFPV)[
key];
182 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