]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Compilation errors fixed.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Aug 2008 12:08:29 +0000 (12:08 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 Aug 2008 12:08:29 +0000 (12:08 +0000)
STEER/AliCorrQADataMakerRec.cxx
STEER/AliQAChecker.cxx

index 86084ececb7e0baebc7a5c6c25c0f8e5d83579db..e11a79fe21992d1ee9bc5e0f6fe3afb6f8414837 100644 (file)
@@ -142,7 +142,7 @@ void AliCorrQADataMakerRec::MakeRaws()
   //Fill prepared histograms with Raw digit properties
   if ( fMaxRawVar > 0 ) {
     const Int_t kSize = fMaxRawVar ; 
-    Double_t  varvalue[kSize] ;
+    Double_t  *varvalue = new Double_t[kSize] ;
     Int_t index = 0 ;
     for ( Int_t detIndex = 0 ; detIndex < AliQA::kNDET ; detIndex++ ) {
       AliQADataMaker * qadm = fqadm[detIndex] ; 
@@ -156,6 +156,7 @@ void AliCorrQADataMakerRec::MakeRaws()
       }
     }
     (dynamic_cast<TNtupleD*>(fObject))->Fill(varvalue);
+    delete [] varvalue;
   }
 }
 
index 833929b57b60240bc196ffd4e75a64ea5ae2a916..33b8e338bb05a6c83d55497f30945fb6cc71281f 100644 (file)
@@ -374,4 +374,4 @@ Bool_t AliQAChecker::Run(AliQA::DETECTORINDEX_t det, AliQA::TASKINDEX_t task, TO
     return kFALSE ; 
   }
        return kTRUE ; 
-}
\ No newline at end of file
+}