Skip to content
Snippets Groups Projects

Rebasing MR1179

Merged Alexandru Bercuci requested to merge a.bercuci/cbmroot:rebase_FEEmask into master
4 files
+ 22
71
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -62,21 +62,6 @@ namespace cbm::algo
}
// ------------------------------------------------------------------------------------
// --- Initialise the component mapping structure ----------------------------------
void Trd2dReadoutConfig::InitComponentMap(const std::map<uint32_t, uint16_t[NCROBMOD]>& map)
{
// Receive map (moduleId, crobId) -> (equipId)
// Invert to obtain component map (equipId) -> (module iq, crob id)
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];
fReadoutMap[eq_id] = std::make_pair(mod_id, crob_id);
}
}
}
// --- Initialise the mapping structure --------------------------------------------
void Trd2dReadoutConfig::InitChannelMap(
const std::map<size_t, std::map<size_t, std::map<size_t, std::tuple<int32_t, bool, uint64_t>>>>& channelMap)
Loading