|
ACTS
Experiment-independent tracking
|
It is designed create sub surface arrays to be ordered on Surfaces. More...
#include <Acts/Geometry/SurfaceArrayCreator.hpp>
Classes | |
| struct | Config |
| struct | ProtoAxis |
Public Member Functions | |
| SurfaceArrayCreator (const Config &cfg, std::unique_ptr< const Logger > logger=getDefaultLogger("SurfaceArrayCreator", Logging::INFO)) | |
| Constructor with explicit config. | |
| SurfaceArrayCreator (std::unique_ptr< const Logger > logger=getDefaultLogger("SurfaceArrayCreator", Logging::INFO)) | |
| Constructor with default config. | |
| virtual | ~SurfaceArrayCreator ()=default |
| Destructor. | |
| void | setLogger (std::unique_ptr< const Logger > logger) |
| Set logging instance. | |
| std::unique_ptr< SurfaceArray > | surfaceArrayOnCylinder (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, BinningType bTypePhi=equidistant, BinningType bTypeZ=equidistant, std::optional< ProtoLayer > protoLayerOpt=std::nullopt, const Transform3 &transform=Transform3::Identity()) const |
| SurfaceArrayCreator interface method. | |
| std::unique_ptr< SurfaceArray > | surfaceArrayOnCylinder (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, std::size_t binsPhi, std::size_t binsZ, std::optional< ProtoLayer > protoLayerOpt=std::nullopt, const Transform3 &transform=Transform3::Identity()) const |
| SurfaceArrayCreator interface method. | |
| std::unique_ptr< SurfaceArray > | surfaceArrayOnDisc (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, BinningType bTypeR, BinningType bTypePhi, std::optional< ProtoLayer > protoLayerOpt=std::nullopt, const Transform3 &transform=Transform3::Identity()) const |
| SurfaceArrayCreator interface method. | |
| std::unique_ptr< SurfaceArray > | surfaceArrayOnDisc (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, std::size_t binsR, std::size_t binsPhi, std::optional< ProtoLayer > protoLayerOpt=std::nullopt, const Transform3 &transform=Transform3::Identity()) const |
| SurfaceArrayCreator interface method. | |
| std::unique_ptr< SurfaceArray > | surfaceArrayOnPlane (const GeometryContext &gctx, std::vector< std::shared_ptr< const Surface > > surfaces, std::size_t bins1, std::size_t bins2, AxisDirection aDir, std::optional< ProtoLayer > protoLayerOpt=std::nullopt, const Transform3 &transform=Transform3::Identity()) const |
| SurfaceArrayCreator interface method. | |
Static Public Member Functions | |
| static bool | isSurfaceEquivalent (const GeometryContext &gctx, AxisDirection aDir, const Surface *a, const Surface *b) |
| Static check function for surface equivalent. | |
It is designed create sub surface arrays to be ordered on Surfaces.
|
explicit |
Constructor with default config.
| logger | logging instance |
|
explicit |
Constructor with explicit config.
| cfg | Explicit config struct |
| logger | logging instance |
|
virtualdefault |
Destructor.
|
static |
Static check function for surface equivalent.
| [in] | gctx | the geometry context for this check |
| aDir | the axis direction for the binning | |
| a | first surface for checking | |
| b | second surface for checking |
| void Acts::SurfaceArrayCreator::setLogger | ( | std::unique_ptr< const Logger > | logger | ) |
Set logging instance.
| logger | is the logging instance to be set |
| std::unique_ptr< SurfaceArray > Acts::SurfaceArrayCreator::surfaceArrayOnCylinder | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| BinningType | bTypePhi = equidistant, | ||
| BinningType | bTypeZ = equidistant, | ||
| std::optional< ProtoLayer > | protoLayerOpt = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity() ) const |
SurfaceArrayCreator interface method.
| surfaces | is the vector of pointers to sensitive surfaces to be ordered on the cylinder |
| [in] | gctx | The geometry context for this building call |
| protoLayerOpt | The proto layer containing the layer size | |
| bTypePhi | the binning type in phi direction (equidistant/arbitrary) | |
| bTypeZ | the binning type in z direction (equidistant/arbitrary) | |
| transform | is the (optional) additional transform applied |
| std::unique_ptr< SurfaceArray > Acts::SurfaceArrayCreator::surfaceArrayOnCylinder | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| std::size_t | binsPhi, | ||
| std::size_t | binsZ, | ||
| std::optional< ProtoLayer > | protoLayerOpt = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity() ) const |
SurfaceArrayCreator interface method.
| surfaces | is the vector of pointers to sensitive surfaces to be ordered on the cylinder |
| [in] | gctx | The geometry context for this building call |
| protoLayerOpt | The proto layer containing the layer size | |
| binsPhi | is the number of bins in phi for the surfaces | |
| binsZ | is the number of bin in Z for the surfaces | |
| transform | is the (optional) additional transform applied |
| std::unique_ptr< SurfaceArray > Acts::SurfaceArrayCreator::surfaceArrayOnDisc | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| BinningType | bTypeR, | ||
| BinningType | bTypePhi, | ||
| std::optional< ProtoLayer > | protoLayerOpt = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity() ) const |
SurfaceArrayCreator interface method.
| surfaces | is the vector of pointers to sensitive surfaces to be ordered on the disc |
| [in] | gctx | The geometry context for this building call |
| protoLayerOpt | The proto layer containing the layer size | |
| bTypeR | the binning type in r direction (equidistant/arbitrary) | |
| bTypePhi | the binning type in phi direction (equidistant/arbitrary) | |
| transform | is the (optional) additional transform applied |
| std::unique_ptr< SurfaceArray > Acts::SurfaceArrayCreator::surfaceArrayOnDisc | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| std::size_t | binsR, | ||
| std::size_t | binsPhi, | ||
| std::optional< ProtoLayer > | protoLayerOpt = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity() ) const |
SurfaceArrayCreator interface method.
| surfaces | is the vector of pointers to sensitive surfaces to be ordered on the disc |
| [in] | gctx | The geometry context for this building call |
| protoLayerOpt | The proto layer containing the layer size | |
| binsPhi | is the number of bins in phi for the surfaces | |
| binsR | is the number of bin in R for the surfaces | |
| transform | is the (optional) additional transform applied |
| std::unique_ptr< SurfaceArray > Acts::SurfaceArrayCreator::surfaceArrayOnPlane | ( | const GeometryContext & | gctx, |
| std::vector< std::shared_ptr< const Surface > > | surfaces, | ||
| std::size_t | bins1, | ||
| std::size_t | bins2, | ||
| AxisDirection | aDir, | ||
| std::optional< ProtoLayer > | protoLayerOpt = std::nullopt, | ||
| const Transform3 & | transform = Transform3::Identity() ) const |
SurfaceArrayCreator interface method.
| [in] | gctx | The geometry context for this building call |
| [in] | surfaces | is the vector of pointers to sensitive surfaces to be ordered on the plane |
| [in] | bins1 | is the number of bins in the orthogonal direction to aDir |
| [in] | bins2 | is the number of bins in the orthogonal direction to aDir |
| [in] | aDir | Direction of the aligned surfaces |
| [in] | protoLayerOpt | Optional ProtoLayer instance |
| [in] | transform | is the (optional) additional transform applied |