Skip to content

Commit

Permalink
Merge pull request #191 from sarahgaiser/fix_track_data_issue
Browse files Browse the repository at this point in the history
update numbers for valid track data
  • Loading branch information
cbravo135 authored Apr 10, 2024
2 parents fda57e8 + 4709881 commit 0ba156a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions processors/src/SvtDataProcessor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 0ba156a

Please sign in to comment.