Updated macros for K* analysis (S.Singha): extended pt range + trigger selection...
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Sep 2013 11:57:21 +0000 (11:57 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Sep 2013 11:57:21 +0000 (11:57 +0000)
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskTPCKStar.C
PWGLF/RESONANCES/macros/mini/ConfigTPCanalysisKStar.C

index c9cdc80..a06b118 100644 (file)
@@ -26,6 +26,7 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTPCKStar
    Float_t     nsigmaKa = 2.0,
    Bool_t      enableMonitor = kTRUE,
    Bool_t      IsMcTrueOnly = kFALSE,
+   Bool_t      is2011PbPb = kFALSE,
    Int_t       nmix = 0,
    Float_t     maxDiffVzMix = 1.0,
    Float_t     maxDiffMultMix = 10.0,
@@ -52,6 +53,13 @@ AliRsnMiniAnalysisTask * AddAnalysisTaskTPCKStar
      Printf(Form("========== SETTING USE CENTRALITY PATCH AOD049 : %s", (aodN==49)? "yes" : "no"));
      task->SetUseCentralityPatch(aodN==49);
    }
+
+   if(is2011PbPb)
+     task->SelectCollisionCandidates(AliVEvent::kMB | AliVEvent::kCentral | AliVEvent::kSemiCentral);
+   else
+     task->SelectCollisionCandidates(AliVEvent::kMB);
+
+
    if (isPP) 
      task->UseMultiplicity("QUALITY");
    else
index f505834..6f635d4 100644 (file)
@@ -97,7 +97,7 @@ Bool_t ConfigTPCanalysisKStar
       out->AddAxis(resID, 200, -0.02, 0.02);
     
     // axis Y: transverse momentum
-    out->AddAxis(ptID, 100, 0.0, 10.0);
+    out->AddAxis(ptID, 300, 0.0, 30.0);
     
     // axis Z: centrality-multiplicity
     if (!isPP)