Commit 6f68fe13 authored by Lennart Huth's avatar Lennart Huth
Browse files

adding static cast required for pipeline

parent 36ca5487
...@@ -31,7 +31,7 @@ EventDefinitionM26::EventDefinitionM26(Configuration& config, std::vector<std::s ...@@ -31,7 +31,7 @@ EventDefinitionM26::EventDefinitionM26(Configuration& config, std::vector<std::s
timeshift_ = config_.get<double>("time_shift"); timeshift_ = config_.get<double>("time_shift");
shift_triggers_ = config_.get<int>("shift_triggers"); shift_triggers_ = config_.get<int>("shift_triggers");
skip_time_ = config_.get<double>("skip_time"); skip_time_ = config_.get<double>("skip_time");
skip_time_ps_ = Units::convert(skip_time_, "ps"); skip_time_ps_ = static_cast<double>(Units::convert(skip_time_, "ps"));
config_.setDefault<std::string>("eudaq_loglevel", "ERROR"); config_.setDefault<std::string>("eudaq_loglevel", "ERROR");
// Set EUDAQ log level to desired value: // Set EUDAQ log level to desired value:
......
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