![]() |
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. More... | |
using | globalCornerArray = std::array< Amg::Vector3D, 4 > |
Returns an array of four 3D vectors representing corner positions of the pads. More... | |
Public Member Functions | |
sTgcReadoutElement (defineArgs &&args) | |
virtual | ~sTgcReadoutElement () |
const parameterBook & | getParameters () const |
ActsTrk::DetectorType | detectorType () const override final |
Overload from the ActsTrk::IDetectorElement. More... | |
StatusCode | initElement () override final |
Element initialization. More... | |
double | chamberHeight () const |
Height of the chamber. More... | |
double | sChamberLength () const |
Length of the chamber on the short side. More... | |
double | lChamberLength () const |
Length of the chamber on the long side. More... | |
double | gasGapPitch () const |
Distance between 2 gas gaps. More... | |
double | thickness () const override final |
Thickness of the chamber. More... | |
double | sFrameWidth () const |
Width of the chamber frame on the short side. More... | |
double | lFrameWidth () const |
Width of the chamber frame on the long side. More... | |
int | multilayer () const |
Returns the multilayer of the sTgcReadoutElement. More... | |
unsigned int | numLayers () const |
Returns the number of gas gap layers. More... | |
double | gasGapThickness () const |
Returns the thickness of the gas gap. More... | |
double | firstStripPitch (const Identifier &measId) const |
Gas Gaps. More... | |
double | firstStripPitch (const IdentifierHash &measHash) const |
unsigned int | numChannels (const Identifier &measId) const |
Returns the number of strips / wires / pads in a given gasGap. More... | |
unsigned int | numChannels (const IdentifierHash &measHash) const |
Returns the number of strips / wires / pads in a given gasGap. More... | |
double | stripLength (const Identifier &measId) const |
Length of each strip. More... | |
double | stripLength (const IdentifierHash &measHash) const |
unsigned int | nChTypes () const |
Number of Channel Types. More... | |
unsigned int | numPadEta (const Identifier &measId) const |
Returns the number of pads in the eta direction in the given layer. More... | |
unsigned int | numPadEta (const IdentifierHash &measHash) const |
unsigned int | numPadPhi (const Identifier &measId) const |
Returns the number of pads in the Phi direction in the given gasGap layer. More... | |
unsigned int | numPadPhi (const IdentifierHash &measHash) const |
double | padHeight (const Identifier &measId) const |
Returns the height of all the pads that are not adjacent to the bottom edge of the trapezoid active area. More... | |
double | padHeight (const IdentifierHash &measHash) const |
double | padPhiShift (const Identifier &measId) const |
Returns the staggering shift of inner pad edges in the phi direction. More... | |
double | padPhiShift (const IdentifierHash &measHash) const |
double | anglePadPhi (const Identifier &measId) const |
Returns the angular pitch of the pads in the phi direction. More... | |
double | anglePadPhi (const IdentifierHash &measHash) const |
unsigned int | maxPadEta (const Identifier &measId) const |
Returns the maximum number of pads that can be contained in a column of a pad. Used to match the pad numbering scheme. More... | |
unsigned int | maxPadEta (const IdentifierHash &measHash) const |
unsigned int | padNumber (const Identifier &measId) const |
Returns the pad number in the conventional pad numbering scheme from the sequential channel number. More... | |
unsigned int | padNumber (const IdentifierHash &measHash) const |
std::pair< uint, uint > | padEtaPhi (const Identifier &measId) const |
Returns a pair of Eta and Phi index for the given pad identifier. More... | |
std::pair< uint, uint > | padEtaPhi (const IdentifierHash &measHash) const |
unsigned int | padEta (const Identifier &measId) const |
Returns the Eta index of the pad for the given pad identifier. More... | |
unsigned int | padEta (const IdentifierHash &measHash) const |
unsigned int | padPhi (const Identifier &measId) const |
Returns the Phi index of the pad for the given pad identifier. More... | |
unsigned int | padPhi (const IdentifierHash &measHash) const |
double | beamlineRadius (const Identifier &measId) const |
Returns the distance between the gasGap center and the beamline. More... | |
double | beamlineRadius (const IdentifierHash &measHash) const |
localCornerArray | localPadCorners (const Identifier &measId) const |
localCornerArray | localPadCorners (const IdentifierHash &measHash) const |
globalCornerArray | globalPadCorners (const ActsGeometryContext &ctx, const Identifier &measId) const |
globalCornerArray | globalPadCorners (const ActsGeometryContext &ctx, const IdentifierHash &measHash) const |
int | padNumber (const Amg::Vector2D &hitPos, const Identifier &measId) const |
Returns the pad Number given local position of hit and Identifier/Hash. More... | |
int | padNumber (const Amg::Vector2D &hitPos, const IdentifierHash &measHash) const |
const StripDesign & | stripDesign (const Identifier &measId) const |
Retrieves the readoutElement Layer given the Identifier/Hash. More... | |
const StripDesign & | stripDesign (const IdentifierHash &measHash) const |
const WireGroupDesign & | wireDesign (const Identifier &measId) const |
Retrieves the readoutElement Layer given the Identifier/Hash. More... | |
const WireGroupDesign & | wireDesign (const IdentifierHash &measHash) const |
const PadDesign & | padDesign (const Identifier &measId) const |
Retrieves the readoutElement Layer given the Identifier/Hash. More... | |
const PadDesign & | padDesign (const IdentifierHash &measHash) const |
Amg::Vector3D | globalChannelPosition (const ActsGeometryContext &ctx, const Identifier &measId) const |
Returns the global pad/strip/wireGroup position. More... | |
Amg::Vector3D | globalChannelPosition (const ActsGeometryContext &ctx, const IdentifierHash &measHash) const |
Amg::Vector2D | localChannelPosition (const Identifier &measId) const |
Returns the local pad/strip/wireGroup position. More... | |
Amg::Vector2D | localChannelPosition (const IdentifierHash &measHash) const |
Amg::Vector3D | leftStripEdge (const ActsGeometryContext &ctx, const IdentifierHash &measHash) const |
Amg::Vector3D | rightStripEdge (const ActsGeometryContext &ctx, const IdentifierHash &measHash) const |
IdentifierHash | measurementHash (const Identifier &measId) const override final |
Constructs the identifier hash from the full measurement Identifier. More... | |
IdentifierHash | layerHash (const Identifier &measId) const override final |
Transforms the Identifier into a layer hash. More... | |
Identifier | measurementId (const IdentifierHash &measHash) const override final |
Converts the measurement hash back to the full Identifier. More... | |
const StripLayer & | stripLayer (const Identifier &measId) const |
const StripLayer & | stripLayer (const IdentifierHash &measId) const |
bool | isEtaZero (const IdentifierHash &measurementHash, const Amg::Vector2D &localPosition) const |
const GeoAlignableTransform * | alignableTransform () const |
Returnsthe alignable transform of the readout element. More... | |
Identifier | identify () const override final |
Return the athena identifier. More... | |
IdentifierHash | identHash () const |
Returns the Identifier has of the Element that is Identical to the detElHash from the id_helper class. More... | |
int | stationName () const |
Returns the stationName (BIS, BOS, etc) encoded into the integer. More... | |
int | stationEta () const |
Returns the stationEta (positive A site, negative O site) More... | |
int | stationPhi () const |
Returns the stationPhi (1-8) -> sector (2*phi - (isSmall)) More... | |
Muon::MuonStationIndex::ChIndex | chamberIndex () const |
Returns the chamber index of the Identifier (MMS & STS) have the same chamber Index (EIS) More... | |
const std::string & | chamberDesign () const |
The chamber design refers to the construction parameters of a readout element. More... | |
const Muon::IMuonIdHelperSvc * | idHelperSvc () const |
Returns the pointer to the muonIdHelperSvc. More... | |
Amg::Vector3D | center (const ActsGeometryContext &ctx) const |
Returns the detector center (Which is the same as the detector center of the first measurement layer) More... | |
Amg::Vector3D | center (const ActsGeometryContext &ctx, const Identifier &id) const |
Returns the center of a given detector layer using the complete Identifier of the measurement. More... | |
Amg::Vector3D | center (const ActsGeometryContext &ctx, const IdentifierHash &hash) const |
Returns the center of a given detector layer using the Identifier hash of the measurement. More... | |
Amg::Transform3D | globalToLocalTrans (const ActsGeometryContext &ctx) const |
Transformations to translate between local <-> global coordinates. More... | |
Amg::Transform3D | globalToLocalTrans (const ActsGeometryContext &ctx, const Identifier &id) const |
Returns the global to local transformation into the rest frame of a given measurement layer. More... | |
Amg::Transform3D | globalToLocalTrans (const ActsGeometryContext &ctx, const IdentifierHash &hash) const |
Returns the global to local transformation into the rest frame of a given measurement layer. More... | |
const Amg::Transform3D & | localToGlobalTrans (const ActsGeometryContext &ctx) const |
Returns the local to global transformation into the ATLAS coordinate system. More... | |
const Amg::Transform3D & | localToGlobalTrans (const ActsGeometryContext &ctx, const Identifier &id) const |
const Amg::Transform3D & | localToGlobalTrans (const ActsGeometryContext &ctx, const IdentifierHash &id) const |
const Amg::Transform3D & | transform (const Acts::GeometryContext &gctx) const override final |
Returns the transformation to the origin of the chamber coordinate system. More... | |
const Acts::Surface & | surface () const override final |
Returns the surface associated to the readout element plane. More... | |
Acts::Surface & | surface () override final |
const Acts::Surface & | surface (const IdentifierHash &hash) const |
Returns the sufrface associated to a wire / measurement plane in the detector. More... | |
Acts::Surface & | surface (const IdentifierHash &hash) |
std::shared_ptr< Acts::Surface > | surfacePtr (const IdentifierHash &hash) const |
Returns the pointer associated to a certain wire / plane. More... | |
void | setChamberLink (const Chamber *chamber) |
Sets the link to the enclosing chamber. More... | |
void | setSectorLink (const SpectrometerSector *envelope) |
Set the link to the enclosing sector envelope. More... | |
const SpectrometerSector * | msSector () const |
Returns the pointer to the envelope volume enclosing all chambers in the sector. More... | |
const Chamber * | chamber () const |
Returns the pointer to the chamber enclosing this readout element. More... | |
std::vector< std::shared_ptr< Acts::Surface > > | getSurfaces () const |
Returns all surfaces that are associated with the active readout planes. More... | |
void | releaseUnAlignedTrfs () const |
Releases all cached transforms that are not connected with alignment. More... | |
unsigned int | storeAlignedTransforms (const ActsTrk::DetectorAlignStore &store) const override final |
Caches the aligned transformation in the provided store. Returns the number of cached elements. More... | |
bool | msgLvl (const MSG::Level lvl) const |
Test the output level. More... | |
MsgStream & | msg () const |
The standard message stream. More... | |
MsgStream & | msg (const MSG::Level lvl) const |
The standard message stream. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Static Public Member Functions | |
static IdentifierHash | layerHash (const IdentifierHash &measHash) |
static IdentifierHash | createHash (const unsigned int gasGap, const unsigned int channelType, const unsigned int channel, const unsigned int wireInGrp=0) |
Create a measurement hash from the Identifier fields. More... | |
Protected Member Functions | |
const Amg::Transform3D & | toStation (const ActsTrk::DetectorAlignStore *alignStore) const |
Returns the local -> global transformation to go from the volume center origin. More... | |
template<class MuonDetImpl > | |
StatusCode | insertTransform (const IdentifierHash &hash) |
Inserts a transfomration for caching. More... | |
StatusCode | createGeoTransform () |
StatusCode | strawSurfaceFactory (const IdentifierHash &hash, std::shared_ptr< Acts::LineBounds > lBounds) |
StatusCode | planeSurfaceFactory (const IdentifierHash &hash, std::shared_ptr< Acts::PlanarBounds > pBounds) |
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. More... | |
Private Types | |
using | TransformCacheMap = std::unordered_map< IdentifierHash, std::unique_ptr< ActsTrk::TransformCache > > |
Cache all local to global transformations. More... | |
Private Member Functions | |
Amg::Transform3D | fromGapToChamOrigin (const IdentifierHash &layerHash) const |
Amg::Vector3D | chamberStripPos (const IdentifierHash &measHash) const |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Static Private Member Functions | |
static unsigned int | channelNumber (const IdentifierHash &measHash) |
Returns channel position for a given identifierHash. More... | |
static unsigned int | chType (const IdentifierHash &measHash) |
Returns the channel type for a given identifierHash. More... | |
static unsigned int | gasGapNumber (const IdentifierHash &measHash) |
Returns the gasGap (0 to 3) for a given identifierHash. More... | |
Private Attributes | |
parameterBook | m_pars {} |
const sTgcIdHelper & | m_idHelper {idHelperSvc()->stgcIdHelper()} |
const int | m_multiLayer {m_idHelper.multilayer(identify())} |
double | m_gasGapPitch {-1.} |
const unsigned int | m_hashShiftChType = 2*std::popcount(static_cast<unsigned int>(numLayers())) |
Auxillary variables to translate the Identifier to a measurement hash and back. More... | |
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", "MuonReadoutElement"} |
const defineArgs | m_args {} |
IdentifierHash | m_detElHash {} |
Cache of the detector element hash. More... | |
Muon::MuonStationIndex::ChIndex | m_chIdx {Muon::MuonStationIndex::ChIndex::ChUnknown} |
Cache the chamber index of the Identifier. More... | |
int | m_stName {-1} |
Cache the station name of the identifier. More... | |
int | m_stEta {-1} |
Cache the station eta of the identifier. More... | |
int | m_stPhi {-1} |
Cache the station phi of the identifier. More... | |
TransformCacheMap | m_localToGlobalCaches |
ActsTrk::SurfaceCacheSet | m_surfaces |
Cache of all associated surfaces. More... | |
const SpectrometerSector * | m_msSectorLink {} |
Pointer to the associated MS-sector & MuonChamber. More... | |
const Chamber * | m_chambLink {nullptr} |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
Friends | |
class | ActsTrk::TransformCacheDetEle< sTgcReadoutElement > |
Definition at line 21 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 172 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 168 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
Cache all local to global transformations.
Definition at line 210 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 31 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
MuonGMR4::sTgcReadoutElement::sTgcReadoutElement | ( | defineArgs && | args | ) |
Definition at line 26 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
virtualdefault |
|
inherited |
Returnsthe alignable transform of the readout element.
double MuonGMR4::sTgcReadoutElement::anglePadPhi | ( | const Identifier & | measId | ) | const |
Returns the angular pitch of the pads in the phi direction.
double MuonGMR4::sTgcReadoutElement::anglePadPhi | ( | const IdentifierHash & | measHash | ) | const |
double MuonGMR4::sTgcReadoutElement::beamlineRadius | ( | const Identifier & | measId | ) | const |
Returns the distance between the gasGap center and the beamline.
double MuonGMR4::sTgcReadoutElement::beamlineRadius | ( | const IdentifierHash & | measHash | ) | const |
|
inherited |
Returns the detector center (Which is the same as the detector center of the first measurement layer)
|
inherited |
Returns the center of a given detector layer using the complete Identifier of the measurement.
|
inherited |
Returns the center of a given detector layer using the Identifier hash of the measurement.
Returns the pointer to the chamber enclosing this readout element.
|
inherited |
The chamber design refers to the construction parameters of a readout element.
Used for the retrieval of the chamber parameters E.g. the chambers BOL1A8 & BOL2A8 are identical in terms of number of tubes, dimensions 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)
|
private |
Definition at line 212 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
staticprivate |
Returns channel position for a given identifierHash.
|
staticprivate |
Returns the channel type for a given identifierHash.
|
protectedinherited |
Check that the alignable node has been assigned
Definition at line 36 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 88 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
double MuonGMR4::sTgcReadoutElement::firstStripPitch | ( | const Identifier & | measId | ) | const |
Gas Gaps.
double MuonGMR4::sTgcReadoutElement::firstStripPitch | ( | const IdentifierHash & | measHash | ) | const |
|
private |
Definition at line 103 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 44 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
const parameterBook & MuonGMR4::sTgcReadoutElement::getParameters | ( | ) | const |
Definition at line 31 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
inherited |
Returns all surfaces that are associated with the active readout planes.
Definition at line 152 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
Amg::Vector3D MuonGMR4::sTgcReadoutElement::globalChannelPosition | ( | const ActsGeometryContext & | ctx, |
const Identifier & | measId | ||
) | const |
Returns the global pad/strip/wireGroup position.
Amg::Vector3D MuonGMR4::sTgcReadoutElement::globalChannelPosition | ( | const ActsGeometryContext & | ctx, |
const IdentifierHash & | measHash | ||
) | const |
globalCornerArray MuonGMR4::sTgcReadoutElement::globalPadCorners | ( | const ActsGeometryContext & | ctx, |
const Identifier & | measId | ||
) | const |
globalCornerArray MuonGMR4::sTgcReadoutElement::globalPadCorners | ( | const ActsGeometryContext & | ctx, |
const IdentifierHash & | measHash | ||
) | const |
Definition at line 194 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
|
inherited |
Transformations to translate between local <-> global coordinates.
They follow the common ATLAS conventations that the origin is located in the center of the detector layer x-axis: Points towards the sky y-axis: Points towards the edges of ATLAS z-axis: Points along the beamline The transformations always include the corrections from the A-Lines of the alignment system Returns the global to local transformation into the rest frame of the detector (Coincides with the first measurement layer)
Definition at line 78 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the global to local transformation into the rest frame of a given measurement layer.
|
inherited |
Returns the global to local transformation into the rest frame of a given measurement layer.
|
inherited |
Returns the Identifier has of the Element that is Identical to the detElHash from the id_helper class.
|
finaloverridevirtualinherited |
Return the athena identifier.
The Identifier is identical with the first measurment channel in readout element (E.g. Strip 1 in Layer 1 in the NSW)
Implements ActsTrk::IDetectorElementBase.
|
inherited |
Returns the pointer to the muonIdHelperSvc.
|
finaloverridevirtual |
Element initialization.
Implements MuonGMR4::MuonReadoutElement.
Definition at line 33 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 |
Inserts a transfomration for caching.
bool MuonGMR4::sTgcReadoutElement::isEtaZero | ( | const IdentifierHash & | measurementHash, |
const Amg::Vector2D & | localPosition | ||
) | const |
Definition at line 320 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 ActsGeometryContext & | ctx, |
const IdentifierHash & | measHash | ||
) | const |
Definition at line 232 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 Identifier & | measId | ) | const |
Returns the local pad/strip/wireGroup position.
Amg::Vector2D MuonGMR4::sTgcReadoutElement::localChannelPosition | ( | const IdentifierHash & | measHash | ) | const |
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 107 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
localCornerArray MuonGMR4::sTgcReadoutElement::localPadCorners | ( | const Identifier & | measId | ) | const |
localCornerArray MuonGMR4::sTgcReadoutElement::localPadCorners | ( | const IdentifierHash & | measHash | ) | const |
|
inherited |
Returns the local to global transformation into the ATLAS coordinate system.
Definition at line 81 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
|
inherited |
Definition at line 50 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
unsigned int MuonGMR4::sTgcReadoutElement::maxPadEta | ( | const Identifier & | measId | ) | 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 int MuonGMR4::sTgcReadoutElement::maxPadEta | ( | const IdentifierHash & | measHash | ) | const |
|
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 164 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 179 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 int MuonGMR4::sTgcReadoutElement::nChTypes | ( | ) | const |
Number of Channel Types.
unsigned int MuonGMR4::sTgcReadoutElement::numChannels | ( | const Identifier & | measId | ) | const |
Returns the number of strips / wires / pads in a given gasGap.
measId | Identifier corresponding to the gasGap of interest |
unsigned int 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 int MuonGMR4::sTgcReadoutElement::numLayers | ( | ) | const |
Returns the number of gas gap layers.
unsigned int MuonGMR4::sTgcReadoutElement::numPadEta | ( | const Identifier & | measId | ) | const |
Returns the number of pads in the eta direction in the given layer.
unsigned int MuonGMR4::sTgcReadoutElement::numPadEta | ( | const IdentifierHash & | measHash | ) | const |
unsigned int MuonGMR4::sTgcReadoutElement::numPadPhi | ( | const Identifier & | measId | ) | const |
Returns the number of pads in the Phi direction in the given gasGap layer.
unsigned int MuonGMR4::sTgcReadoutElement::numPadPhi | ( | const IdentifierHash & | measHash | ) | const |
const PadDesign& MuonGMR4::sTgcReadoutElement::padDesign | ( | const Identifier & | measId | ) | const |
Retrieves the readoutElement Layer given the Identifier/Hash.
const PadDesign& MuonGMR4::sTgcReadoutElement::padDesign | ( | const IdentifierHash & | measHash | ) | const |
unsigned int MuonGMR4::sTgcReadoutElement::padEta | ( | const Identifier & | measId | ) | const |
Returns the Eta index of the pad for the given pad identifier.
unsigned int MuonGMR4::sTgcReadoutElement::padEta | ( | const IdentifierHash & | measHash | ) | const |
std::pair<uint, uint> MuonGMR4::sTgcReadoutElement::padEtaPhi | ( | const Identifier & | measId | ) | const |
Returns a pair of Eta and Phi index for the given pad identifier.
std::pair<uint, uint> MuonGMR4::sTgcReadoutElement::padEtaPhi | ( | const IdentifierHash & | measHash | ) | const |
double MuonGMR4::sTgcReadoutElement::padHeight | ( | const Identifier & | measId | ) | const |
Returns the height of all the pads that are not adjacent to the bottom edge of the trapezoid active area.
double MuonGMR4::sTgcReadoutElement::padHeight | ( | const IdentifierHash & | measHash | ) | const |
int MuonGMR4::sTgcReadoutElement::padNumber | ( | const Amg::Vector2D & | hitPos, |
const Identifier & | measId | ||
) | const |
Returns the pad Number given local position of hit and Identifier/Hash.
int MuonGMR4::sTgcReadoutElement::padNumber | ( | const Amg::Vector2D & | hitPos, |
const IdentifierHash & | measHash | ||
) | const |
Definition at line 222 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
unsigned int MuonGMR4::sTgcReadoutElement::padNumber | ( | const Identifier & | measId | ) | const |
Returns the pad number in the conventional pad numbering scheme from the sequential channel number.
unsigned int MuonGMR4::sTgcReadoutElement::padNumber | ( | const IdentifierHash & | measHash | ) | const |
unsigned int MuonGMR4::sTgcReadoutElement::padPhi | ( | const Identifier & | measId | ) | const |
Returns the Phi index of the pad for the given pad identifier.
unsigned int MuonGMR4::sTgcReadoutElement::padPhi | ( | const IdentifierHash & | measHash | ) | const |
double MuonGMR4::sTgcReadoutElement::padPhiShift | ( | const Identifier & | measId | ) | const |
Returns the staggering shift of inner pad edges in the phi direction.
double MuonGMR4::sTgcReadoutElement::padPhiShift | ( | const IdentifierHash & | measHash | ) | const |
|
protectedinherited |
Definition at line 125 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Releases all cached transforms that are not connected with alignment.
Definition at line 62 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
Amg::Vector3D MuonGMR4::sTgcReadoutElement::rightStripEdge | ( | const ActsGeometryContext & | ctx, |
const IdentifierHash & | measHash | ||
) | const |
Definition at line 276 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/sTgcReadoutElement.cxx.
double MuonGMR4::sTgcReadoutElement::sChamberLength | ( | ) | const |
Length of the chamber on the short side.
Sets the link to the enclosing chamber.
Definition at line 145 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 148 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 O site)
|
inherited |
Returns the stationName (BIS, BOS, etc) encoded into the integer.
|
inherited |
Returns the stationPhi (1-8) -> sector (2*phi - (isSmall))
|
finaloverridevirtualinherited |
Caches the aligned transformation in the provided store. Returns the number of cached elements.
Implements ActsTrk::IDetectorElement.
Definition at line 68 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
protectedinherited |
Definition at line 102 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
const StripDesign& MuonGMR4::sTgcReadoutElement::stripDesign | ( | const Identifier & | measId | ) | const |
Retrieves the readoutElement Layer given the Identifier/Hash.
const StripDesign& MuonGMR4::sTgcReadoutElement::stripDesign | ( | const IdentifierHash & | measHash | ) | const |
const StripLayer& MuonGMR4::sTgcReadoutElement::stripLayer | ( | const Identifier & | measId | ) | const |
const StripLayer& MuonGMR4::sTgcReadoutElement::stripLayer | ( | const IdentifierHash & | measId | ) | const |
double MuonGMR4::sTgcReadoutElement::stripLength | ( | const Identifier & | measId | ) | const |
Length of each strip.
double MuonGMR4::sTgcReadoutElement::stripLength | ( | const IdentifierHash & | measHash | ) | const |
|
finaloverrideinherited |
Returns the surface associated to the readout element plane.
Definition at line 97 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
finaloverrideinherited |
Definition at line 98 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Definition at line 100 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the sufrface associated to a wire / measurement plane in the detector.
Definition at line 99 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
inherited |
Returns the pointer associated to a certain wire / plane.
Definition at line 89 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
finaloverride |
Thickness of the chamber.
|
protectedinherited |
Returns the local -> global transformation to go from the volume center origin.
Definition at line 59 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
|
finaloverrideinherited |
Returns the transformation to the origin of the chamber coordinate system.
Definition at line 85 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/src/MuonReadoutElement.cxx.
const WireGroupDesign& MuonGMR4::sTgcReadoutElement::wireDesign | ( | const Identifier & | measId | ) | const |
Retrieves the readoutElement Layer given the Identifier/Hash.
const WireGroupDesign& MuonGMR4::sTgcReadoutElement::wireDesign | ( | const IdentifierHash & | measHash | ) | const |
|
friend |
Definition at line 221 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
privateinherited |
Definition at line 198 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
Definition at line 217 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache the chamber index of the Identifier.
Definition at line 202 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache of the detector element hash.
Definition at line 200 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
private |
Definition at line 242 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
private |
Auxillary variables to translate the Identifier to a measurement hash and back.
Definition at line 245 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
private |
Definition at line 240 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
Definition at line 196 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
privateinherited |
Definition at line 211 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
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 216 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
Definition at line 241 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 239 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h.
|
privateinherited |
Cache the station eta of the identifier.
Definition at line 206 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache the station name of the identifier.
Definition at line 204 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache the station phi of the identifier.
Definition at line 208 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.
|
privateinherited |
Cache of all associated surfaces.
Definition at line 214 of file MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h.