File indexing completed on 2025-10-14 08:01:36
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "ActsPlugins/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 using namespace Acts;
0018
0019 namespace ActsPlugins {
0020
0021 DD4hepDetectorElement::DD4hepDetectorElement(
0022 const dd4hep::DetElement detElement, const std::string& axes, double scalor,
0023 bool , std::shared_ptr<const ISurfaceMaterial> material)
0024 : TGeoDetectorElement(
0025 static_cast<TGeoDetectorElement::Identifier>(detElement.volumeID()),
0026 *(detElement.placement().ptr()),
0027 detElement.nominal().worldTransformation(), axes, scalor,
0028 std::move(material)),
0029 m_detElement(detElement) {}
0030
0031 }