Skip to content
Snippets Groups Projects
Commit 9862baf4 authored by Dominik Smith's avatar Dominik Smith
Browse files

CbmTrdUnpackFaspAlgo: Removed catching of multiply defined equipment IDs...

CbmTrdUnpackFaspAlgo: Removed catching of multiply defined equipment IDs (sometimes multiple entries are passed for invalid eq_id = 0).
parent 49a6374c
No related branches found
No related tags found
1 merge request!1149CbmTrdUnpackFaspAlgo: Removed catching of multiply defined equipment IDs...
Pipeline #22164 passed
......@@ -147,10 +147,6 @@ void CbmTrdUnpackFaspAlgo::SetCrobMapping(const std::map<uint32_t, uint16_t[NCRO
uint16_t mod_id = entry.first;
for (uint8_t crob_id = 0; crob_id < NCROBMOD; crob_id++) {
uint16_t eq_id = entry.second[crob_id];
if (fCompMap->find(eq_id) != fCompMap->end()) {
LOG(error) << GetName() << "::SetCrobMapping: multiple entries for eq_id " << (int) eq_id << " found.";
return;
}
(*fCompMap)[eq_id] = std::make_pair(mod_id, crob_id);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment