Commit addcb408 authored by Katharina Dort's avatar Katharina Dort Committed by Jens Kroeger
Browse files

Making sure that config parameter is lower case

(cherry picked from commit e770b529)
parent dec4db60
......@@ -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