Skip to content
Snippets Groups Projects
Commit 655bac4c authored by Maximilian Emanuel Goblirsch-Kolb's avatar Maximilian Emanuel Goblirsch-Kolb
Browse files

small fixes

parent 97a932d2
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,!37079Reduce overhead in SiDetElementsRoadMaker_xk
......@@ -499,7 +499,7 @@ InDet::SiDetElementsRoadMaker_xk::ElementUsageTracker* InDet::SiDetElementsRoadM
const SiDetElementsLayerVectors_xk &layer = *getLayers();
static Gaudi::Hive::ContextSpecificPtr<ElementUsageTracker> p_aux_usageTracker ATLAS_THREAD_SAFE;
Gaudi::Hive::ContextSpecificPtr<ElementUsageTracker> p_aux_usageTracker ATLAS_THREAD_SAFE;
ElementUsageTracker* theTracker{nullptr};
if (!p_aux_usageTracker){
p_aux_usageTracker = new ElementUsageTracker();
......@@ -519,12 +519,12 @@ InDet::SiDetElementsRoadMaker_xk::ElementUsageTracker* InDet::SiDetElementsRoadM
/// reset this tracker
for ( unsigned int side_i=0; side_i<3; ++side_i) {
for (unsigned int layer_i=0; layer_i < layer[side_i].size(); ++layer_i) {
/// for each layer, book one slot for each detector element on the layer
/// reset the used flags - only possibly by overwriting
std::fill((*theTracker)[side_i][layer_i].begin(), (*theTracker)[side_i][layer_i].end(), InDet::SiDetElementLink_xk::UsedFlag{});
}
}
}
return p_aux_usageTracker.get();
return theTracker;
}
///////////////////////////////////////////////////////////////////
......
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