 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONREADOUTGEOMETRYR4_RPCREADOUTELEMENT_H
5 #define MUONREADOUTGEOMETRYR4_RPCREADOUTELEMENT_H
11 #ifndef SIMULATIONBASE
12 # include "Acts/Utilities/BoundFactory.hpp"
42 #ifndef SIMULATIONBASE
135 const unsigned doubPhi,
int doubletPhiMax() const
Returns the maximum phi panel.
const RpcIdHelper & m_idHelper
double stripPhiLength() const
Returns the length of a phi strip.
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)
unsigned nGasGaps() const
Returns the number of gasgaps described by this ReadOutElement (usally 2 or 3)
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
int doubletR() const
Returns the doublet R field of the MuonReadoutElement identifier.
Eigen::Matrix< double, 2, 1 > Vector2D
int doubletZ(const Identifier &id) const
double stripEtaPitch() const
Strip pitch in eta.
unsigned nGasGaps
The number of gas gaps (along the radial direction) in the RPC chamber (2 or 3)
double halfThickness
Half thickness of the Rpc module.
std::vector< StripLayerPtr > layers
Identifier measurementId(const IdentifierHash &measHash) const override final
Converts the measurement hash back to the full Identifier.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
int nPanelsInPhi
Each gas gap is usually subdivided into 2 phi panels which is actually the sector granularity of the ...
double stripPhiPitch() const
Strip pitch in phi.
Amg::Vector3D rightStripEdge(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the global position of the strip edge at negative local Y.
bool const RAWDATA *ch2 const
int nPhiPanels() const
Returns the number of phi panels (1 or 2)
IdentifierHash layerHash(const IdentifierHash &measHash) const
std::shared_ptr< Acts::SurfaceBoundFactory > layerBounds
const parameterBook & getParameters() const
Set of parameters to describe a RPC chamber.
const int m_doubletR
doublet R -> 1: chamber is mounted below the Mdts
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
int doubletR(const Identifier &id) const
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.
unsigned nEtaStrips() const
Number of strips measuring the eta coordinate.
int doubletZ() const
Returns the doublet Z field of the MuonReadoutElement identifier.
IdentifierHash measurementHash(const Identifier &measId) const override final
Constructs the identifier hash from the full measurement Identifier.
const StripDesign & stripDesign(const IdentifierHash &meaHash) const
Access the associated strip design for a given measurement hash.
StatusCode initElement() override final
Element initialization.
static unsigned stripNumber(const IdentifierHash &measHash)
Include the GeoPrimitives which need to be put first.
Definition of ATLAS Math & Geometry primitives (Amg)
Helper struct to ship the defining arguments of the detector element around.
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
static unsigned doubletPhiNumber(const IdentifierHash &measHash)
virtual ~RpcReadoutElement()
double readoutSide
at which side is the readout plane of the strip
The StripLayer interfaces the 2D description of the strip plane layout with the 3D description of the...
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.
const int m_doubletZ
Associated doublet Z (Ranges from 1-3) If doubletZ is 3, there's generally the possibility that the m...
unsigned nStrips(const IdentifierHash &hash) const
Returns the number of strips.
RpcReadoutElement(defineArgs &&args)
@ Rpc
Monitored Drift Tubes.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
double stripPhiWidth() const
Strip width in phi.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
double distanceToEdge(const IdentifierHash &measHash, const Amg::Vector2D &posInStripPlane, const EdgeSide side) const
Returns the disance to the readout.
Amg::Transform3D fromGapToChamOrigin(const IdentifierHash &layerHash) const
static unsigned gasGapNumber(const IdentifierHash &measHash)
ActsTrk::DetectorType detectorType() const override final
Overload from the ActsTrk::IDetectorElement.
std::ostream & operator<<(std::ostream &ostr, const Chamber::defineArgs &args)
double stripEtaWidth() const
Strip width in eta.
double stripEtaLength() const
Returns the length of an eta strip.
unsigned nPhiStrips() const
Number of strips measuring the phi coordinate.
double thickness() const override final
Overload from the Acts::DetectorElement (2 * halfheight)
virtual const RpcIdHelper & rpcIdHelper() const =0
access to RpcIdHelper
int doubletPhi(const Identifier &id) const
double gasGapPitch() const
Returns the thickness of a RPC gasgap.