]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
crash in ESD cheker fixed
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Jul 2008 12:40:01 +0000 (12:40 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Jul 2008 12:40:01 +0000 (12:40 +0000)
T0/AliT0QAChecker.cxx

index 53fa117d5bddc84a52228cfcad571974df6077c0..125cffe64ba4775aa1fe19cd9710bf282e3b5482 100644 (file)
@@ -102,8 +102,13 @@ const Double_t AliT0QAChecker::Check(AliQA::ALITASK_t index,TObjArray * list)
        
 
        if(index==3){
+         printf(" check ESD count %i \n",count);
          if(count=0) fhESDMean = hdata;
          if(count=1) fhESDVertex = hdata;
+         if(count>1){
+           AliWarning("Unknowm ESD QA histograms");
+           return 0;
+         }
        }
        count++ ;