]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFQAChecker.cxx
fixing compilation bug
[u/mrichter/AliRoot.git] / TOF / AliTOFQAChecker.cxx
index 74c48164082d0d07437daf8ce3a487d9a6fa96f8..057bd99102c37c0e620839e280b27c0abfd3beef 100644 (file)
 ClassImp(AliTOFQAChecker)
 
 //____________________________________________________________________________
-Double_t * AliTOFQAChecker::Check(AliQAv1::ALITASK_t /*index*/,
+void AliTOFQAChecker::Check(Double_t * test, AliQAv1::ALITASK_t /*index*/,
                                  TObjArray ** list,
-                                 AliDetectorRecoParam * /*recoParam*/) 
+                                 const AliDetectorRecoParam * /*recoParam*/) 
 {
-
   // Super-basic check on the QA histograms on the input list: 
   // look whether they are empty!
 
-  Double_t * test  = new Double_t[AliRecoParam::kNSpecies] ; 
   Int_t count[AliRecoParam::kNSpecies] = { 0 }; 
 
   for (Int_t specie = 0 ; specie < AliRecoParam::kNSpecies ; specie++) {
@@ -84,7 +82,6 @@ Double_t * AliTOFQAChecker::Check(AliQAv1::ALITASK_t /*index*/,
       }
     }
   }
-  return test ; 
 }