Class Acts::Experimental::DD4hepLayerStructure

class DD4hepLayerStructure

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
DD4hepLayerStructure(std::shared_ptr<DD4hepDetectorSurfaceFactory> surfaceFactory, std::unique_ptr<const Logger> logger = getDefaultLogger("DD4hepLayerStructure", Acts::Logging::INFO))

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

struct Options

Nested options struct.

If a binning description or a support cylinder description is chosen through options, it overwrites the corresponding description coming from DD4hep.

Public Members

DD4hepDetectorSurfaceFactory::Options conversionOptions

Conversion options.

Logging::Level logLevel = Logging::INFO

An out put log level.

std::string name = ""

The name of the object.

unsigned int nSegments = 1u

Approximation for the polyhedron binning nSegments.