File indexing completed on 2025-08-05 08:10:16
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/Plugins/DD4hep/DD4hepDetectorElement.hpp"
0010
0011 #include "Acts/Plugins/Identification/Identifier.hpp"
0012
0013 #include <utility>
0014
0015 #include <DD4hep/Alignments.h>
0016 #include <DD4hep/DetElement.h>
0017 #include <DD4hep/Volumes.h>
0018
0019 namespace Acts {
0020 class ISurfaceMaterial;
0021 }
0022
0023 Acts::DD4hepDetectorElement::DD4hepDetectorElement(
0024 const dd4hep::DetElement detElement, const std::string& axes, double scalor,
0025 bool , std::shared_ptr<const Acts::ISurfaceMaterial> material)
0026 : Acts::TGeoDetectorElement(Identifier(detElement.volumeID()),
0027 *(detElement.placement().ptr()),
0028 detElement.nominal().worldTransformation(),
0029 axes, scalor, std::move(material)),
0030 m_detElement(detElement) {}