File DD4hepLayerStructure.hpp
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
namespace Experimental
-
class DD4hepLayerStructure
- #include <Acts/Plugins/DD4hep/DD4hepLayerStructure.hpp>
This class allows to generate layer structure builders for dd4hep sub detectors It performs an intermediate step by taking dd4hep::DetElemnent objects that describe a detector structure and prepares the translation of the detector element and eventual passive surfaces.
It would also build passive support structures if configured to do so.
Public Functions
-
DD4hepLayerStructure() = delete
Constructor with DD4hepDetectorSurfaceFactory.
Note
this needs to be provided
- Parameters
surfaceFactory – the surfac factory which converts dd4hep::DetElement objects into their Acts coutnerparts
logger – is the screen output logger
-
std::shared_ptr<LayerStructureBuilder> builder(DD4hepDetectorElement::Store &dd4hepStore, const dd4hep::DetElement &dd4hepElement, const Options &options) const
This method generates a LayerStructure builder, which extends the IInternalStructureBuilder and can be used in the conjunction with a IExternalStructureBuilder to create
DetectorVolume
objects.It takes the detector element from DD4hep and some optional parameters
- Parameters
dd4hepStore – [in, out] the detector store for the built elements
dd4hepElement – the dd4hep detector element
options – containing the optional descriptions
- Returns
a LayerStructureBuilder
Private Members
-
std::shared_ptr<DD4hepDetectorSurfaceFactory> m_surfaceFactory = nullptr
The workorse: the surface factory.
-
struct Options
- #include <Acts/Plugins/DD4hep/DD4hepLayerStructure.hpp>
Nested options struct.
If a binning description or a support cylinder description is chosen through options, it overwrites the corresponding description coming from DD4hep.
-
DD4hepLayerStructure() = delete
-
class DD4hepLayerStructure
-
namespace Experimental
-
namespace dd4hep