|
ACTS
Experiment-independent tracking
|
The LayerCreator is able to build cylinder disc layers or plane layers from detector elements. More...
#include <Acts/Geometry/LayerCreator.hpp>
Classes | |
| struct | Config |
| Configuration for the LayerCreator This is the nexted configuration struct for the LayerCreator class. More... | |
Public Member Functions | |
| LayerCreator (const Config &lcConfig, std::unique_ptr< const Logger > logger=getDefaultLogger("LayerCreator", Logging::INFO)) | |
| Constructor. | |
| void | associateSurfacesToLayer (Layer &layer) const |
| associate surfaces contained by this layer to this layer | |
| MutableLayerPtr | cylinderLayer (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, BinningType bTypePhi, BinningType bTypeZ, std::optional< ProtoLayer > _protoLayer=std::nullopt, const Transform3 &transform=Transform3::Identity(), std::unique_ptr< ApproachDescriptor > ad=nullptr) const |
| returning a cylindrical layer | |
| MutableLayerPtr | cylinderLayer (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, std::size_t binsPhi, std::size_t binsZ, std::optional< ProtoLayer > _protoLayer=std::nullopt, const Transform3 &transform=Transform3::Identity(), std::unique_ptr< ApproachDescriptor > ad=nullptr) const |
| returning a cylindrical layer | |
| MutableLayerPtr | discLayer (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, BinningType bTypeR, BinningType bTypePhi, std::optional< ProtoLayer > _protoLayer=std::nullopt, const Transform3 &transform=Transform3::Identity(), std::unique_ptr< ApproachDescriptor > ad=nullptr) const |
| returning a disc layer | |
| MutableLayerPtr | discLayer (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, std::size_t binsR, std::size_t binsPhi, std::optional< ProtoLayer > _protoLayer=std::nullopt, const Transform3 &transform=Transform3::Identity(), std::unique_ptr< ApproachDescriptor > ad=nullptr) const |
| returning a disc layer | |
| Config | getConfiguration () const |
| Access th configuration object. | |
| MutableLayerPtr | planeLayer (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, std::size_t bins1, std::size_t bins2, AxisDirection aDir, std::optional< ProtoLayer > _protoLayer=std::nullopt, const Transform3 &transform=Transform3::Identity(), std::unique_ptr< ApproachDescriptor > ad=nullptr) const |
| returning a plane layer | |
| void | setConfiguration (const Config &lcConfig) |
| Set the configuration object. | |
| void | setLogger (std::unique_ptr< const Logger > newLogger) |
| set logging instance | |
The LayerCreator is able to build cylinder disc layers or plane layers from detector elements.
|
explicit |
Constructor.
| lcConfig | is the configuration object |
| logger | logging instance |
| void Acts::LayerCreator::associateSurfacesToLayer | ( | Layer & | layer | ) | const |
associate surfaces contained by this layer to this layer
| layer | Layer to associate surfaces with |
| MutableLayerPtr Acts::LayerCreator::cylinderLayer | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| BinningType | bTypePhi, | ||
| BinningType | bTypeZ, | ||
| std::optional< ProtoLayer > | _protoLayer = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity(), | ||
| std::unique_ptr< ApproachDescriptor > | ad = nullptr ) const |
returning a cylindrical layer
| gctx | is the geometry context with which the geometry is built |
| surfaces | is the vector of pointers to sensitive surfaces represented by this layer |
| bTypePhi | binning type in phi (equidistant/arbitrary) |
| bTypeZ | binning type in z (equidistant/arbitrary) |
| _protoLayer | (optional) proto layer specifying the dimensions and envelopes |
| transform | is the (optional) transform of the layer |
| ad | possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer |
| MutableLayerPtr Acts::LayerCreator::cylinderLayer | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| std::size_t | binsPhi, | ||
| std::size_t | binsZ, | ||
| std::optional< ProtoLayer > | _protoLayer = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity(), | ||
| std::unique_ptr< ApproachDescriptor > | ad = nullptr ) const |
returning a cylindrical layer
| gctx | is the geometry context with which the geometry is built |
| surfaces | is the vector of pointers to sensitive surfaces represented by this layer |
| binsPhi | is number of bins the sensitive surfaces are ordered in phi |
| binsZ | is number of bins the sensitive surfaces are ordered in Z |
| _protoLayer | (optional) proto layer specifying the dimensions and envelopes |
| transform | is the (optional) transform of the layer |
| ad | possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer |
| MutableLayerPtr Acts::LayerCreator::discLayer | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| BinningType | bTypeR, | ||
| BinningType | bTypePhi, | ||
| std::optional< ProtoLayer > | _protoLayer = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity(), | ||
| std::unique_ptr< ApproachDescriptor > | ad = nullptr ) const |
returning a disc layer
| gctx | is the geometry context with which the geometry is built |
| surfaces | is the vector of pointers to sensitive surfaces represented by this layer |
| bTypeR | binning type in r (equidistant/arbitrary) |
| bTypePhi | binning type in phi (equidistant/arbitrary) |
| transform | is the (optional) transform of the layer |
| _protoLayer | (optional) proto layer specifying the dimensions and envelopes |
| ad | possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer |
| MutableLayerPtr Acts::LayerCreator::discLayer | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| std::size_t | binsR, | ||
| std::size_t | binsPhi, | ||
| std::optional< ProtoLayer > | _protoLayer = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity(), | ||
| std::unique_ptr< ApproachDescriptor > | ad = nullptr ) const |
returning a disc layer
| gctx | is the geometry context with which the geometry is built |
| surfaces | is the vector of pointers to sensitive surfaces represented by this layer |
| binsR | is number of bins the sensitive surfaces are ordered in R |
| binsPhi | is number of bins the sensitive surfaces are ordered in Phi |
| transform | is the (optional) transform of the layer |
| _protoLayer | (optional) proto layer specifying the dimensions and envelopes |
| ad | possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer |
| LayerCreator::Config Acts::LayerCreator::getConfiguration | ( | ) | const |
Access th configuration object.
| MutableLayerPtr Acts::LayerCreator::planeLayer | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| std::size_t | bins1, | ||
| std::size_t | bins2, | ||
| AxisDirection | aDir, | ||
| std::optional< ProtoLayer > | _protoLayer = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity(), | ||
| std::unique_ptr< ApproachDescriptor > | ad = nullptr ) const |
returning a plane layer
| gctx | is the geometry context with which the geometry is built | |
| [in] | surfaces | is the vector of pointers to sensitive surfaces represented by this layer |
| [in] | bins1 | is the number of bins in the orthogonal direction to bValue |
| [in] | bins2 | is the number of bins in the orthogonal direction to bValue |
| [in] | aDir | Direction of the aligned surfaces |
| [in] | transform | is the (optional) transform of the layer |
| [in] | _protoLayer | (optional) proto layer specifying the dimensions and envelopes |
| [in] | ad | possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer |
| void Acts::LayerCreator::setConfiguration | ( | const Config & | lcConfig | ) |
Set the configuration object.
| lcConfig | is the configuration struct |
| void Acts::LayerCreator::setLogger | ( | std::unique_ptr< const Logger > | newLogger | ) |
set logging instance
| newLogger | the logger instance |