]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Using delete instead of method Delete() for histograms
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Jun 2007 11:16:33 +0000 (11:16 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Jun 2007 11:16:33 +0000 (11:16 +0000)
HMPID/AliHMPIDRecon.cxx

index 2260ae38dfc5b079f6b1f83b8c9950baeb05bd9d..2d7310337828890f2e64bdb263c9ffe01e3c2edb 100644 (file)
@@ -343,7 +343,7 @@ Double_t AliHMPIDRecon::HoughResponse()
 // evaluate the "BEST" theta ckov as the maximum value of histogramm
   Double_t *pVec = resultw->GetArray();
   Int_t locMax = TMath::LocMax(nBin,pVec);
-  phots->Delete();photsw->Delete();resultw->Delete(); // Reset and delete objects
+  delete phots;delete photsw;delete resultw; // Reset and delete objects
   
   return (Double_t)(locMax*fDTheta+0.5*fDTheta); //final most probable track theta ckov   
 }//HoughResponse()