12#include "Identifier/Identifier.h"
41 return StatusCode::SUCCESS;
49 if (techIdx == TechIdx_t::TechnologyUnknown ||
50 techIdx == TechIdx_t::TechnologyIndexMax) {
51 ATH_MSG_ERROR(
"Type does not match known concrete type of MuonSpectrometer! Dumping RoT:" << rioOnTrack);
72 el.resetWithKeyAndIndex(
m_tgcPrdKey.key(), el.index());
76 return std::pair<const Trk::TrkDetElementBase*, const Trk::PrepRawData*>(detEl, prd);
82 prepareRIO_OnTrackElementLink<const Muon::MdtPrepDataContainer, Muon::MdtDriftCircleOnTrack>(mdt);
87 prepareRIO_OnTrackElementLink<const Muon::CscPrepDataContainer, Muon::CscClusterOnTrack>(csc);
92 prepareRIO_OnTrackElementLink<const Muon::RpcPrepDataContainer, Muon::RpcClusterOnTrack>(rpc);
97 prepareRIO_OnTrackElementLink<const Muon::TgcPrepDataContainer, Muon::TgcClusterOnTrack>(tgc);
102 prepareRIO_OnTrackElementLink<const Muon::sTgcPrepDataContainer, Muon::sTgcClusterOnTrack>(stgc);
107 prepareRIO_OnTrackElementLink<const Muon::MMPrepDataContainer, Muon::MMClusterOnTrack>(mm);
115 prepareRIO_OnTrackElementLink<const Muon::MdtPrepDataContainer, Muon::MdtDriftCircleOnTrack>(mdt, key,
index);
120 prepareRIO_OnTrackElementLink<const Muon::CscPrepDataContainer, Muon::CscClusterOnTrack>(csc, key,
index);
125 prepareRIO_OnTrackElementLink<const Muon::RpcPrepDataContainer, Muon::RpcClusterOnTrack>(rpc, key,
index);
130 prepareRIO_OnTrackElementLink<const Muon::TgcPrepDataContainer, Muon::TgcClusterOnTrack>(tgc, key,
index);
135 prepareRIO_OnTrackElementLink<const Muon::sTgcPrepDataContainer, Muon::sTgcClusterOnTrack>(stgc, key,
index);
140 prepareRIO_OnTrackElementLink<const Muon::MMPrepDataContainer, Muon::MMClusterOnTrack>(mm, key,
index);
146 std::pair<const Trk::TrkDetElementBase*, const Trk::PrepRawData*>
pair =
getLinks(*RoT);
155 const EventContext& ctx = Gaudi::Hive::currentContext();
158 ATH_MSG_ERROR(
"Failed to retrieve the Muon detector manager from the conditions store");
171 const EventContext& ctx = Gaudi::Hive::currentContext();
197 if (!handle.isValid()) {
204 auto ptr = handle->indexFindPtr(idHash);
212 for (
const auto& collIt : *ptr) {
213 if (collIt->identify() ==
id)
return collIt;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
ElementLink< Muon::TgcPrepDataContainer > ElementLinkToIDC_TGC_Container
Class to implement Cluster On Track for Si.
This is a "hash" representation of an Identifier.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const MuonReadoutElement * getReadoutElement(const Identifier &id) const
Get any read out element.
Class to represent the calibrated clusters created from CSC strips.
Class to represent calibrated clusters formed from TGC strips.
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
Class to represent calibrated clusters formed from RPC strips.
Class to represent calibrated clusters formed from TGC strips.
ElementLinkToIDC_TGC_Container m_rio
PrepRawData object assoicated with this measurement.
Class to represent calibrated clusters formed from TGC strips.
Property holding a SG store/key/clid from which a ReadHandle is made.
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
virtual const Trk::PrepRawData * prepRawData() const =0
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
Identifier identify() const
return the identifier -extends MeasurementBase
virtual IdentifierHash idDE() const =0
returns the DE hashID
This is the base class for all tracking detector elements with read-out relevant information.
Ensure that the Athena extensions are properly loaded.
TechnologyIndex
enum to classify the different layers in the muon spectrometer
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
Ensure that the ATLAS eigen extensions are properly loaded.