Commit ee4d8993 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventDefinitionM26: remove parameter 'response_time_m26', not needed anymore

parent b7882151
......@@ -27,7 +27,6 @@ EventDefinitionM26::EventDefinitionM26(Configuration& config, std::vector<std::s
timestamp_ = config_.get<std::string>("file_timestamp");
timeshift_ = config_.get<double>("time_shift");
shift_triggers_ = config_.get<int>("shift_triggers");
response_time_m26_ = config_.get<double>("response_time_m26");
skip_time_ = config_.get<double>("skip_time");
config_.setDefault<std::string>("eudaq_loglevel", "ERROR");
......@@ -172,7 +171,7 @@ StatusCode EventDefinitionM26::run(const std::shared_ptr<Clipboard>& clipboard)
<< "Mimosa26 trigger defining event: " << triggerM26_;
if(triggerTLU_ == triggerM26_) {
auto time_trig = time_trig_start_ - response_time_m26_;
auto time_trig = time_trig_start_;
if(time_trig - time_prev_ > 0) {
timebetweenMimosaEvents_->Fill(static_cast<double>(Units::convert(time_trig - time_prev_, "us")));
timeBeforeTrigger_->Fill(static_cast<double>(Units::convert(-1.0 * time_before_, "us")));
......
......@@ -52,7 +52,6 @@ namespace corryvreckan {
std::vector<uint32_t> triggerIDs_{};
long double timeshift_{};
int shift_triggers_{};
double response_time_m26_{};
double skip_time_{};
// EUDAQ2 readers for all required files
......
......@@ -27,7 +27,6 @@ end = begin + 230us
* `file_duration`: Data file containing the `detector_event_duration` data
* `time_shift`: Optional shift of the event begin/end point. Defaults to `0`
* `shift_triggers`: Shift the trigger ID of the `detector_event_time`. Defaults to `0`
* `response_time_m26`: SYSYSYDShdsjkasdkjfsadjfjdfsd;lfjklasdjf;asdjf;odjfkjn
* `skip_time`: Time that can be skipped at the start of a run. All events with earlier timestamps are discarded. Default is `0ms`.
* `eudaq_loglevel`: Verbosity level of the EUDAQ logger instance of the converter module. Possible options are, in decreasing severity, `USER`, `ERROR`, `WARN`, `INFO`, `EXTRA` and `DEBUG`. The default level is `ERROR`. Please note that the EUDAQ verbosity can only be changed globally, i.e. when using instances of `EventLoaderEUDAQ2` below this module, the last occurrence will determine the (global) value of this parameter.
......
Markdown is supported
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