Fix (Raoul)
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Mar 2012 11:59:00 +0000 (11:59 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Mar 2012 11:59:00 +0000 (11:59 +0000)
PWGHF/vertexingHF/AliAnalysisTaskSEDStarSpectra.cxx

index d117ea5..d2bb13b 100644 (file)
@@ -430,8 +430,8 @@ void AliAnalysisTaskSEDStarSpectra::UserExec(Option_t *)
     Int_t isSelectedNoPID=fCuts->IsSelected(dstarD0pi,AliRDHFCuts::kCandidate); //selected
     fCuts->SetUsePID(kTRUE);
 
-    FillSpectrum(dstarD0pi,isDStar,fCuts,isSelectedNoPID,fOutputPID);
-    SideBandBackground(dstarD0pi,fCuts,isSelectedNoPID, fOutputPID);
+    FillSpectrum(dstarD0pi,isDStar,fCuts,isSelectedNoPID,fOutputAll);
+    SideBandBackground(dstarD0pi,fCuts,isSelectedNoPID, fOutputAll);
 
     // rare D search ------ 
     if(fDoSearch){