![]() |
ATLAS Offline Software
|
#include <sTgcReadoutElement.h>
Classes | |
| struct | defineArgs |
| struct | parameterBook |
| Set of parameters to describe an sTGC chamber. More... | |
Public Types | |
| enum | ReadoutChannelType { Pad = sTgcIdHelper::sTgcChannelTypes::Pad , Strip = sTgcIdHelper::sTgcChannelTypes::Strip , Wire = sTgcIdHelper::sTgcChannelTypes::Wire , WireInGrp } |
| ReadoutChannelType to distinguish the available readout channels Pad - pad readout channel Strip - eta strip readout channel Wire - phi wire group readout channel WireIngrp - a particular wire in a given group. More... | |
| using | localCornerArray = std::array<Amg::Vector2D, 4> |
| Returns an array of four 2D vectors representing corner positions of the pads. | |
| using | globalCornerArray = std::array<Amg::Vector3D, 4> |
| Returns an array of four 3D vectors representing corner positions of the pads. | |
Public Member Functions | |
| sTgcReadoutElement (defineArgs &&args) | |
| virtual | ~sTgcReadoutElement () |
| const parameterBook & | getParameters () const |
| ActsTrk::DetectorType | detectorType () const override final |
| Overload from the ActsTrk::IDetectorElement. | |
| StatusCode | initElement () override final |
| Initialization of the readout elements. | |
| double | chamberHeight () const |
| Height of the chamber. | |
| double | sChamberLength () const |
| Length of the chamber on the short side. | |
| double | lChamberLength () const |
| Length of the chamber on the long side. | |
| double | gasGapPitch () const |
| Distance between 2 gas gaps. | |
| double | thickness () const override final |
| Thickness of the chamber. | |
| double | sFrameWidth () const |
| Width of the chamber frame on the short side. | |
| double | lFrameWidth () const |
| Width of the chamber frame on the long side. | |
| int | multilayer () const |
| Returns the multilayer of the sTgcReadoutElement. | |
| unsigned | numLayers () const |
| Returns the number of gas gap layers. | |
| double | gasGapThickness () const |
| Returns the thickness of the gas gap. | |
| double | firstStripPitch (const IdentifierHash &measHash) const |
| Gas Gaps. | |
| unsigned | numChannels (const IdentifierHash &measHash) const |
| Returns the number of strips / wires / pads in a given gasGap. | |
| double | stripLength (const IdentifierHash &measHash) const |
| Length of each strip. | |
| unsigned | nChTypes () const |
| Number of Channel Types. | |
| unsigned | numPadEta (const IdentifierHash &measHash) const |
| Returns the number of pads in the eta direction in the given layer. | |
| unsigned | numPadPhi (const IdentifierHash &measHash) const |
| Returns the number of pads in the Phi direction in the given gasGap layer. | |
| double | padHeight (const IdentifierHash &measHash) const |
| Returns the height of all the pads that are not adjacent to the bottom edge of the trapezoid active area. | |
| double | padPhiShift (const IdentifierHash &measHash) const |
| Returns the staggering shift of inner pad edges in the phi direction. | |
| double | anglePadPhi (const IdentifierHash &measHash) const |
| Returns the angular pitch of the pads in the phi direction. | |
| unsigned | maxPadEta (const IdentifierHash &measHash) const |
| Returns the maximum number of pads that can be contained in a column of a pad. Used to match the pad numbering scheme. | |
| unsigned | padNumberSeq (const IdentifierHash &measHash) const |
| Returns the pad number in the sequential numbering (1,2,3,...17,18,19,20,...)scheme from a pad identifier with conventional pad number (1, 2, 3, 19, 20,...) | |
| std::pair< unsigned, unsigned > | padEtaPhi (const IdentifierHash &measHash) const |
| Returns a pair of Eta and Phi index for the given pad identifier. | |
| unsigned | padEta (const IdentifierHash &measHash) const |
| Returns the Eta index of the pad for the given pad identifier. | |
| unsigned | padPhi (const IdentifierHash &measHash) const |
| Returns the Phi index of the pad for the given pad identifier. | |
| double | beamlineRadius (const IdentifierHash &measHash) const |
| Returns the distance between the gasGap center and the beamline. | |
| localCornerArray | localPadCorners (const IdentifierHash &measHash) const |
| globalCornerArray | globalPadCorners (const ActsTrk::GeometryContext &ctx, const IdentifierHash &measHash) const |
| int | padNumber (const Amg::Vector2D &hitPos, const IdentifierHash &measHash) const |
| Returns the pad Number given local position of hit and Identifier/Hash. | |
| const StripDesign & | stripDesign (const IdentifierHash &measHash) const |
| Retrieves the readoutElement Layer given the Identifier/Hash. | |
| const WireGroupDesign & | wireDesign (const IdentifierHash &measHash) const |
| Retrieves the readoutElement Layer given the Identifier/Hash. | |
| const PadDesign & | padDesign (const IdentifierHash &measHash) const |
| Retrieves the readoutElement Layer given the Identifier/Hash. | |
| Amg::Vector3D | globalChannelPosition (const ActsTrk::GeometryContext &ctx, const IdentifierHash &measHash) const |
| Returns the global pad/strip/wireGroup position. | |
| Amg::Vector2D | localChannelPosition (const IdentifierHash &measHash) const |
| Returns the local position of the measurement in the repsective frame. | |
| Amg::Vector3D | localPosition (const IdentifierHash &measHash) const |
| Returns the local position in the local gasGap frame. | |
| Amg::Vector3D | leftStripEdge (const ActsTrk::GeometryContext &ctx, const IdentifierHash &measHash) const |
| Amg::Vector3D | rightStripEdge (const ActsTrk::GeometryContext &ctx, const IdentifierHash &measHash) const |
| IdentifierHash | measurementHash (const Identifier &measId) const override final |
| Constructs the identifier hash from the full measurement Identifier. | |
| IdentifierHash | layerHash (const Identifier &measId) const override final |
| Transforms the Identifier into a layer hash. | |
| Identifier | measurementId (const IdentifierHash &measHash) const override final |
| Converts the measurement hash back to the full Identifier. | |
| const StripLayer & | stripLayer (const IdentifierHash &measId) const |
| bool | isEtaZero (const IdentifierHash &measurementHash, const Amg::Vector2D &localPosition) const |
| const GeoAlignableTransform * | alignableTransform () const |
| Return the alignable transform node of the readout element. | |
| Identifier | identify () const override final |
| Return the ATLAS identifier. | |
| IdentifierHash | identHash () const |
| Returns the hash of the readout element which is identical to the detector element hash provided by the associated idHelper. | |
| int | stationName () const |
| Returns the stationName (BIS, BOS, etc) encoded into the integer. | |
| int | stationEta () const |
| Returns the stationEta (positive A site, negative C site) | |
| int | stationPhi () const |
| Returns the stationPhi (1-8) -> sector (2*phi - (isSmall)) | |
| Muon::MuonStationIndex::ChIndex | chamberIndex () const |
| Returns the chamber index of the Identifier (MMS & STS) have the same chamber Index (EIS) | |
| const std::string & | chamberDesign () const |
| The chamber design refers to the construction parameters of a readout element. | |
| const Muon::IMuonIdHelperSvc * | idHelperSvc () const |
| Returns the pointer to the muonIdHelperSvc. | |
| Amg::Vector3D | center (const ActsTrk::GeometryContext &ctx) const |
| Returns the geometrical center point of the readout element. | |
| Amg::Vector3D | center (const ActsTrk::GeometryContext &ctx, const Identifier &id) const |
| Returns the origin of the readout element's transform. | |
| Amg::Vector3D | center (const ActsTrk::GeometryContext &ctx, const IdentifierHash &hash) const |
| Returns the origin of the readout element's transform. | |
| Amg::Transform3D | globalToLocalTransform (const ActsTrk::GeometryContext &ctx) const |
| Returns the transformation from the global ATLAS coordinate system into the local coordinate system of the readout element. | |
| Amg::Transform3D | globalToLocalTransform (const ActsTrk::GeometryContext &ctx, const Identifier &id) const |
| Returns the transformations from the ATLAS coordinate system into the local coordinate system of the readout sensor. | |
| Amg::Transform3D | globalToLocalTransform (const ActsTrk::GeometryContext &ctx, const IdentifierHash &hash) const |
| Returns the transformations from the ATLAS coordinate system into the local coordinate system using the measurement / layer hash mechanism. | |
| const Amg::Transform3D & | localToGlobalTransform (const ActsTrk::GeometryContext &ctx) const |
| Returns the transformation from the local coordinate system of the readout element into the global ATLAS coordinate system (inverse of globalToLocal). | |
| const Amg::Transform3D & | localToGlobalTransform (const ActsTrk::GeometryContext &ctx, const Identifier &id) const |
| Returns the transformation from the local coordinate system of the readout element into the global ATLAS coordinate system (inverse of globalToLocal). | |
| const Amg::Transform3D & | localToGlobalTransform (const ActsTrk::GeometryContext &ctx, const IdentifierHash &id) const |
| Returns the transformation from the local coordinate system of the readout element into the global ATLAS coordinate system (inverse of globalToLocal). | |
| const Amg::Transform3D & | transform (const Acts::GeometryContext &gctx) const override final |
| Wrapper function of the localToGlobalTransform method to satisfy the Acts::IDetectorElementBase interface. | |
| const Acts::Surface & | surface () const override final |
| Returns the surface associated with the readout element. | |
| Acts::Surface & | surface () override final |
| Returns the mutable surface associated with the readout element. | |
| const Acts::Surface & | surface (const IdentifierHash &hash) const |
| Returns the surface associated with the transform of a given readout layer. | |
| Acts::Surface & | surface (const IdentifierHash &hash) |
| Returns the mutable surface associated with the transform of a given readout layer. | |
| std::shared_ptr< Acts::Surface > | surfacePtr (const IdentifierHash &hash) const |
| Returns the mutable surface pointer associated with the transform of a given readout layer. | |
| std::vector< std::shared_ptr< Acts::Surface > > | getSurfaces () const |
| Returns all surfaces that are associated with the active readout planes. | |
| void | setChamberLink (const Chamber *chamber) |
| Sets the link to the enclosing chamber. | |
| void | setSectorLink (const SpectrometerSector *envelope) |
| Set the link to the enclosing sector envelope. | |
| const SpectrometerSector * | msSector () const |
| Returns the pointer to the envelope volume enclosing all chambers in the sector. | |
| const Chamber * | chamber () const |
| Returns the pointer to the chamber enclosing this readout element. | |
| void | releaseUnAlignedTrfs () const |
| Release all transforms from the memory that are not connected with a geometry context but cached by the readout element itself. | |
| unsigned int | storeAlignedTransforms (const ActsTrk::DetectorAlignStore &store) const override final |
| Construct the final aligned transformations and store them in the alignment store. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Static Public Member Functions | |
| static IdentifierHash | layerHash (const IdentifierHash &measHash) |
| static IdentifierHash | createHash (const unsigned gasGap, const unsigned channelType, const unsigned channel, const unsigned wireInGrp=0) |
| Create a measurement hash from the Identifier fields. | |
Protected Member Functions | |
| const Amg::Transform3D & | toStation (const ActsTrk::DetectorAlignStore *alignStore) const |
| Returns the transformation from the GeoModel tree and applies the A-lines if a valid alignment store pointer is provided. | |
| template<class MuonDetImpl> | |
| StatusCode | insertTransform (const IdentifierHash &hash) |
| Constructs the TransformDetEleCache associated with the hash of the given Mdt tube or strip layer. | |
| StatusCode | createGeoTransform () |
| Creates the TransformCacheDetEle corresponding the generic local -> global transformation of the readout element. | |
| StatusCode | strawSurfaceFactory (const IdentifierHash &hash, std::shared_ptr< const Acts::LineBounds > lBounds) |
| Invokes the factory to create straw surfaces && to associate them with the particular transform cache. | |
| StatusCode | planeSurfaceFactory (const IdentifierHash &hash, std::shared_ptr< const Acts::PlanarBounds > pBounds) |
| Invokes the factory to create plane surfaces && to associate them with the particular transform cache. | |
Static Protected Member Functions | |
| static IdentifierHash | geoTransformHash () |
| Returns the hash that is associated with the surface cache holding the transformation that is placing the ReadoutElement inside the ATLAS coordinate system. | |
Private Types | |
| using | TransformCacheMap = std::vector<std::unique_ptr<ActsTrk::TransformCache>> |
| The transform caches corresponding to the surfaces of the tubes and gas gap planes. | |
Private Member Functions | |
| Amg::Transform3D | fromGapToChamOrigin (const IdentifierHash &layerHash) const |
| Returns the transform to go from the gasGap -> chamber origin. | |
| const ActsTrk::TransformCache * | transformCache (const IdentifierHash &measHash) const |
| Returns the pointer to the TransformCache associated with this measurement hash. | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Static Private Member Functions | |
| static unsigned | channelNumber (const IdentifierHash &measHash) |
| Returns channel position for a given identifierHash. | |
| static unsigned | chType (const IdentifierHash &measHash) |
| Returns the channel type for a given identifierHash. | |
| static unsigned | gasGapNumber (const IdentifierHash &measHash) |
| Returns the gasGap (0 to 3) for a given identifierHash. | |
Private Attributes | |
| parameterBook | m_pars {} |
| const sTgcIdHelper & | m_idHelper {idHelperSvc()->stgcIdHelper()} |
| const int | m_multiLayer {m_idHelper.multilayer(identify())} |
| double | m_gasGapPitch {-1.} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MuonReadoutElement"} |
| IdHelperSvc for Identifier manipulation. | |
| const defineArgs | m_args {} |
| IdentifierHash | m_detElHash {} |
| Cache of the detector element hash. | |
| int | m_stName {-1} |
| Cache the station name of the identifier. | |
| int | m_stEta {-1} |
| Cache the station eta of the identifier. | |
| int | m_stPhi {-1} |
| Cache the station phi of the identifier. | |
| TransformCacheMap | m_localToGlobalCaches {} |
| std::unique_ptr< ActsTrk::TransformCache > | m_centralTrfCache {} |
| Cache of the transform of the readout element itself. | |
| Muon::MuonStationIndex::ChIndex | m_chIdx {Muon::MuonStationIndex::ChIndex::ChUnknown} |
| Cache the chamber index of the Identifier. | |
| ActsTrk::SurfaceCacheSet | m_surfaces |
| Cache of all associated surfaces. | |
| const SpectrometerSector * | m_msSectorLink {} |
| Pointer to the associated MS-sector & MuonChamber. | |
| const Chamber * | m_chambLink {nullptr} |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Friends | |
| class | ActsTrk::TransformCacheDetEle< sTgcReadoutElement > |
Definition at line 20 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
| using MuonGMR4::sTgcReadoutElement::globalCornerArray = std::array<Amg::Vector3D, 4> |
Returns an array of four 3D vectors representing corner positions of the pads.
Definition at line 149 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
| using MuonGMR4::sTgcReadoutElement::localCornerArray = std::array<Amg::Vector2D, 4> |
Returns an array of four 2D vectors representing corner positions of the pads.
Definition at line 146 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
The transform caches corresponding to the surfaces of the tubes and gas gap planes.
Definition at line 271 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
ReadoutChannelType to distinguish the available readout channels Pad - pad readout channel Strip - eta strip readout channel Wire - phi wire group readout channel WireIngrp - a particular wire in a given group.
| Enumerator | |
|---|---|
| Pad | |
| Strip | |
| Wire | |
| WireInGrp | |
Definition at line 30 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
| MuonGMR4::sTgcReadoutElement::sTgcReadoutElement | ( | defineArgs && | args | ) |
Definition at line 24 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
virtualdefault |
|
inherited |
Return the alignable transform node of the readout element.
| double MuonGMR4::sTgcReadoutElement::anglePadPhi | ( | const IdentifierHash & | measHash | ) | const |
Returns the angular pitch of the pads in the phi direction.
| double MuonGMR4::sTgcReadoutElement::beamlineRadius | ( | const IdentifierHash & | measHash | ) | const |
Returns the distance between the gasGap center and the beamline.
|
inherited |
Returns the geometrical center point of the readout element.
| ctx | Geometry context to take the alignment corrections into account |
|
inherited |
Returns the origin of the readout element's transform.
| ctx | Geometry context to take the alignment corrections into account |
| id | Identifier of the measurement channel to be retrieved |
|
inherited |
Returns the origin of the readout element's transform.
| ctx | Geometry context to take the alignment corrections into account |
| hash | Measurement hash of the transform to be retrieved |
|
inherited |
Returns the pointer to the chamber enclosing this readout element.
|
inherited |
The chamber design refers to the construction parameters of a readout element.
It's used for the retrieval of the chamber meta data containing the information about the number of sensors, their sepration etc.
| double MuonGMR4::sTgcReadoutElement::chamberHeight | ( | ) | const |
Height of the chamber.
|
inherited |
Returns the chamber index of the Identifier (MMS & STS) have the same chamber Index (EIS)
|
staticprivate |
Returns channel position for a given identifierHash.
|
staticprivate |
Returns the channel type for a given identifierHash.
|
protectedinherited |
Creates the TransformCacheDetEle corresponding the generic local -> global transformation of the readout element.
Needs to be called by each technology during initialization
Check that the alignable node has been assigned
Definition at line 32 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
static |
Create a measurement hash from the Identifier fields.
| gasGap in which the measurment sits | |
| channelType (strip / pad/ wire / wireInGrp) | |
| channel - electronics channel connected with the readout element | |
| wireInGrp - number of a specific wire in the group (digi only) |
|
inlinefinaloverridevirtual |
Overload from the ActsTrk::IDetectorElement.
Implements ActsTrk::IDetectorElementBase.
Definition at line 83 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
| double MuonGMR4::sTgcReadoutElement::firstStripPitch | ( | const IdentifierHash & | measHash | ) | const |
Gas Gaps.
|
private |
Returns the transform to go from the gasGap -> chamber origin.
Definition at line 69 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
staticprivate |
Returns the gasGap (0 to 3) for a given identifierHash.
| double MuonGMR4::sTgcReadoutElement::gasGapPitch | ( | ) | const |
Distance between 2 gas gaps.
| double MuonGMR4::sTgcReadoutElement::gasGapThickness | ( | ) | const |
Returns the thickness of the gas gap.
|
staticprotectedinherited |
Returns the hash that is associated with the surface cache holding the transformation that is placing the ReadoutElement inside the ATLAS coordinate system.
Definition at line 41 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
| const parameterBook & MuonGMR4::sTgcReadoutElement::getParameters | ( | ) | const |
Definition at line 29 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
inherited |
Returns all surfaces that are associated with the active readout planes.
Definition at line 146 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
| Amg::Vector3D MuonGMR4::sTgcReadoutElement::globalChannelPosition | ( | const ActsTrk::GeometryContext & | ctx, |
| const IdentifierHash & | measHash ) const |
Returns the global pad/strip/wireGroup position.
Definition at line 147 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
| globalCornerArray MuonGMR4::sTgcReadoutElement::globalPadCorners | ( | const ActsTrk::GeometryContext & | ctx, |
| const IdentifierHash & | measHash ) const |
Definition at line 154 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
inherited |
Returns the transformation from the global ATLAS coordinate system into the local coordinate system of the readout element.
The local axes are oriented such that x-axis: Is parallel to the sensors measuring the eta coordinate (e.g. parallel to the Mdt tube wire) y-axis: Is parallel to the sensors measuring the phi coordinate (e.g. to the next tube wire) z-axis: Points vertically outwards the chamber (e.g. radially outwards for barrel or to the endcap cavern wall)
| ctx | Geometry context to take the alignment corrections into account |
Definition at line 71 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the transformations from the ATLAS coordinate system into the local coordinate system of the readout sensor.
The orientiation of the axes depends on whether the sensor is described by a plane or by a tube wire. In the former case, the axes are oriented such that x-axis: Points to the next eta sensor such that local-x always constrains the precision coordinate y-axis: Points to the next phi sensor such that local y always constains the coordinate along the precision sensor z-axis: Is the cross-product of the other two For Mdt tubes the axis orientiation is such that x-axis: Points to the next tube in the same tube-layer y-axis: Points to the next tube-layer plane z-axis: Points along the tube wire
| ctx | Geometry context to take the alignment corrections into account |
| id | Identifier of the measurement for which the transform shall be retrieved |
|
inherited |
Returns the transformations from the ATLAS coordinate system into the local coordinate system using the measurement / layer hash mechanism.
For strip-like detectors a layer hash must always be parsed. For the Mdts a measurement or layer hash can be parsed depending on whether the plane transform or the particular tube transform shall be retrieved.
| ctx | Geometry context to take the alignment corrections into account. |
| hash | Hash of the transform to fetch (Measurement or layer hash). |
|
inherited |
Returns the hash of the readout element which is identical to the detector element hash provided by the associated idHelper.
|
finaloverridevirtualinherited |
Return the ATLAS identifier.
Implements ActsTrk::IDetectorElementBase.
|
inherited |
Returns the pointer to the muonIdHelperSvc.
|
finaloverridevirtual |
Initialization of the readout elements.
Transforms & surfaces for each readout layer are created
Implements MuonGMR4::MuonReadoutElement.
Definition at line 31 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
protectedinherited |
Constructs the TransformDetEleCache associated with the hash of the given Mdt tube or strip layer.
The method is templated over the specific implementation of the readout element as the TransformCacheDetEle implements the assembly of the final transforms. The method returns a failure of an instance for the same hash has already been invoked earlier
| hash | Measurement / layer hash to identifier the transform of the readout layer |
| bool MuonGMR4::sTgcReadoutElement::isEtaZero | ( | const IdentifierHash & | measurementHash, |
| const Amg::Vector2D & | localPosition ) const |
Definition at line 216 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
finaloverridevirtual |
Transforms the Identifier into a layer hash.
Implements MuonGMR4::MuonReadoutElement.
|
static |
| double MuonGMR4::sTgcReadoutElement::lChamberLength | ( | ) | const |
Length of the chamber on the long side.
| Amg::Vector3D MuonGMR4::sTgcReadoutElement::leftStripEdge | ( | const ActsTrk::GeometryContext & | ctx, |
| const IdentifierHash & | measHash ) const |
Definition at line 180 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
| double MuonGMR4::sTgcReadoutElement::lFrameWidth | ( | ) | const |
Width of the chamber frame on the long side.
| Amg::Vector2D MuonGMR4::sTgcReadoutElement::localChannelPosition | ( | const IdentifierHash & | measHash | ) | const |
Returns the local position of the measurement in the repsective frame.
I.e. the local x is always along the measurement direction
Shifting the first wireGroup center to the last wire of the first wireGroup
Defining the wireGroup center as the mean of the position of the last wire in the first group and the left edge of the active area defined for pads to match the R3 description
Shifting the last wireGroup center to the last wire of the second-last wireGroup
Defining the wireGroup center as the mean of the position of the last wire in the second last group and the right edge of the active area defined for pads to match the R3 description
In R3, the center of the normal wireGroup is defined on the 10th wire, whereas, in R4 the center is at the center of the wireGroup (between 10th and 11th wire).
Definition at line 73 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
| localCornerArray MuonGMR4::sTgcReadoutElement::localPadCorners | ( | const IdentifierHash & | measHash | ) | const |
| Amg::Vector3D MuonGMR4::sTgcReadoutElement::localPosition | ( | const IdentifierHash & | measHash | ) | const |
Returns the local position in the local gasGap frame.
Definition at line 142 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
inherited |
Returns the transformation from the local coordinate system of the readout element into the global ATLAS coordinate system (inverse of globalToLocal).
| ctx | Geometry context to take the alignment corrections into account. |
Definition at line 74 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the transformation from the local coordinate system of the readout element into the global ATLAS coordinate system (inverse of globalToLocal).
| ctx | Geometry context to take the alignment corrections into account |
| id | Identifier of the measurement for which the transform shall be retrieved |
|
inherited |
Returns the transformation from the local coordinate system of the readout element into the global ATLAS coordinate system (inverse of globalToLocal).
| ctx | Geometry context to take the alignment corrections into account |
| hash | Hash of the transform to fetch (Measurement or layer hash). |
| unsigned MuonGMR4::sTgcReadoutElement::maxPadEta | ( | const IdentifierHash & | measHash | ) | const |
Returns the maximum number of pads that can be contained in a column of a pad. Used to match the pad numbering scheme.
|
finaloverridevirtual |
Constructs the identifier hash from the full measurement Identifier.
The hash is always defined w.r.t the specific detector element and used to access the information in memory quickly
Implements MuonGMR4::MuonReadoutElement.
|
finaloverridevirtual |
Converts the measurement hash back to the full Identifier.
Implements MuonGMR4::MuonReadoutElement.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inherited |
Returns the pointer to the envelope volume enclosing all chambers in the sector.
| int MuonGMR4::sTgcReadoutElement::multilayer | ( | ) | const |
Returns the multilayer of the sTgcReadoutElement.
| unsigned MuonGMR4::sTgcReadoutElement::nChTypes | ( | ) | const |
Number of Channel Types.
| unsigned MuonGMR4::sTgcReadoutElement::numChannels | ( | const IdentifierHash & | measHash | ) | const |
Returns the number of strips / wires / pads in a given gasGap.
| measHash | Measurement hash corresponding to the gasGap of interest |
| unsigned MuonGMR4::sTgcReadoutElement::numLayers | ( | ) | const |
Returns the number of gas gap layers.
| unsigned MuonGMR4::sTgcReadoutElement::numPadEta | ( | const IdentifierHash & | measHash | ) | const |
Returns the number of pads in the eta direction in the given layer.
| unsigned MuonGMR4::sTgcReadoutElement::numPadPhi | ( | const IdentifierHash & | measHash | ) | const |
Returns the number of pads in the Phi direction in the given gasGap layer.
| const PadDesign & MuonGMR4::sTgcReadoutElement::padDesign | ( | const IdentifierHash & | measHash | ) | const |
Retrieves the readoutElement Layer given the Identifier/Hash.
| unsigned MuonGMR4::sTgcReadoutElement::padEta | ( | const IdentifierHash & | measHash | ) | const |
Returns the Eta index of the pad for the given pad identifier.
| std::pair< unsigned, unsigned > MuonGMR4::sTgcReadoutElement::padEtaPhi | ( | const IdentifierHash & | measHash | ) | const |
Returns a pair of Eta and Phi index for the given pad identifier.
| double MuonGMR4::sTgcReadoutElement::padHeight | ( | const IdentifierHash & | measHash | ) | const |
Returns the height of all the pads that are not adjacent to the bottom edge of the trapezoid active area.
| int MuonGMR4::sTgcReadoutElement::padNumber | ( | const Amg::Vector2D & | hitPos, |
| const IdentifierHash & | measHash ) const |
Returns the pad Number given local position of hit and Identifier/Hash.
Definition at line 171 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
| unsigned MuonGMR4::sTgcReadoutElement::padNumberSeq | ( | const IdentifierHash & | measHash | ) | const |
Returns the pad number in the sequential numbering (1,2,3,...17,18,19,20,...)scheme from a pad identifier with conventional pad number (1, 2, 3, 19, 20,...)
| unsigned MuonGMR4::sTgcReadoutElement::padPhi | ( | const IdentifierHash & | measHash | ) | const |
Returns the Phi index of the pad for the given pad identifier.
| double MuonGMR4::sTgcReadoutElement::padPhiShift | ( | const IdentifierHash & | measHash | ) | const |
Returns the staggering shift of inner pad edges in the phi direction.
|
protectedinherited |
Invokes the factory to create plane surfaces && to associate them with the particular transform cache.
| hash | Layer hash of the readout plane of interest |
| lBounds | Bounds describing the rectangle or trapezoidal surface's dimensions |
Definition at line 118 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Release all transforms from the memory that are not connected with a geometry context but cached by the readout element itself.
Definition at line 49 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
| Amg::Vector3D MuonGMR4::sTgcReadoutElement::rightStripEdge | ( | const ActsTrk::GeometryContext & | ctx, |
| const IdentifierHash & | measHash ) const |
Definition at line 198 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
| double MuonGMR4::sTgcReadoutElement::sChamberLength | ( | ) | const |
Length of the chamber on the short side.
|
inherited |
Sets the link to the enclosing chamber.
Definition at line 139 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
inherited |
Set the link to the enclosing sector envelope.
Definition at line 142 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
| double MuonGMR4::sTgcReadoutElement::sFrameWidth | ( | ) | const |
Width of the chamber frame on the short side.
|
inherited |
Returns the stationEta (positive A site, negative C site)
|
inherited |
Returns the stationName (BIS, BOS, etc) encoded into the integer.
|
inherited |
Returns the stationPhi (1-8) -> sector (2*phi - (isSmall))
|
finaloverridevirtualinherited |
Construct the final aligned transformations and store them in the alignment store.
Returns the number of how many transformations have been stored
Implements ActsTrk::IDetectorElement.
Definition at line 58 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
protectedinherited |
Invokes the factory to create straw surfaces && to associate them with the particular transform cache.
| hash | Measurement hash of the tube of interest |
| lBounds | Surface bound object describing the straw radius and the active tube length |
Definition at line 95 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
| const StripDesign & MuonGMR4::sTgcReadoutElement::stripDesign | ( | const IdentifierHash & | measHash | ) | const |
Retrieves the readoutElement Layer given the Identifier/Hash.
| const StripLayer & MuonGMR4::sTgcReadoutElement::stripLayer | ( | const IdentifierHash & | measId | ) | const |
| double MuonGMR4::sTgcReadoutElement::stripLength | ( | const IdentifierHash & | measHash | ) | const |
Length of each strip.
|
finaloverrideinherited |
Returns the surface associated with the readout element.
It is placed in the center of the readout element's volume and has the volumes surface bounds
Definition at line 90 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
finaloverrideinherited |
Returns the mutable surface associated with the readout element.
Definition at line 91 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the mutable surface associated with the transform of a given readout layer.
(E.g. tube or the strip plane)
| hash | Hash of the surface to fetch (Measurement or layer hash). |
Definition at line 93 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the surface associated with the transform of a given readout layer.
(E.g. tube or the strip plane)
| hash | Hash of the surface to fetch (Measurement or layer hash). |
Definition at line 92 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the mutable surface pointer associated with the transform of a given readout layer.
(E.g. tube or the strip plane)
| hash | Hash of the surface to fetch (Measurement or layer hash). |
Definition at line 82 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
finaloverride |
Thickness of the chamber.
|
protectedinherited |
Returns the transformation from the GeoModel tree and applies the A-lines if a valid alignment store pointer is provided.
The local coordinate system in GeoModel differs from the system used by the localToGlobaTransformations. It is referred to the AMDB coordinate system used to describe the MS in Run 1-3 x-axis: Points along the thickness of the readout element (e.g. radially outwards for barrel chambers or along global Z for detector mounted in the endcaps) y-axis: Points along the edge which is parallel to the eta sensors z-axis: Points along towards the next eta sensor
Definition at line 46 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
finaloverrideinherited |
Wrapper function of the localToGlobalTransform method to satisfy the Acts::IDetectorElementBase interface.
| gctx | Acts representation of the GeometryContext |
Definition at line 78 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
privateinherited |
Returns the pointer to the TransformCache associated with this measurement hash.
| measHash | Measurement hash for which the cache shall be returned |
| const WireGroupDesign & MuonGMR4::sTgcReadoutElement::wireDesign | ( | const IdentifierHash & | measHash | ) | const |
Retrieves the readoutElement Layer given the Identifier/Hash.
|
friend |
Definition at line 190 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
privateinherited |
Definition at line 261 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache of the transform of the readout element itself.
Definition at line 274 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Definition at line 284 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache the chamber index of the Identifier.
Definition at line 277 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache of the detector element hash.
Definition at line 263 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
private |
Definition at line 211 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
private |
Definition at line 209 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
IdHelperSvc for Identifier manipulation.
Definition at line 259 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
mutableprivateinherited |
|
privateinherited |
Definition at line 272 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Pointer to the associated MS-sector & MuonChamber.
Definition at line 283 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
private |
Definition at line 210 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 208 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
Cache the station eta of the identifier.
Definition at line 267 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache the station name of the identifier.
Definition at line 265 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache the station phi of the identifier.
Definition at line 269 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache of all associated surfaces.
Definition at line 281 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.