19 <<
" warning or error messages");
24 StatusCode
sc = detStore()->retrieve(
m_detID,
"AtlasID");
31 "This tool has been configured without either Muons or ID, and so "
32 "can't do anything. Problems likely.");
39 "Failed to retrieve InDet helper tool "
41 <<
". Will not be able to recreate ID Surfaces / Det Elements.");
54 "Failed to retrieve Muon helper tool "
56 <<
". Will not be able to recreate ID Surfaces / Det Elements.");
69 "Failed to retrieve either and InDet or a Muon tool. Will not be able "
70 "to recreate surfaces / detector elements.");
74 return StatusCode::SUCCESS;
78 msg() <<
"Finalize().";
81 <<
" error/warning messages (with maximum permissable = "
84 return StatusCode::SUCCESS;
94 return &(*m_idCnvTool);
103 return &(*m_muonCnvTool);
107 "Muon RIO_OnTrack, but have no muon cnv tool. Cannot set check "
115 std::string ident =
m_detID->show_to_string(
id);
116 ATH_MSG_WARNING(
"Unknown Identifier: (" << ident <<
"), that is (" <<
id
124 const Surface* surface =
nullptr;
126 if (cnvTool !=
nullptr) {
128 if (detEl !=
nullptr)
129 surface = &(detEl->
surface(
id));
132 <<
id <<
" Returning 0.");
136 "getSurface: could not get cnv tool for Identifier:" <<
id);
144 if (cnvTool !=
nullptr) {
147 const type_info& info =
typeid(*RoT);
150 "recreateRIO_OnTrack: could not get cnv tool. Returning without "
151 "correctly filling ROT of type: "
158 if (cnvTool !=
nullptr) {
162 msg() <<
"prepareRIO_OnTrack could not find appropriate tool to prepare: "
163 << *RoT << std::endl;
169 ELIndex_t&
index)
const {
171 if (cnvTool !=
nullptr) {
175 msg() <<
"prepareRIO_OnTrack could not find appropriate tool to prepare: "
176 << *RoT << std::endl;
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_WARNING(x,...)
#define ATH_MSG_VERBOSE(x,...)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Identifier identify() const
return the identifier -extends MeasurementBase
Abstract Base Class for tracking surfaces.
This is the base class for all tracking detector elements with read-out relevant information.
virtual const Surface & surface() const =0
Return surface associated with this detector element.