message: ReaderNanoAOD for cascades and new flag in Xi TrackCut for NanoAOD ananysis
diff: @@ -140,10 +140,8 @@ bool AliFemtoXiTrackCut::Pass(const AliFemtoXi* aXi)
  // test the particle and return
  // true if it meets all the criteria
  // false if it doesn't meet at least one of the criteria
  -
  Float_t pt = aXi->PtXi();
  Float_t eta = aXi->EtaXi();
  -
  if(aXi->ChargeXi()==0)
  return false;
  @@ -161,9 +159,10 @@ bool AliFemtoXiTrackCut::Pass(const AliFemtoXi* aXi)
  if(pt < fMinPtXi) return false;
  if(pt > fMaxPtXi) return false;
  if(TMath::Abs(aXi->EtaBac()) > fMaxEtaBac) return false;
  + if(!fNanoAODAnalysis){
  if(aXi->PtBac()< fMinPtBac) return false;
  if(aXi->PtBac()> fMaxPtBac) return false;
  -
  + }
  //Xi from kinematics information
  @@ -177,11 +176,13 @@ bool AliFemtoXiTrackCut::Pass(const AliFemtoXi* aXi)
  }
  //quality cuts
  - if(aXi->StatusBac() == 999) return false;
  +
  if(aXi->TPCNclsBac()<fTPCNclsBac) return false;
  if(aXi->NdofBac()>fNdofBac) return false;
  + if(!fNanoAODAnalysis){
  if(!(aXi->StatusBac()&fStatusBac)) return false;
  -
  + if(aXi->StatusBac() == 999) return false;
  + }
  //DCA Xi to prim vertex
  if(TMath::Abs(aXi->DcaXiToPrimVertex())>fMaxDcaXi)
  return false;
  @@ -372,4 +373,3 @@ TList *AliFemtoXiTrackCut::GetOutputList()
  return tOutputList;
  }
  -
  