code defect - nonused pointer - corrected
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2011 08:32:56 +0000 (08:32 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 22 Feb 2011 08:32:56 +0000 (08:32 +0000)
TPC/AliTPCPid.cxx

index 4946d11..e937f9f 100644 (file)
@@ -489,9 +489,9 @@ AliTPCPid::AliTPCPid(Int_t ntrack):TObject(),
 
     //fCutKa = new TF1("fkaons","[0]/x/x+[1]",0.1,1.2);
     //fCutPr = new TF1("fprotons","[0]/x/x +[1]",0.2,1.2);
-    TF1 *frmska=0;
+    //TF1 *frmska=0;
     
-    frmska = new TF1("x_frmska","1.46-7.82*x+16.78*x^2-15.53*x^3+5.24*x^4 ",
+    TF1 frmska("x_frmska","1.46-7.82*x+16.78*x^2-15.53*x^3+5.24*x^4 ",
                0.1,1.2);
     fCutKa = new TF1("fkaons",
           "1.25+0.044/x/x+1.25+0.044*x-13.87*x^2+22.37*x^3-10.05*x^4-2.5*x_frmska",