Project

General

Profile

Actions

Feature #1170

open

Feature #1168: Generalize Detector Decode methods

Task #1184: v1.8 updates to THaDetMap

Eliminate hardcoded model list in THaDetMap

Added by Ole Hansen about 10 hours ago. Updated about 8 hours ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
8.00 h
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.

Actions #1

Updated by Ole Hansen about 9 hours ago

  • Assignee set to Ole Hansen
  • Target version set to 1.8
  • Estimated time set to 8.00 h
Actions #2

Updated by Ole Hansen about 9 hours ago

  • Responsible set to Ole Hansen
Actions #3

Updated by Ole Hansen about 8 hours ago

  • Parent task changed from #1168 to #1184
Actions #4

Updated by Ole Hansen about 8 hours ago

  • Start date deleted (02/09/2026)
Actions

Also available in: Atom PDF