Skip to content
Snippets Groups Projects
Commit 6579588d authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

algo::Reco: Allow more detectors.

parent 2cd24535
No related branches found
No related tags found
1 merge request!1242algo::Unpack: Unpack BMON and MUCH in parallel.
......@@ -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;
}
}
}
......
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