31 using sdmap = std::unordered_map<specnum_t, std::set<detid_t>>;
36 const std::vector<detid_t> &ignoreDetIDs = std::vector<detid_t>());
42 std::set<specnum_t> getSpectrumNumbers()
const;
43 const std::set<detid_t> &getDetectorIDsForSpectrumNo(
const specnum_t spectrumNo)
const;
44 const std::set<detid_t> &getDetectorIDsForSpectrumIndex(
const size_t spectrumIndex)
const;
45 const sdmap &getMapping()
const;
46 bool indexIsSpecNumber()
const;
49 void fillMapFromArray(
const specnum_t *
const spectrumNumbers,
const detid_t *
const detectorIDs,
50 const size_t arrayLengths);
51 void fillMapFromVector(
const std::vector<specnum_t> &spectrumNumbers,
const std::vector<detid_t> &detectorIDs,
52 const std::vector<detid_t> &ignoreDetIDs);