Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
15 return StatusCode::SUCCESS;
19 if (!calibContainer.isValid()) {
21 return StatusCode::FAILURE;
23 std::vector<const MuonGMR4::MdtReadoutElement*> mdtMls =
m_detMgr->getAllMdtReadoutElements();
24 std::set<MuonCalib::MdtFullCalibData::RtRelationPtr> testedRt{};
29 return StatusCode::FAILURE;
31 if (
false && testedRt.insert(calibData->
rtRelation).second) {
34 while (r < re->innerTubeRadius()) {
36 const std::optional<double>
t = calibData->
rtRelation->tr()->driftTime(
r);
41 const double backR = calibData->
rtRelation->rt()->radius(*
t);
43 ATH_MSG_FATAL(
"The drift radius "<<
r<<
" is mapped back to "<<backR<<
". Difference: "<<std::abs(
r -backR)
45 return StatusCode::FAILURE;
51 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
class which holds the full set of calibration constants for a given tube
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode execute(const EventContext &ctx) const override final
const MuonGMR4::MuonDetectorManager * m_detMgr
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
virtual StatusCode initialize() override final
Gaudi::Property< double > m_stepR
Step width to scan the compatibility of the R-t relation.
const boost::regex re(r_e)
SG::ReadCondHandleKey< MuonCalib::MdtCalibDataContainer > m_readKey
Gaudi::Property< double > m_mapTolerance
Compatibility window.