Class Acts::Experimental::DD4hepVolumeStructure

class DD4hepVolumeStructure

This class allows to generate volumes structure builders for dd4hep sub detectors, together with an internal structure builder, this is sufficient to build the new DetectorVolume objects.

Public Functions

DD4hepVolumeStructure() = delete
DD4hepVolumeStructure(std::unique_ptr<const Logger> mlogger = getDefaultLogger("DD4hepVolumeStructure", Acts::Logging::INFO))

Constructor with arguments.

Parameters

mlogger – is the screen output logger

std::shared_ptr<VolumeStructureBuilder> builder(const dd4hep::DetElement &dd4hepElement, const Options &options) const

This method generates a VolumeStructureBuilder, which extends the IExternalStructureBuilder to create DetectorVolume objects.

It takes the detector element from DD4hep and some optional parameters

Parameters
  • dd4hepElement – the dd4hep detector element

  • options – containing the optional descriptions

Returns

a VolumeStructureBuilder

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

Acts::Logging::Level logLevel = Acts::Logging::INFO

An output log level for the builder.

std::string name = ""

The name of the object.