Missing comma inserted
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 14 Apr 2012 16:56:20 +0000 (16:56 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 14 Apr 2012 16:56:20 +0000 (16:56 +0000)
PWGLF/FORWARD/macros/AddTaskZDCPbPb.C

index 09c8e98..34cd51b 100644 (file)
@@ -2,7 +2,7 @@ AliAnalysisTaskSE* AddTaskZDCPbPb(Bool_t  applyPS = kFALSE,
                                  Float_t centrlowlim = 0.,
                                   Float_t centruplim = 100.,
                                   TString centrest = "V0M",
-                                 TString outfname = "ZDCPbPb"
+                                 TString outfname = "ZDCPbPb",
                                  Bool_t  isMC = kFALSE)
 {
   
@@ -39,11 +39,12 @@ AliAnalysisTaskSE* AddTaskZDCPbPb(Bool_t  applyPS = kFALSE,
    }
    task->SetCentralityRange(centrlowlim, centruplim);
    task->SetCentralityEstimator(centrest);
-   
-   if(isMC==kTRUE) task->SetMCInput();
+
    
    // apply physics selection
    if(applyPS) task->SelectCollisionCandidates();
+   
+   if(isMC==kTRUE) task->SetMCInput();
 
    mgr->AddTask(task);