File DD4hepVolumeBuilder.hpp¶
Typedefs
-
using MutableTrackingVolumePtr = std::shared_ptr<TrackingVolume>¶
-
using MutableTrackingVolumeVector = std::vector<MutableTrackingVolumePtr>¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class DD4hepVolumeBuilder : public Acts::IConfinedTrackingVolumeBuilder
- #include <Acts/Plugins/DD4hep/DD4hepVolumeBuilder.hpp>
build confined TrackingVolumes of one cylinder setup from DD4hep input.
This class is an implementation of the Acts::IConfinedTrackingVolumeBuilder, creating the central (volumes of barrel), the negative and positive volumes (volumes of endcaps) of one hierarchy (e.g. ECal, HCal…) with input from DD4hep.
Public Functions
-
DD4hepVolumeBuilder(const Acts::DD4hepVolumeBuilder::Config &config, std::unique_ptr<const Logger> logger)
Constructor.
- Parameters
config – [in] is the configuration struct
logger – [in] is the logging instance
-
~DD4hepVolumeBuilder() override
Destructor.
-
virtual MutableTrackingVolumeVector centralVolumes() const final
Builder method for cylindrical, confined volume.
- Returns
The vector of TrackingVolumes at the central sector
-
inline Config getConfiguration() const
Get the configuration object.
- Returns
The used configuration struct
-
inline virtual const std::string &identification() const final
Name identification.
- Returns
The string based identification of this configuration
-
void setConfiguration(const Config &config)
Set the configuration object.
- Parameters
config – [in] is the configuration struct
-
void setLogger(std::unique_ptr<const Logger> logger)
Set logging instance.
- Parameters
logger – [in] Logger in use
Private Functions
-
Acts::Transform3 convertTransform(const TGeoMatrix *tGeoTrans) const¶
Converter of the transformation of a volume from DD4hep to Acts formalism.
- Parameters
tGeoTrans – [in] Transformation of the DD4hep DetElement
- Returns
Pointer to the corresponding Acts transformation
Private Members
-
struct Config
- #include <Acts/Plugins/DD4hep/DD4hepVolumeBuilder.hpp>
Nested configuration struct for steering of the volume builder.
Public Members
-
std::vector<dd4hep::DetElement> centralVolumes
Vector of central confined volumes.
-
std::string configurationName = "undefined"
string based identification
-
std::vector<dd4hep::DetElement> centralVolumes
-
DD4hepVolumeBuilder(const Acts::DD4hepVolumeBuilder::Config &config, std::unique_ptr<const Logger> logger)
-
class DD4hepVolumeBuilder : public Acts::IConfinedTrackingVolumeBuilder