Skip to content
Snippets Groups Projects
Commit 9c6c0a60 authored by Soshi Tsuno's avatar Soshi Tsuno
Browse files

add protection.

parent aef529a3
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!33946Replacement InDetBSErrContainer with IDCInDetBSErrContainer (ATLASRECTS-4971)
......@@ -98,6 +98,8 @@ PixelConditionsSummaryTool::IDCCacheEntry* PixelConditionsSummaryTool::getCacheE
}
uint64_t PixelConditionsSummaryTool::getBSErrorWord(const IdentifierHash& moduleHash, const EventContext& ctx) const {
if (!m_useByteStream) { return 0; }
std::lock_guard<std::mutex> lock{m_cacheMutex};
auto idcCachePtr = getCacheEntry(ctx)->IDCCache;
if (idcCachePtr==nullptr) {
......
......@@ -66,8 +66,10 @@ StatusCode PixelAthErrorMonAlg::fillHistograms( const EventContext& ctx ) const
//
// Print all Module/FE errors
int maxHash = m_pixelid->wafer_hash_max();
for (int i=0; i<maxHash; i++) {
// Get accumulated errors (Module)
uint64_t kErrorWord = m_pixelCondSummaryTool->getBSErrorWord(i,ctx);
ATH_MSG_DEBUG("Module hash=" << i << " has");
......
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