Bug fix
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Nov 2012 10:36:58 +0000 (10:36 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Nov 2012 10:36:58 +0000 (10:36 +0000)
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskTOFKStar.C

index 1988a8f..01b9399 100644 (file)
@@ -106,7 +106,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTOFKStar
    Int_t planeID = task->CreateValue(AliRsnMiniValue::kPlaneAngle, kFALSE);
    AliRsnMiniOutput *outPlane = 0x0;
    if (!isPP){
-     task->CreateOutput("eventPlane", "HIST", "EVENT");
+     outPlane=task->CreateOutput("eventPlane", "HIST", "EVENT");
      outPlane->AddAxis(planeID, 180, 0.0, TMath::Pi());
    }