 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include <GaudiKernel/SystemOfUnits.h>
13 #ifndef SIMULATIONBASE
14 # include "Acts/Surfaces/RectangleBounds.hpp"
21 ostr<<
"chamber width/length/thickness [mm]: "<<(2.*
pars.halfWidth)<<
"/";
22 ostr<<(2.*
pars.halfLength)<<
"/"<<(2.*
pars.halfThickness)<<std::endl;
23 if (
pars.etaDesign) ostr<<
"Eta strips: "<<(*
pars.etaDesign)<<std::endl;
24 if (
pars.phiDesign) ostr<<
"Phi strips: "<<(*
pars.phiDesign)<<std::endl;
27 RpcReadoutElement::~RpcReadoutElement() =
default;
30 m_pars{std::move(
args)} {
42 return StatusCode::FAILURE;
44 #ifndef SIMULATIONBASE
50 IdentifierHash layHash{
layer};
57 ATH_CHECK(insertTransform<RpcReadoutElement>(layHash));
58 #ifndef SIMULATIONBASE
62 design.shortHalfHeight())));
67 #ifndef SIMULATIONBASE
70 return StatusCode::SUCCESS;
77 #if defined(FLATTEN) && defined(__GNUC__)
89 #if defined(FLATTEN) && defined(__GNUC__)
101 #if defined(FLATTEN) && defined(__GNUC__)
128 return std::abs(refPoint -
layout->to2D(posInStripPlane,
measuresPhi(measHeash)).
y());
The TransientConstSharedPtr allows non-const access if the pointer itself is non-const but in the con...
MmReadoutElement::parameterBook parameterBook
static IdentifierHash createHash(const unsigned strip, const unsigned gasGap, const unsigned doubPhi, const bool measPhi)
Constructs an Identifier hash from the Identifier fields controlled by this readout element
double halfWidth
Elongation within the sector
static bool measuresPhi(const IdentifierHash &measHash)
std::vector< StripLayerPtr > layers
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
StatusCode createGeoTransform()
#define ATH_MSG_VERBOSE(x)
std::shared_ptr< Acts::SurfaceBoundFactory > layerBounds
const parameterBook & getParameters() const
Set of parameters to describe a RPC chamber.
Amg::Vector3D rightStripEdge(const ActsTrk::GeometryContext &ctx, const Identifier &measId) const
Returns the global position of the strip edge at negative local Y.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Returns the pointer to the muonIdHelperSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
double halfLength
RPC panel dimensions.
int doubletPhi() const
Returns the doublet Phi field of the MuonReadoutElement identifier.
Eigen::Affine3d Transform3D
const Amg::Transform3D & localToGlobalTrans(const ActsTrk::GeometryContext &ctx) const
Returns the local to global transformation into the ATLAS coordinate system.
MsgStream & operator<<(MsgStream &out, const ActsUtils::Stat &stat)
StatusCode initElement() override final
Element initialization.
static unsigned stripNumber(const IdentifierHash &measHash)
static IdentifierHash geoTransformHash()
Returns the hash that is associated with the surface cache holding the transformation that is placing...
double m_gasThickness
Distance between 2 gas gaps (Radial direction)
IdentifierHash layerHash(const Identifier &measId) const override final
Amg::Vector3D leftStripEdge(const ActsTrk::GeometryContext &ctx, const Identifier &measId) const
Returns the global posiition of the strip edge at positive local Y.
Identifier identify() const override final
Return the athena identifier.
Eigen::Matrix< double, 3, 1 > Vector3D
static unsigned doubletPhiNumber(const IdentifierHash &measHash)
double readoutSide
at which side is the readout plane of the strip
Amg::Vector3D chamberStripPos(const IdentifierHash &measHash) const
Returns the local strip position w.r.t. to the chamber origin.
StatusCode planeSurfaceFactory(const IdentifierHash &hash, std::shared_ptr< Acts::PlanarBounds > pBounds)
const StripLayerPtr & sensorLayout(const IdentifierHash &measHash) const
Access to the StripLayer associated to a given measurement Hash.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Amg::Transform3D fromGapToChamOrigin(const IdentifierHash &layerHash) const
double distanceToEdge(const IdentifierHash &measHash, const Amg::Vector3D &posInStripPlane, const EdgeSide side) const
Returns the disance to the readout.
static unsigned gasGapNumber(const IdentifierHash &measHash)
Scalar mag() const
mag method
Amg::Vector3D stripPosition(const ActsTrk::GeometryContext &ctx, const Identifier &measId) const
Returns the position of the strip center.