Commit fd6fb654 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Fix formatting from TB machine commit

parent e78db0e8
Pipeline #1119770 passed with stages
in 14 minutes and 50 seconds
......@@ -295,10 +295,10 @@ Event::Position EventLoaderEUDAQ2::is_within_event(std::shared_ptr<Clipboard> cl
} else {
// check if event has valid trigger ID (flag = 0x10):
if(evt->IsFlagTrigger()) {
// Potentially shift the trigger IDs if requested
auto trigger_id = static_cast<uint32_t>(static_cast<int>(evt->GetTriggerN()) + m_shift_triggers);
// Potentially shift the trigger IDs if requested
auto trigger_id = static_cast<uint32_t>(static_cast<int>(evt->GetTriggerN()) + m_shift_triggers);
// Store potential trigger numbers, assign to center of event:
clipboard->getEvent()->addTrigger(trigger_id, event_timestamp);
clipboard->getEvent()->addTrigger(trigger_id, event_timestamp);
LOG(DEBUG) << "Stored trigger ID " << evt->GetTriggerN() << " at "
<< Units::display(event_timestamp, {"us", "ns"});
}
......
......@@ -105,7 +105,7 @@ namespace corryvreckan {
double m_skip_time{};
Matrix<std::string> m_adjust_event_times;
int m_buffer_depth;
int m_shift_triggers;
int m_shift_triggers;
// EUDAQ file reader instance to retrieve data from
eudaq::FileReaderUP reader_;
......
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