4#ifndef MUONREADOUTGEOMETRYR4_MMREADOUTELEMENT_H
5#define MUONREADOUTGEOMETRYR4_MMREADOUTELEMENT_H
12# include "Acts/Utilities/BoundFactory.hpp"
139std::ostream&
operator<<(std::ostream& ostr,
const MmReadoutElement::parameterBook& pars);
This is a "hash" representation of an Identifier.
double moduleHeight() const
Returns the height along the z-axis.
const StripLayer & stripLayer(const Identifier &measId) const
StatusCode initElement() override final
Element initialization.
MmReadoutElement(defineArgs &&args)
double gapLengthS(const IdentifierHash &layerHash) const
Length of gas Gap on short side.
IdentifierHash measurementHash(const Identifier &measId) const override final
Constructs the identifier hash from the full measurement Identifier.
const parameterBook & getParameters() const
static unsigned int stripNumber(const IdentifierHash &measHash)
double thickness() const override final
Overload from the Acts::DetectorElement (2 * halfheight)
static unsigned int gasGapNumber(const IdentifierHash &measHash)
ActsTrk::DetectorType detectorType() const override final
Overload from the ActsTrk::IDetectorElement.
unsigned int nGasGaps() const
Returns the number of gas gaps.
unsigned int numStrips(const IdentifierHash &layerHash) const
Returns the number of total active strips.
int multilayer() const
Returns the multi layer of the element [1-2].
Amg::Transform3D fromGapToChamOrigin(const IdentifierHash &layerHash) const
Identifier measurementId(const IdentifierHash &measHash) const override final
Converts the measurement hash back to the full Identifier.
IdentifierHash layerHash(const Identifier &measId) const override final
Amg::Vector3D leftStripEdge(const ActsTrk::GeometryContext &ctx, const Identifier &measId) const
Returns the global position of the strip edge.
double moduleWidthL() const
Returns the width at the top edge.
double moduleWidthS() const
Returns the width at the short edge.
int readoutSide(const IdentifierHash &measHash) const
Returns the readout side.
double gapLengthL(const IdentifierHash &layerHash) const
Length of gas Gap on long side.
double stripLength(const IdentifierHash &measHash) const
Returns the strip length.
unsigned int firstStrip(const IdentifierHash &layerHash) const
Returns the first active strip.
double gapHeight(const IdentifierHash &layerHash) const
Height of gas Gap.
Amg::Vector3D stripPosition(const ActsTrk::GeometryContext &ctx, const Identifier &measId) const
Returns the position of the strip center.
double moduleThickness() const
Returns the module thickness.
Amg::Vector3D rightStripEdge(const ActsTrk::GeometryContext &ctx, const Identifier &measId) const
Returns the global position of the strip edge.
static IdentifierHash createHash(const int gasGap, const int strip)
const MmIdHelper & m_idHelper
Identifier identify() const override final
Return the athena identifier.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Returns the pointer to the muonIdHelperSvc.
MuonReadoutElement(const defineArgs &args)
The StripLayer interfaces the 2D description of the strip plane layout with the 3D description of the...
virtual const MmIdHelper & mmIdHelper() const =0
access to CscIdHelper
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
@ Mm
Maybe not needed in the migration.
Definition of ATLAS Math & Geometry primitives (Amg)
Eigen::Affine3d Transform3D
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
std::ostream & operator<<(std::ostream &ostr, const Chamber::defineArgs &args)
Set of parameters to describe a RPC chamber.
double halfThickness
Trapezoid dimensions of MicroMegas envelope half-thickness along z-axis.
double halfShortWidth
width of the lower edge
double halfLongWidth
width of the upper edge
std::vector< int > readoutSide
Readout sides.
double halfHeight
length in the radial direction
std::vector< StripLayerPtr > layers
Pointers to the strip layers.
unsigned int nGasGaps
number of gasGaps
std::shared_ptr< Acts::SurfaceBoundFactory > layerBounds
Helper struct to ship the defining arguments of the detector element around.