diff --git a/algo/global/Reco.cxx b/algo/global/Reco.cxx index 835e25b503358293e1f9b058526618017c397e79..aee8e12cef94bf9cc5788464d0ec56666c3b1fcb 100644 --- a/algo/global/Reco.cxx +++ b/algo/global/Reco.cxx @@ -26,10 +26,9 @@ void Reco::Validate(const Options& opts) for (auto detector : opts.Detectors()) { switch (detector) { - case fles::Subsystem::STS: break; - case fles::Subsystem::TOF: break; - case fles::Subsystem::BMON: break; - default: throw std::runtime_error(fmt::format("Unsupported system: {}", ToString(detector))); + case fles::Subsystem::TRD: + case fles::Subsystem::TRD2D: throw std::runtime_error(fmt::format("Unsupported system: {}", ToString(detector))); + default: break; } } }