Skip to content

Commit

Permalink
version check in SIOTrackHandler.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Madlener <[email protected]>
  • Loading branch information
madbaron and tmadlener authored May 28, 2024
1 parent 737984f commit f241bb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cpp/src/SIO/SIOTrackHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ namespace SIO {
SIO_DATA( device , &(trk->_ndf) , 1 ) ;
SIO_DATA( device , &(trk->_dEdx) , 1 ) ;
SIO_DATA( device , &(trk->_dEdxError) , 1 ) ;
SIO_DATA( device , &(trk->_nholes) , 1 ) ;
if (vers >= SIO_VERSION_ENCODE(2, 21) {
SIO_DATA( device , &(trk->_nholes) , 1 ) ;
}
SIO_DATA( device , &( trk->_radiusOfInnermostHit ) , 1 ) ;
int nHitNumbers ;
SIO_DATA( device, &nHitNumbers , 1 ) ;
Expand Down

0 comments on commit f241bb3

Please sign in to comment.