// fp: really sorry for this, it is a temporary trick to have
// track length too
- if(version!=6 && version!=7){
+ if (version<6) { //(version!=6 && version!=7)
AliTOFhit *tofHit = (AliTOFhit *) tofHitArray->UncheckedAt(hit);
tracknum = tofHit->GetTrack();
vol[0] = tofHit->GetSector();