From 47098811ee3e302ce2a7f73bfbfdd7e03f6195af Mon Sep 17 00:00:00 2001 From: Sarah Gaiser Date: Wed, 10 Apr 2024 11:39:56 -0700 Subject: [PATCH] update numbers for valid track data --- processors/src/SvtDataProcessor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processors/src/SvtDataProcessor.cxx b/processors/src/SvtDataProcessor.cxx index 440af2b6e..113548bac 100644 --- a/processors/src/SvtDataProcessor.cxx +++ b/processors/src/SvtDataProcessor.cxx @@ -163,8 +163,8 @@ bool SvtDataProcessor::process(IEvent* ievent) { // Check that the TrackData data structure is correct. If it's // not, throw a runtime exception. - if (track_datum->getNDouble() < 12 || track_datum->getNFloat() != 1 - || track_datum->getNInt() != 1) { + if (track_datum->getNDouble() > 14 || track_datum->getNFloat() > 7 + || track_datum->getNInt() != 1) { throw std::runtime_error("[ SvtDataProcessor ]: The collection " + std::string(Collections::TRACK_DATA) + " has the wrong structure.");