Commit e770b529 authored by Katharina Dort's avatar Katharina Dort
Browse files

Making sure that config parameter is lower case

parent 3e59bce0
......@@ -20,6 +20,7 @@ Prealignment::Prealignment(Configuration config, std::shared_ptr<Detector> detec
damping_factor = m_config.get<double>("damping_factor", 1.0);
method = m_config.get<std::string>("method", "mean");
std::transform(method.begin(), method.end(), method.begin(), ::tolower);
fit_range_rel = m_config.get<int>("fit_range_rel", 500);
// Backwards compatibilty: also allow timing_cut to be used for time_cut_abs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment