]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RawReader.cxx
Updated misalignemt macros (Tomasz)
[u/mrichter/AliRoot.git] / T0 / AliT0RawReader.cxx
index 25328a88bad886704b1ec8b8ccd9df8a082bff45..618324151fcf236a98c81c3f73bab80b54a26222 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<50; jj++) {
+    for ( Int_t jj=0; jj<5; jj++) {
       fAllData[k][jj]=0;
      }
    }
@@ -188,9 +188,9 @@ Bool_t  AliT0RawReader::Next()
                }
                if(correct){
                  hit=koefhits[koef];
-                 if(hit>50) {  
-                   AliWarning(Form("Too many hits for %i channel  ! ",koef)); 
-                   break; 
+                 if(hit>5) {  
+                   AliWarning(Form("Too many hits for %i channel - %i ! ",koef,koefhits[koef] )); 
+                   hit=5;
                  }
                  fAllData[koef][hit]=time; 
                  koefhits[koef]++;