]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALQAChecker.cxx
Adding options to count false decisions also.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALQAChecker.cxx
index c36bcc1d33911f852fdf0151524292b5a6efe1ae..54089f98f95e7e3ce05ee6217559f68a2ff3f00c 100644 (file)
@@ -211,21 +211,22 @@ void AliEMCALQAChecker::CheckRaws(Double_t * test, TObjArray ** list)
       printf("%2.2f %% towers out of range [0.8, 1.2]\n", (1-rv)*100);
       if(fText){
         fText->Clear() ; 
-      }      
-      fText->AddText(Form("%2.2f %% towers out of range [0.8, 1.2]", (1-rv)*100));     
-      if (rv < 0.9) {
-        test[specie] = 0.9 ;
-        // 2 lines text info for quality         
-        fText->SetFillColor(2) ;
-        fText->AddText(Form("EMCAL = NOK, CALL EXPERTS!!!")); 
-      }
-      else {
-        test[specie] = 0.1 ;
-        fText->SetFillColor(3) ;
-        fText->AddText(Form("EMCAL = OK, ENJOY...")); 
-      }
-      //hdata->Reset("ICE");
-     //ratio->Reset("ICE");
+        
+        fText->AddText(Form("%2.2f %% towers out of range [0.8, 1.2]", (1-rv)*100));     
+        if (rv < 0.9) {
+          test[specie] = 0.9 ;
+          // 2 lines text info for quality         
+          fText->SetFillColor(2) ;
+          fText->AddText(Form("EMCAL = NOK, CALL EXPERTS!!!")); 
+        }
+        else {
+          test[specie] = 0.1 ;
+          fText->SetFillColor(3) ;
+          fText->AddText(Form("EMCAL = OK, ENJOY...")); 
+        }
+        //hdata->Reset("ICE");
+        //ratio->Reset("ICE");
+      }//fText
      } 
     } //finish the checking
 }