ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::DD4hepDetectorElementExtension Struct Reference

This extension holds an ACTS detector element belonging to a DD4hep detector element, and synchronizes ownership. More...

#include <ActsPlugins/DD4hep/DD4hepDetectorElement.hpp>

Public Member Functions

 DD4hepDetectorElementExtension (std::shared_ptr< DD4hepDetectorElement > de)
 Constructor from shared pointer to DD4hep detector element.
const DD4hepDetectorElementdetectorElement () const
 Access the underlying DD4hep detector element.

Detailed Description

This extension holds an ACTS detector element belonging to a DD4hep detector element, and synchronizes ownership.

Constructor & Destructor Documentation

◆ DD4hepDetectorElementExtension()

ActsPlugins::DD4hepDetectorElementExtension::DD4hepDetectorElementExtension ( std::shared_ptr< DD4hepDetectorElement > de)
explicit

Constructor from shared pointer to DD4hep detector element.

Parameters
deThe DD4hep detector element to wrap (must not be nullptr)

Member Function Documentation

◆ detectorElement()

const DD4hepDetectorElement & ActsPlugins::DD4hepDetectorElementExtension::detectorElement ( ) const

Access the underlying DD4hep detector element.

Returns
The DD4hep detector element