bugfix in function which selects unfolding routine
authorrbertens <rbertens@cern.ch>
Tue, 9 Dec 2014 21:30:53 +0000 (22:30 +0100)
committerrbertens <rbertens@cern.ch>
Tue, 9 Dec 2014 21:30:53 +0000 (22:30 +0100)
PWG/FLOW/Tasks/AliJetFlowTools.cxx

index 2e354bf..47ba727 100644 (file)
@@ -153,7 +153,6 @@ void AliJetFlowTools::Make(TH1* customIn, TH1* customOut) {
         MakeAU();
         return;
     }
-    cout << __LINE__ << endl;
     // 1) rebin the raw output of the jet task to the desired binnings
     // 2) calls the unfolding routine
     // 3) writes output to file
@@ -389,7 +388,7 @@ TH1D* AliJetFlowTools::UnfoldWrapper(
     else if(fUnfoldingAlgorithm == kBayesian)           myFunction = &AliJetFlowTools::UnfoldSpectrumBayesian;
     else if(fUnfoldingAlgorithm == kBayesianAli)        myFunction = &AliJetFlowTools::UnfoldSpectrumBayesianAli;
     else if(fUnfoldingAlgorithm == kSVD)                myFunction = &AliJetFlowTools::UnfoldSpectrumSVD;
-    else if(fUnfoldingAlgorithm == kNone)               myFunction = &AliJetFlowTools::FoldSpectrum;
+    else if(fUnfoldingAlgorithm == kFold)               myFunction = &AliJetFlowTools::FoldSpectrum;
     else if(fUnfoldingAlgorithm == kNone) {
         TH1D* clone((TH1D*)measuredJetSpectrum->Clone("clone"));
         clone->SetNameTitle(Form("MeasuredJetSpectrum%s", suffix.Data()), Form("measuredJetSpectrum %s", suffix.Data()));