message: Modification on macro to select true INEL>0 events for calculations of the signal-loss and event-loss corrections for multiplicity-dependent analyses
diff: /***************************************************************************
  Anders Knospe - last modified on 26 March 2016
  -
  + Sushanta Tripathy - last modified on 14 April 2018
  //Lauches phi analysis with rsn mini package
  //Allows basic configuration of pile-up check and event cuts
  ****************************************************************************/
  @@ -20,7 +20,8 @@ enum eventCutSet { kEvtDefault=0,
  kNoEvtSel, //=8
  kSpecial3, //=9
  kSpecial4, //=10
  - kSpecial5 //=11
  + kSpecial5, //=11
  + kSpecial6 //=12 (only for multiplicity analyses)
  };
  enum eventMixConfig { kDisabled = -1,
  @@ -102,7 +103,7 @@ AliRsnMiniAnalysisTask * AddTaskPhiPP5TeV_PID
  TString taskName=Form("phi%s%s_%i%i",(isPP? "pp" : "PbPb"),(isMC ? "MC" : "Data"),(Int_t)cutKaCandidate);
  AliRsnMiniAnalysisTask* task=new AliRsnMiniAnalysisTask(taskName.Data(),isMC);
  if(evtCutSetID==eventCutSet::kSpecial4 || evtCutSetID==eventCutSet::kSpecial5) task->UseESDTriggerMask(triggerMask); //ESD ****** check this *****
  - if(evtCutSetID!=eventCutSet::kNoEvtSel && evtCutSetID!=eventCutSet::kSpecial3 && evtCutSetID!=eventCutSet::kSpecial4) task->SelectCollisionCandidates(triggerMask); //AOD
  + if(evtCutSetID!=eventCutSet::kNoEvtSel && evtCutSetID!=eventCutSet::kSpecial3 && evtCutSetID!=eventCutSet::kSpecial4 && evtCutSetID!=eventCutSet::kSpecial6) task->SelectCollisionCandidates(triggerMask); //AOD
  if(isPP){
  if(MultBins==1) task->UseMultiplicity("AliMultSelection_V0M");
  @@ -133,7 +134,7 @@ AliRsnMiniAnalysisTask * AddTaskPhiPP5TeV_PID
  cutVertex->SetCheckDispersionSPD();
  cutVertex->SetCheckZDifferenceSPDTrack();
  }
  - if (evtCutSetID==eventCutSet::kSpecial3) cutVertex->SetCheckGeneratedVertexZ();
  + if (evtCutSetID==eventCutSet::kSpecial3 && kSpecial6) cutVertex->SetCheckGeneratedVertexZ();
  }
  AliRsnCutEventUtils* cutEventUtils=0;
  @@ -146,6 +147,7 @@ AliRsnMiniAnalysisTask * AddTaskPhiPP5TeV_PID
  //cutEventUtils->SetCheckInelGt0SPDtracklets();
  cutEventUtils->SetRemovePileUppA2013(kFALSE);
  cutEventUtils->SetCheckAcceptedMultSelection();
  + if (isMC && kSpecial6) cutEventUtils->SetCheckInelGt0MC();
  }
  }
  