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