]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZERORawStream.cxx
Corrections implemented into AliAnalysisHadEtReconstructed, simulated hadronic and...
[u/mrichter/AliRoot.git] / VZERO / AliVZERORawStream.cxx
index e5765643c9aab1938395c24577ae0e9409b39c60..07d5d3f0490d0361df2a67b314fd96e82c599973 100644 (file)
@@ -180,10 +180,10 @@ Bool_t AliVZERORawStream::Next()
 
     } 
 
-    for(Int_t iChannel = iCIU*8; iChannel < (iCIU*8) + 8; iChannel++) { 
+    for(Int_t iChannel = (iCIU*8) + 7; iChannel >= iCIU*8; iChannel--) { 
       UInt_t time = GetNextWord();
-      fTime[iChannel] = time & 0xfff;
-      fWidth[iChannel] = (time >> 12) & 0x7f;   // HPTDC used in pairing mode
+      fTime[iChannel]  = time & 0xfff;
+      fWidth[iChannel] = ((time >> 12) & 0x7f); // HPTDC used in pairing mode
     }
     
     // End of decoding of one CIU card