|
ACTS
Experiment-independent tracking
|
This parses the gGeoManager and looks for a defined combination of volume with contained sensitive detector element. More...
#include <ActsPlugins/Root/TGeoLayerBuilder.hpp>
Classes | |
| struct | Config |
| nested configuration struct for steering of the layer builder More... | |
| struct | LayerConfig |
| Helper config structs for volume parsing. More... | |
Public Types | |
| using | ElementFactory |
| Type alias for detector element factory function. | |
Public Member Functions | |
| TGeoLayerBuilder (const Config &config, std::unique_ptr< const Acts::Logger > logger=Acts::getDefaultLogger("TGeoLayerBuilder", Acts::Logging::INFO)) | |
| Constructor. | |
| ~TGeoLayerBuilder () override | |
| Destructor. | |
| const Acts::LayerVector | centralLayers (const Acts::GeometryContext &gctx) const final |
| LayerBuilder interface method - returning the central layers. | |
| const std::vector< std::shared_ptr< const TGeoDetectorElement > > & | detectorElements () const |
| Return the created detector elements. | |
| Config | getConfiguration () const |
| Get the configuration object. | |
| const std::string & | identification () const final |
| Name identification. | |
| const Acts::LayerVector | negativeLayers (const Acts::GeometryContext &gctx) const final |
| LayerBuilder interface method - returning the layers at negative side. | |
| const Acts::LayerVector | positiveLayers (const Acts::GeometryContext &gctx) const final |
| LayerBuilder interface method - returning the layers at positive side. | |
| void | setConfiguration (const Config &config) |
| Set the configuration object. | |
| void | setLogger (std::unique_ptr< const Acts::Logger > newLogger) |
| Set logging instance. | |
| Public Member Functions inherited from Acts::ILayerBuilder | |
| virtual | ~ILayerBuilder ()=default |
| Virtual destructor. | |
Static Public Member Functions | |
| static std::shared_ptr< TGeoDetectorElement > | defaultElementFactory (const TGeoDetectorElement::Identifier &identifier, const TGeoNode &tGeoNode, const TGeoMatrix &tGeoMatrix, const std::string &axes, double scalor, std::shared_ptr< const Acts::ISurfaceMaterial > material) |
| Default factory function for creating TGeoDetectorElement instances. | |
This parses the gGeoManager and looks for a defined combination of volume with contained sensitive detector element.
The association is done by matching the names of the TGeoNode / TGeoVolume to the search string.
The parsing can be restricted to a given parse volume (in r and z), and given some splitting parameters the surfaces can be automatically split into layers.
Type alias for detector element factory function.
|
explicit |
Constructor.
| config | is the configuration struct |
| logger | the local logging instance |
|
override |
Destructor.
|
finalvirtual |
LayerBuilder interface method - returning the central layers.
| gctx | the geometry context for this build call |
Implements Acts::ILayerBuilder.
|
static |
Default factory function for creating TGeoDetectorElement instances.
| identifier | Detector element identifier |
| tGeoNode | ROOT geometry node |
| tGeoMatrix | ROOT geometry transformation matrix |
| axes | String describing the axes configuration |
| scalor | Scaling factor for geometry transformations |
| material | Surface material to be assigned to the element |
|
finalvirtual |
LayerBuilder interface method - returning the layers at negative side.
| gctx | the geometry context for this build call |
Implements Acts::ILayerBuilder.
|
finalvirtual |
LayerBuilder interface method - returning the layers at positive side.
| gctx | the geometry context for this build call |
Implements Acts::ILayerBuilder.
| void ActsPlugins::TGeoLayerBuilder::setConfiguration | ( | const Config & | config | ) |
Set the configuration object.
| config | is the configuration struct |
| void ActsPlugins::TGeoLayerBuilder::setLogger | ( | std::unique_ptr< const Acts::Logger > | newLogger | ) |
Set logging instance.
| newLogger | Logger instance to use for debug output |