message: Modificatoin on part of vertex selection for Charged KStar analysis for Run1
diff: // Modified by Enrico Fragiacomo - 15/01/2014
  // Modified by Kunal Garg - 13/05/2018 (kgarg@cern.ch)
  Modified by Sudipan De - 01/04/2019 (sde@cern.ch)
  - Modified by Dukhishyam Mallick- 01/04/2019 (dmallick@cern.ch)
  + Modified by Dukhishyam Mallick- 015/10/2019 (dmallick@cern.ch)
  //Based on AddAnalysisTaskRsnMini
  //pPb specific settings from AddTaskKStarPPB.C
  //
  @@ -175,14 +175,39 @@ AliRsnMiniAnalysisTask *AddTaskKStarPlusMinusPbPbRun1
  // - 2nd argument --> |Vz| range
  // - 3rd argument --> minimum required number of contributors
  // - 4th argument --> tells if TPC stand-alone vertexes must be accepted
  -
  + /*
  AliRsnCutEventUtils* cutEventUtils=new AliRsnCutEventUtils("cutEventUtils",kTRUE,rejectPileUp);
  cutEventUtils->SetCheckAcceptedMultSelection();
  + */
  +
  +
  + // AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", 10.0, 0, kFALSE);
  + // cutVertex->SetCheckPileUp(kTRUE); // set the check for pileup
  + //cutVertex->SetCheckZResolutionSPD();
  + //cutVertex->SetCheckDispersionSPD();
  + //cutVertex->SetCheckZDifferenceSPDTrack();
  + // AliRsnCutEventUtils* cutEventUtils=new AliRsnCutEventUtils("cutEventUtils",kTRUE,rejectPileUp);
  + //cutEventUtils->SetCheckIncompleteDAQ();
  + //if(aodFilterBit<200) cutEventUtils->SetCheckIncompleteDAQ();
  + //cutEventUtils->SetCheckSPDClusterVsTrackletBG();
  +
  + // define and fill cut set for event cut
  + AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", 10.0, 0, kTRUE);
  + cutVertex->SetCheckPileUp(kTRUE);
  AliRsnCutSet *eventCuts = new AliRsnCutSet("eventCuts", AliRsnTarget::kEvent);
  - eventCuts->AddCut(cutEventUtils);
  - eventCuts->SetCutScheme(Form("%s",cutEventUtils->GetName()));
  + eventCuts->AddCut(cutVertex);
  + eventCuts->SetCutScheme(Form("%s",cutVertex->GetName()));
  task->SetEventCuts(eventCuts);
  + // AliRsnCutEventUtils* cutEventUtils=0;
  + if(!isMC){
  + cutVertex->SetCheckPileUp(rejectPileUp);// set the check for pileup
  + ::Info("AddAnalysisTaskTOFKStar", Form(":::::::::::::::::: Pile-up rejection mode: %s", (rejectPileUp)?"ON":"OFF"));
  + }
  +
  +
  +
  +
  // -- EVENT-ONLY COMPUTATIONS -------------------------------------------------------------------
  //vertex
  @@ -193,9 +218,10 @@ AliRsnMiniAnalysisTask *AddTaskKStarPlusMinusPbPbRun1
  // -- EVENT-ONLY COMPUTATIONS -------------------------------------------------------------------
  //vertex
  - Int_t vtxID=task->CreateValue(AliRsnMiniValue::kVz,kFALSE);
  + /* Int_t vtxID=task->CreateValue(AliRsnMiniValue::kVz,kFALSE);
  AliRsnMiniOutput* outVtx=task->CreateOutput("eventVtx","HIST","EVENT");
  outVtx->AddAxis(vtxID,240,-12.0,12.0);
  + */
  //multiplicity
  Int_t multID=task->CreateValue(AliRsnMiniValue::kMult,kFALSE);
  