]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0RawReader.cxx
- Bug fix: in the creation/reading of the trigger DCS values, the HV and currents...
[u/mrichter/AliRoot.git] / T0 / AliT0RawReader.cxx
index 34966418455c0b2f8df6e754a0086414bea91a8a..618324151fcf236a98c81c3f73bab80b54a26222 100644 (file)
@@ -113,7 +113,7 @@ Bool_t  AliT0RawReader::Next()
    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]++;