13 #include <unordered_set>
18 std::string robSetToString(
const std::unordered_set<uint32_t>&
robs) {
19 std::ostringstream
ss;
25 ss <<
"0x" << std::hex << rob << std::dec;
51 return StatusCode::SUCCESS;
56 std::unordered_set<uint32_t> robsToPrefetch;
57 std::vector<uint32_t> robsInRoI;
63 ATH_MSG_DEBUG(
"Processing " << decisionCont->size() <<
" decisions in " << decisionContKey.key());
64 for (
const Decision* decision : *decisionCont) {
67 bool skipPrefetching{
true};
71 skipPrefetching =
false;
75 if (skipPrefetching) {
93 tool->ROBIDList(roi, robsInRoI);
94 robsToPrefetch.insert(robsInRoI.begin(),robsInRoI.end());
100 ATH_MSG_DEBUG(
"Prefetching " << robsToPrefetch.size() <<
" ROBs: " << robSetToString(robsToPrefetch));
101 std::vector<uint32_t> robsToPrefetchVec{robsToPrefetch.begin(),robsToPrefetch.end()};
104 return StatusCode::SUCCESS;