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 c061320d5014e27544c8ccc8928222c10fef8998..94cef867694616e6e8b8fcb376c08760ca615dd9 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 d66eea80f35bdc5581dc9d8597a222b9a7de4940..9f7833755610e16f0450edfc23c7415d57b256c3 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 7b88d892bb2c6eea29cc935e947115e90a1b0877..4bc48cbb0a54602f2080c7bcbfbb9f365f7c9f0c 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