6 #include "../counters/CounterROS.h"
17 if (
data.rosCollection().empty()){
22 auto robIds = tc->getDetail<std::vector<uint32_t>>(
"robs_id");
24 std::set<std::string> rosPerRequest;
26 if (
data.costROSData().getROSForROB(robId).empty()){
27 ATH_MSG_WARNING(
"ROS for ROB 0x" << std::hex << robId <<
" is missing");
30 std::string rosForROB =
data.costROSData().getROSForROB(robId);
31 if (!rosForROB.empty()){
32 rosPerRequest.insert(rosForROB);
36 for (
const std::string& rosName : rosPerRequest) {
39 unsigned nRobs =
data.costROSData().getROBForROS(rosName).size();
47 return StatusCode::SUCCESS;
52 return std::make_unique<CounterROS>(
name,
this);
56 return std::make_unique<CounterROS>(
name, nRobs,
this);