message: Changes for deuterons in AliFemto -- pid selection
diff: @@ -280,13 +280,13 @@ bool AliFemtoWRzTrackCut::IsDeuteronTPCdEdx(float mom, float dEdx, float maxmom)
  if (mom > maxmom) return false;
  - if (fNsigmaTPConly && fNsigmaMass<0) {
  + //if (fNsigmaTPConly && fNsigmaMass<0) {
  // for selection with only the TPC detector
  // cutting out the final part of the signal (~1.5 GeV)
  // that is dominated by missidentified particles
  // this setting will be probably removed
  - if (dEdx < a5*mom+b5) return false;
  - }
  + //if (dEdx < a5*mom+b5) return false;
  + //}
  return true;
  @@ -307,25 +307,17 @@ bool AliFemtoWRzTrackCut::IsDeuteronNSigma(float mom, float massTOFPDG,float sig
  }
  }
  else if (fNsigmaTPConly){
  -
  if (TMath::Abs(nsigmaTPCD) < fNsigma){
  - if(sigmaMass==-1){
  + if(sigmaMass==-1)
  return true;
  - }
  else{
  - //strict nsigma selection. removing visible contamination with TPCnsigma distribution
  - //this setting is for tests (for now)
  - double line1 = -18.41*mom*mom+56.37*mom-43.59;
  - double line2 = 0.235*mom-0.79;
  - if(nsigmaTPCD>0)
  + //test
  + if(mom<1.3 && TMath::Abs(nsigmaTPCD) < fNsigma)
  return true;
  - else if (mom<=1.5 && nsigmaTPCD>line1)
  - return true;
  - else if(mom>1.5 && nsigmaTPCD>line2)
  + else if(mom>=1.3 && TMath::Abs(nsigmaTPCD-0.5) < 1.5)
  return true;
  }
  }
  -
  }
  else{// p dependent mass cut
  // The default setting of sigmaMass (= -1) should provide similar
  