Actions
Feature #1170
openTask #1168: Generalize Detector Decode methods
Task #1184: v1.8 updates to THaDetMap
Eliminate hardcoded model list in THaDetMap
Responsible:
Ole Hansen
Description
THaDetMap has a lookup table for assigning frontend model numbers to module types (ADC, TDC, etc.) This has always been a terrible hack. This information, and a lot more, should be stored with the Decode::Module subclass implementation of each module.
Since every decoder module registers itself in a global std::set, fgModuleTypes, we can just use that set to replace the questionable lookup table.
Updated by Ole Hansen about 1 month ago
- Assignee set to Ole Hansen
- Target version set to 1.8
- Estimated time set to 8.00 h
Updated by Ole Hansen 13 days ago
- Start date set to 03/04/2026
- % Done changed from 0 to 20
Updated by Ole Hansen 6 days ago
- Status changed from New to In Progress
- % Done changed from 20 to 30
Updated by Ole Hansen 6 days ago
- Status changed from In Progress to Resolved
- % Done changed from 30 to 100
THaDetMap now obtains the module information from the central module registry, Decoder::Module::fgModuleTypes(), which is populated at static initialization time. This change is fully transparent to the user code.
Actions