]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Now segment is correct
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2008 09:14:51 +0000 (09:14 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jan 2008 09:14:51 +0000 (09:14 +0000)
HMPID/AliHMPIDRawStream.cxx

index dee4acad83118ab680d13fd1dd4b57cdfd1d54e1..0dfe95e4f0a848b33370d2021f68fac724dc52ee 100644 (file)
@@ -182,10 +182,10 @@ Bool_t AliHMPIDRawStream::ReadSegment(UInt_t word32,Int_t &cntSegment)
   Int_t nwRow;
 
   word32 = GetWord(cnt,kBwd);
-  cntRow  = (word32 >> kbit16) & 0xfff;
   
   while (cnt>0) {
 
+    cntRow  = (word32 >> kbit16) & 0xfff;
     if(!CheckRowMarker(word32)) return kFALSE;
     if(!ReadRow(word32,nwRow)) return kFALSE;