|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include <GaudiKernel/SystemOfUnits.h>
14 #ifndef SIMULATIONBASE
15 # include "Acts/Surfaces/RectangleBounds.hpp"
22 ostr<<
"chamber width/length/thickness [mm]: "<<(2.*
pars.halfWidth)<<
"/";
23 ostr<<(2.*
pars.halfLength)<<
"/"<<(2.*
pars.halfThickness)<<std::endl;
24 if (
pars.etaDesign) ostr<<
"Eta strips: "<<(*
pars.etaDesign)<<std::endl;
25 if (
pars.phiDesign) ostr<<
"Phi strips: "<<(*
pars.phiDesign)<<std::endl;
28 RpcReadoutElement::~RpcReadoutElement() =
default;
31 m_pars{std::move(
args)} {
43 return StatusCode::FAILURE;
45 #ifndef SIMULATIONBASE
50 IdentifierHash layHash{
layer};
55 ATH_CHECK(insertTransform<RpcReadoutElement>(layHash));
56 #ifndef SIMULATIONBASE
59 design.shortHalfHeight())));
64 #ifndef SIMULATIONBASE
67 return StatusCode::SUCCESS;
97 return std::abs(refPoint - posInStripPlane.y());
MmReadoutElement::parameterBook parameterBook
double halfWidth
Elongation within the sector
static bool measuresPhi(const IdentifierHash &measHash)
Eigen::Matrix< double, 2, 1 > Vector2D
std::vector< StripLayerPtr > layers
const Amg::Transform3D & toOrigin() const
Returns the transformation to go from the strip layer center to the origin of the Strip chamber.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
StatusCode createGeoTransform()
Amg::Vector3D rightStripEdge(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the global position of the strip edge at negative local Y.
#define ATH_MSG_VERBOSE(x)
Amg::Vector3D stripPosition(unsigned int stripNum) const
Returns the position of the strip expressed in the chamber frame.
const parameterBook & getParameters() const
Set of parameters to describe a RPC chamber.
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
Amg::Vector3D stripPosition(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the position of the strip center.
MsgStream & operator<<(MsgStream &out, const ActsUtils::Stat &stat)
StatusCode initElement() override final
Element initialization.
Include the GeoPrimitives which need to be put first.
Amg::Vector3D localStripPos(unsigned int stripum) const
Returns the position of the strip expressed in the local frame.
static IdentifierHash geoTransformHash()
Returns the hash that is associated with the surface cache holding the transformation that is placing...
const StripLayer & sensorLayout(const IdentifierHash &measHash) const
Access to the StripLayer associated to a given measurement Hash.
double m_gasThickness
Distance between 2 gas gaps (Radial direction)
IdentifierHash layerHash(const Identifier &measId) const override final
Identifier identify() const override final
Return the athena identifier.
Eigen::Matrix< double, 3, 1 > Vector3D
ActsTrk::SurfaceBoundSetPtr< Acts::RectangleBounds > layerBounds
const StripDesign & design() const
Returns the underlying strip design.
double distanceToEdge(const IdentifierHash &layerHash, const Amg::Vector2D &posInStripPlane, const EdgeSide side) const
Returns the disance to the readout.
Amg::Vector3D leftStripEdge(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the global posiition of the strip edge at positive local Y.
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 Amg::Transform3D & localToGlobalTrans(const ActsGeometryContext &ctx) const
Returns the local to global transformation into the ATLAS coordinate system.
Amg::Vector3D localStripLeftEdge(unsigned int stripNum) const
Returns the position of the left strip edge (positive local y) expressed in the local frame.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Amg::Transform3D fromGapToChamOrigin(const IdentifierHash &layerHash) const
Amg::Vector3D localStripRightEdge(unsigned int stripNum) const
Returns the position of the right strip edge (negative local y) exoressed in the local frame.
Scalar mag() const
mag method
static unsigned int stripNumber(const IdentifierHash &measHash)
static IdentifierHash createHash(const unsigned int strip, const unsigned int gasGap, const unsigned int doubPhi, const bool measPhi)
Constructs an Identifier hash from the Identifier fields controlled by this readout element