Skip to content
Snippets Groups Projects
Commit 66325e5c authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

[online] Fix bug in FEB index when importing mSTS chan masks

parent b306f53b
No related branches found
No related tags found
1 merge request!1758[Online] mSTS 2024 channel masks
......@@ -135,7 +135,7 @@ void sts::ReadoutConfig::Init(const ReadoutSetup& config, const ChannelMaskSet&
// Init channel mask
const int32_t numFebsPerCrob = component.FEBsPerCrob();
const int32_t febId = feb + compIdx * numCrobPerComp * numFebsPerCrob;
const int32_t febId = 2 * moduleIdx + moduleSide;
auto mapIt = chanMaskSet.values.find(febId);
if (mapIt != chanMaskSet.values.end()) {
const auto& mask = mapIt->second;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment