]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RawReader.cxx
Warnings Fixed
[u/mrichter/AliRoot.git] / T0 / AliT0RawReader.cxx
index 9b2b01fcf51ddd4edfe43d374902726605ddb5b9..34966418455c0b2f8df6e754a0086414bea91a8a 100644 (file)
@@ -106,14 +106,14 @@ Bool_t  AliT0RawReader::Next()
   Int_t trm_chain_header =  0x00000000;
   Int_t  trm_chain_trailer =  0x10000000;
   
-  Int_t  filler =  0x70000000;
+  UInt_t  filler =  0x70000000;
   Bool_t correct=kTRUE;
   Int_t header;
 
    Int_t fNTRM = fParam->GetNumberOfTRMs();
    for ( Int_t k=0; k<110; k++) {
     koefhits[k]=0;
-    for ( Int_t jj=0; jj<5; jj++) {
+    for ( Int_t jj=0; jj<50; jj++) {
       fAllData[k][jj]=0;
      }
    }
@@ -170,6 +170,7 @@ Bool_t  AliT0RawReader::Next()
            //      for (; tdcTime==1; tdcTime) 
            while(tdcTime==1)
              {
+               correct = kTRUE;
                //                      cout<<" packed "<<word<<endl;
                itdc=AliBitPacking::UnpackWord(word,24,27);
                ichannel=AliBitPacking::UnpackWord(word,21,23);
@@ -187,7 +188,7 @@ Bool_t  AliT0RawReader::Next()
                }
                if(correct){
                  hit=koefhits[koef];
-                 if(hit>5) {  
+                 if(hit>50) {  
                    AliWarning(Form("Too many hits for %i channel  ! ",koef)); 
                    break; 
                  }