From 9862baf438f2034fb7dab823fae907068819b93b Mon Sep 17 00:00:00 2001 From: Dominik Smith <smith@th.physik.uni-frankfurt.de> Date: Wed, 10 May 2023 16:08:47 +0200 Subject: [PATCH] CbmTrdUnpackFaspAlgo: Removed catching of multiply defined equipment IDs (sometimes multiple entries are passed for invalid eq_id = 0). --- reco/detectors/trd/unpack/CbmTrdUnpackFaspAlgo.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/reco/detectors/trd/unpack/CbmTrdUnpackFaspAlgo.cxx b/reco/detectors/trd/unpack/CbmTrdUnpackFaspAlgo.cxx index a36cc09809..7bd65e2e4e 100644 --- a/reco/detectors/trd/unpack/CbmTrdUnpackFaspAlgo.cxx +++ b/reco/detectors/trd/unpack/CbmTrdUnpackFaspAlgo.cxx @@ -146,11 +146,7 @@ void CbmTrdUnpackFaspAlgo::SetCrobMapping(const std::map<uint32_t, uint16_t[NCRO for (auto& entry : map) { 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; - } + uint16_t eq_id = entry.second[crob_id]; (*fCompMap)[eq_id] = std::make_pair(mod_id, crob_id); } } -- GitLab