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

EUDAQ2: to compare triggers, check bith begin and end of event

parent 283449ca
Pipeline #1110925 passed with stages
in 29 minutes and 28 seconds
......@@ -220,7 +220,7 @@ Event::Position EventLoaderEUDAQ2::is_within_event(std::shared_ptr<Clipboard> cl
std::shared_ptr<eudaq::StandardEvent> evt) const {
// Check if this event has timestamps available:
if(evt->GetTimeBegin() == 0) {
if(evt->GetTimeBegin() == 0 && evt->GetTimeEnd() == 0) {
LOG(DEBUG) << evt->GetDescription() << ": Event has no timestamp, comparing trigger IDs";
// If there is no event defined yet, there is little we can do:
......
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