Skip to content

Commit

Permalink
Version check in src/java/hep/lcio/implementation/sio/SIOTrack.java
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 f241bb3 commit ce8d1fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/java/hep/lcio/implementation/sio/SIOTrack.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ class SIOTrack extends ITrack
ndf = in.readInt() ;
dEdx = in.readFloat();
dEdxError = in.readFloat();
nholes = in.readInt() ;
if (SIOVersion.encode(major,minor) > SIOVersion.encode(2,21) {
nholes = in.readInt() ;
}
radiusOfInnermostHit = in.readFloat() ;
int nHitNumbers = in.readInt() ;
int[] hitNumbers = new int[nHitNumbers] ;
Expand Down

0 comments on commit ce8d1fd

Please sign in to comment.