Skip to content
Snippets Groups Projects
Commit 74c56cdc authored by scott snyder's avatar scott snyder
Browse files

RpcRawDataMonitoring: Allow MuCTPI_RDO to be missing in RCPStandaloneTracksMon.

Works around existing misconfigurations.  Fixes crash with q222.
parent 4b1b8b0b
No related branches found
No related tags found
No related merge requests found
......@@ -863,6 +863,13 @@ StatusCode RPCStandaloneTracksMon::fillHistograms()
std::list<muctpi_rdo> muctpi_rdo_roi_list;
muctpi_rdo_roi_list.clear();
SG::ReadHandle<MuCTPI_RDO> muctpiRDO(m_muCTPI_RDO_key);
if (!muctpiRDO.isValid()) {
// FIXME: q222 was building a configuration in which this monitoring
// tool is enabled without the MuCTPI_RDO being available.
// Remove this once that is fixed.
ATH_MSG_WARNING ( "Cannot retrieve the MuCTPI" );
return StatusCode::SUCCESS;
}
// Create some dummy LVL1 muon thresholds:
std::vector< TrigConf::TriggerThreshold* > dummy_thresholds;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment