 |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONREADOUTGEOMETRYR4_TGCREADOUTELEMENT_H
5 #define MUONREADOUTGEOMETRYR4_TGCREADOUTELEMENT_H
12 #ifndef SIMULATIONBASE
13 # include "Acts/Utilities/BoundFactory.hpp"
38 #ifndef SIMULATIONBASE
39 std::shared_ptr<Acts::SurfaceBoundFactory>
layerBounds;
The TransientConstSharedPtr allows non-const access if the pointer itself is non-const but in the con...
static IdentifierHash flipIsStrip(const IdentifierHash &meashHash, const bool isStrip)
Flips the isStrip bit from a parsed measurment hash.
Amg::Transform3D fromGapToChamOrigin(const IdentifierHash &layerHash) const
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
const WireGroupDesign & wireGangLayout(const IdentifierHash &layHash) const
Returns access to the wire group design of the given gasGap [1-3] If the gap does not have a wires an...
virtual ~TgcReadoutElement()
const TgcIdHelper & m_idHelper
Amg::Vector3D channelPosition(const ActsGeometryContext &ctx, const Identifier &measId) const
Returns the center of the measurement channel eta measurement: wire gang center phi measurement: stri...
double halfThickness
Describe the chamber dimensions Half thickness of the chamber.
@ Tgc
Resitive Plate Chambers.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
double moduleWidthS() const
Returns the length of the bottom edge of the chamber (short width)
double moduleWidthL() const
Returns the length of the top edge of the chamber (top width)
std::shared_ptr< Acts::SurfaceBoundFactory > layerBounds
Set of surface boundaries.
double moduleHeight() const
Returns the height of the chamber (Distance bottom - topWidth)
bool const RAWDATA *ch2 const
static unsigned channelNumber(const IdentifierHash &measHash)
Unpacks the channel number from the measurement hash.
unsigned nGasGaps() const
Returns the number of gasgaps described by this ReadOutElement (usally 2 or 3)
ActsTrk::DetectorType detectorType() const override final
Overload from the ActsTrk::IDetectorElement.
static bool isStrip(const IdentifierHash &measHash)
Unpacks whether the measurement hash is a strip.
StatusCode initElement() override final
Element initialization.
double moduleThickness() const
Returns the thickness of the chamber.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
const parameterBook & getParameters() const
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Returns the pointer to the muonIdHelperSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
Eigen::Affine3d Transform3D
double halfWidthLong
Half length of the chamber long edge (Top)
Set of parameters to describe a Tgc chamber.
static unsigned gasGapNumber(const IdentifierHash &measHash)
Unpacks the gas gap number from the measurement hash.
Identifier measurementId(const IdentifierHash &measHash) const override final
Converts the measurement hash back to the full Identifier.
double gasGapPitch() const
Returns the thickness of the gasGap.
IdentifierHash measurementHash(const Identifier &measId) const override final
Constructs the identifier hash from the full measurement Identifier.
double halfWidthShort
Half length of the chamber short edge (Bottom)
Include the GeoPrimitives which need to be put first.
IdentifierHash layerHash(const Identifier &measId) const override final
TgcReadoutElement(defineArgs &&args)
Definition of ATLAS Math & Geometry primitives (Amg)
Helper struct to ship the defining arguments of the detector element around.
const StripLayerPtr & sensorLayout(const IdentifierHash &hash) const
Returns the pointer to the strip layer associated with the gas gap.
Amg::Vector3D chamberStripPos(const IdentifierHash &measHash) const
Returns the local strip position w.r.t. to the chamber origin.
Eigen::Matrix< double, 3, 1 > Vector3D
double thickness() const override final
virtual const TgcIdHelper & tgcIdHelper() const =0
access to TgcIdHelper
double m_gasThickness
Distance between 2 gas gaps (Z - direction)
double halfHeight
Half height of the chamber (Top - botom edge)
unsigned numStrips(const IdentifierHash &layHash) const
Returns the number of strips for a given gasGap [1-3].
unsigned numWireGangs(const IdentifierHash &layHash) const
Returns the number of wire gangs for a given gasGap [1-3].
static IdentifierHash constructHash(unsigned measCh, unsigned gasGap, const bool isStrip)
Constructs the Hash out of the Identifier fields (channel, gasGap, isStrip)
std::array< StripLayerPtr, 6 > sensorLayouts
We have maximum 3 gasgaps times eta / phi measurement.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
unsigned numChannels(const IdentifierHash &measHash) const
Returns the number of readout channels.
std::ostream & operator<<(std::ostream &ostr, const Chamber::defineArgs &args)
const RadialStripDesign & stripLayout(const IdentifierHash &layHash) const
Returns access to the strip design of the given gasGap [1-3] If the gap does not have strips an excep...