Struct ProtoLayer¶
Defined in File ProtoLayer.hpp
Struct Documentation¶
-
struct
Acts
::
ProtoLayer
¶ Encapsulates min/max boundaries that will be turned into a layer.
The struct allows this information to be obtained in a consistent way, or be caller provided.
Public Types
-
using
Range
= std::pair<double, double>¶ The envelope parameters.
Public Functions
-
ProtoLayer
(const GeometryContext &gctx, const std::vector<const Surface*> &surfaces)¶ Constructor.
Loops over a provided vector of surface and calculates the various min/max values in one go. Also takes into account the thickness of an associated DetectorElement, if it exists.
- Parameters
gctx
: The current geometry context object, e.g. alignmentsurfaces
: The vector of surfaces to consider
Constructor.
Loops over a provided vector of surface and calculates the various min/max values in one go. Also takes into account the thickness of an associated DetectorElement, if it exists.
- Parameters
gctx
: The current geometry context object, e.g. alignmentsurfaces
: The vector of surfaces to consider
-
ProtoLayer
() = default¶
-
void
add
(const GeometryContext &gctx, const Surface &surface)¶ Add a surface, this will also increase the extent.
- Parameters
gctx
: The current geometry context object, e.g. alignmentsurface
: The surface which is added to the ProtoLayer
-
double
max
(BinningValue bval, bool addenv = true) const¶ - Parameters
bval
: The accessed binning valueaddenv
: The steering if enevlope is added or not
-
double
medium
(BinningValue bval, bool addenv = true) const¶ - Parameters
bval
: The accessed binning valueaddenv
: The steering if enevlope is added or not
-
double
min
(BinningValue bval, bool addenv = true) const¶ Get the parameters : min.
- Parameters
bval
: The accessed binning valueaddenv
: The steering if enevlope is added or not
-
double
range
(BinningValue bval, bool addenv = true) const¶ - Parameters
bval
: The accessed binning valueaddenv
: The steering if enevlope is added or not
-
const std::vector<const Surface*> &
surfaces
() const¶ Give access to the surfaces used/assigned to the ProtoLayer.
-
std::ostream &
toStream
(std::ostream &sl) const¶ Output to ostream.
- Parameters
sl
: the input ostream
-
using