Skip to content
Snippets Groups Projects
Verified Commit 68235bab authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Update parameter pattern matching

parent b69068ff
No related branches found
No related tags found
No related merge requests found
Pipeline #61114 passed
......@@ -103,7 +103,7 @@ class TriggerMap(Module):
dom_id, fname
)
break
du, floor, _ = self.det.doms[dom_id]
du, floor, *_ = self.det.doms[dom_id]
du_idx = self.dus.index(du)
hits[du_idx * 18 + floor - 1] += 1
self.hits.append(hits)
......@@ -113,7 +113,7 @@ class TriggerMap(Module):
if dom_id not in self.det.doms:
# we already check above
break
du, floor, _ = self.det.doms[dom_id]
du, floor, *_ = self.det.doms[dom_id]
du_idx = self.dus.index(du)
triggered_hits[du_idx * 18 + floor - 1] += 1
self.triggered_hits.append(triggered_hits)
......
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