|
ACTS
Experiment-independent tracking
|
A volume builder to be used for building concentric cylinder volumes. More...
#include <Acts/Geometry/CylinderVolumeBuilder.hpp>
Classes | |
| struct | Config |
| Nested configuration struct for this CylinderVolumeBuilder. More... | |
Public Member Functions | |
| CylinderVolumeBuilder (const Config &cvbConfig, std::unique_ptr< const Logger > logger=getDefaultLogger("CylinderVolumeBuilder", Logging::INFO)) | |
| Constructor. | |
| ~CylinderVolumeBuilder () override | |
| Destructor. | |
| VolumeConfig | analyzeContent (const GeometryContext &gctx, const LayerVector &lVector, const MutableTrackingVolumeVector &mtvVector) const |
| Analyze the config to gather needed dimension. | |
| Config | getConfiguration () const |
| Get configuration method. | |
| void | setConfiguration (const Config &cvbConfig) |
| Set configuration method. | |
| void | setLogger (std::unique_ptr< const Logger > newLogger) |
| set logging instance | |
| MutableTrackingVolumePtr | trackingVolume (const GeometryContext &gctx, TrackingVolumePtr existingVolume=nullptr, std::shared_ptr< const VolumeBounds > externalBounds=nullptr) const override |
| CylinderVolumeBuilder main call method. | |
| Public Member Functions inherited from Acts::ITrackingVolumeBuilder | |
| virtual | ~ITrackingVolumeBuilder ()=default |
| Virtual destructor. | |
A volume builder to be used for building concentric cylinder volumes.
All are optionally wrapped around a given volume which has to by a cylinder volume and which has to be center at z == 0
To receive the tracking volume it is possible to also hand over a triple of layers, which is a C++ tuple of three pointers to layer vectors (defined in the ITrackingVolumeBuilder). This functionality is needed for a possible translation of an geometry existing in another format. The first entry represents the layers of the negative endcap, the second the layers of the barrel and the third the layers of the positive endcap. If the one of these pointers is a nullptr no layers will be created for this volume
For the endcap region it is possible to check for a ring layout, in which case an attempt to split into individual ring volumes is done
|
explicit |
Constructor.
| [in] | cvbConfig | is the configuration struct to steer the builder |
| [in] | logger | logging instance |
|
override |
Destructor.
| VolumeConfig Acts::CylinderVolumeBuilder::analyzeContent | ( | const GeometryContext & | gctx, |
| const LayerVector & | lVector, | ||
| const MutableTrackingVolumeVector & | mtvVector ) const |
Analyze the config to gather needed dimension.
| [in] | gctx | the geometry context for this building |
| [in] | lVector | is the vector of layers that are parsed |
| [in] | mtvVector | Vector of mutable tracking volumes to analyze |
| CylinderVolumeBuilder::Config Acts::CylinderVolumeBuilder::getConfiguration | ( | ) | const |
Get configuration method.
Return the configuration object.
| void Acts::CylinderVolumeBuilder::setConfiguration | ( | const Config & | cvbConfig | ) |
Set configuration method.
| [in] | cvbConfig | is the new configuration to be set |
| void Acts::CylinderVolumeBuilder::setLogger | ( | std::unique_ptr< const Logger > | newLogger | ) |
set logging instance
| [in] | newLogger | is the logging instance to be set |
|
overridevirtual |
CylinderVolumeBuilder main call method.
| [in] | gctx | geometry context for which this cylinder volume is built |
| [in] | existingVolume | is an (optional) volume to be included |
| [in] | externalBounds | are (optional) external confinement constraints |
Implements Acts::ITrackingVolumeBuilder.