coverity fixes
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Dec 2011 12:11:02 +0000 (12:11 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Dec 2011 12:11:02 +0000 (12:11 +0000)
PWG4/JetTasks/AliFragmentationFunctionCorrections.cxx
PWG4/JetTasks/AliFragmentationFunctionCorrections.h
PWG4/macros/AddTaskFragmentationFunction.C

index c061320..94cef86 100644 (file)
@@ -3622,7 +3622,7 @@ void AliFragmentationFunctionCorrections::RebinHisto(const Int_t jetPtSlice, con
   delete temp;
 }
 //__________________________________________________________________________________________________________________________________________________________________
-void AliFragmentationFunctionCorrections::WriteJetSpecResponse(TString strInfile, TString strdir, TString strlist, TString strOutfile)
+void AliFragmentationFunctionCorrections::WriteJetSpecResponse(TString strInfile, TString strdir, TString strlist/*, TString strOutfile*/)
 { 
  
  if(fDebug>0) Printf("%s:%d -- read jet spectrum response matrix from file %s ",(char*)__FILE__,__LINE__,strInfile.Data());
index d66eea8..9f78337 100644 (file)
@@ -137,7 +137,7 @@ class AliFragmentationFunctionCorrections : public TObject {
 
   void RebinHisto(const Int_t jetPtSlice, const Int_t nBinsLimits, Double_t* binsLimits, Double_t* binsWidth, const Int_t type);
 
-  void WriteJetSpecResponse(TString strInfile, TString strdir, TString strlist, TString strOutfile);
+  void WriteJetSpecResponse(TString strInfile, TString strdir, TString strlist /*, TString strOutfile*/ );
 
   void ReadSingleTrackEfficiency(TString strfile, TString strdir="", TString strlist="", TString strname="hSingleTrackEffPt");
   void ReadSingleTrackResponse(TString strfile, TString strdir="", TString strlist="", TString strname="fhnResponseSinglePt");
index 7b88d89..4bc48cb 100644 (file)
@@ -232,7 +232,7 @@ AliAnalysisTaskFragmentationFunction *AddTaskFragmentationFunction(
    task->SetKindSlices();      // default: kindSlice = 1 (inv mass)
    //if(radius <= 0.2) task->SetFFRadius(0.2); // R = 0.2   
    //else              task->SetFFRadius();    // default: R = 0.4
-   task->SetFFRadius(radius);
+   task->SetFFRadius(radius); 
    task->SetFFBckgRadius();    // default: R = 0.7
    task->SetBckgSubMethod();   // default: subMethod = O, 1 = leading jet removed for rho extraction, 2 = 2 leading jets removed
    task->SetIJMode(0);         // default: ijMode = 1