Class LayerCreator¶
Defined in File LayerCreator.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class
Acts::LayerCreator¶ The LayerCreator is able to build cylinde,r disc layers or plane layers from detector elements.
Public Functions
-
LayerCreator(const Config &lcConfig, std::unique_ptr<const Logger> logger = getDefaultLogger("LayerCreator", Logging::INFO))¶ Constructor.
- Parameters
lcConfig: is the configuration objectlogger: logging instance
-
~LayerCreator() = default¶ Destructor.
returning a cylindrical layer
- Pre
the pointers to the sensitive surfaces in the surfaces vectors all need to be valid, since no check is performed
- Return
shared pointer to a newly created layer
- Parameters
gctx: ist the geometry context with which the geometry is builtsurfaces: is the vector of pointers to sensitive surfaces represented by this layer
- Parameters
binsPhi: is number of bins the sensitive surfaces are ordered in phibinsZ: is number of bins the sensitive surfaces are ordered in Z_protoLayer: (optional) proto layer specifying the dimensions and envelopestransform: is the (optional) transform of the layerad: possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer
returning a cylindrical layer
- Pre
the pointers to the sensitive surfaces in the surfaces vectors all need to be valid, since no check is performed
- Return
shared pointer to a newly created layer
- Parameters
gctx: ist the geometry context with which the geometry is builtsurfaces: is the vector of pointers to sensitive surfaces represented by this layer
- Parameters
bTypePhi: binning type in phi (equidistant/arbitrary)bTypeZ: binning type in z (equidistant/arbitrary)_protoLayer: (optional) proto layer specifying the dimensions and envelopestransform: is the (optional) transform of the layerad: possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer
returning a disc layer
- Pre
the pointers to the sensitive surfaces in the surfaces vectors all need to be valid, since no check is performed
- Return
shared pointer to a newly created layer
- Parameters
gctx: ist the geometry context with which the geometry is builtsurfaces: is the vector of pointers to sensitive surfaces represented by this layer
- Parameters
binsR: is number of bins the sensitive surfaces are ordered in RbinsPhi: is number of bins the sensitive surfaces are ordered in Phitransform: is the (optional) transform of the layer_protoLayer: (optional) proto layer specifying the dimensions and envelopesad: possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer
returning a disc layer
- Pre
the pointers to the sensitive surfaces in the surfaces vectors all need to be valid, since no check is performed
- Return
shared pointer to a newly created layer
- Parameters
gctx: ist the geometry context with which the geometry is builtsurfaces: is the vector of pointers to sensitive surfaces represented by this layer
- Parameters
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 envelopesad: possibility to hand over a specific ApproachDescriptor, which is needed for material mapping. Otherwise the default ApproachDescriptor will be taken used for this layer
returning a plane layer
- Pre
the pointers to the sensitive surfaces in the surfaces vectors all need to be valid, since no check is performed
- Return
shared pointer to a newly created layer
- Parameters
gctx: ist the geometry context with which the geometry is built[in] surfaces: is the vector of pointers to sensitive surfaces represented by this layer
- Parameters
[in] bins1: is the number of bins in the orthogonal direction tobValue[in] bins2: is the number of bins in the orthogonal direction tobValue[in] bValue: 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
-
struct
Config¶ Configuration for the LayerCreator This is the nexted configuration struct for the LayerCreator class.
Public Functions
-
Config() = default¶ standard constructor
Public Members
-
double
cylinderPhiTolerance= {0.1}¶ cylinder module phi tolerance : it counts at same phi, if …
-
double
cylinderZtolerance= {10.}¶ cylinder module z tolerance : it counts at same z, if …
-
std::shared_ptr<const SurfaceArrayCreator>
surfaceArrayCreator= nullptr¶ surface array helper
-
-