message: Changed PDG association criteria for saving to TTree (debug mode) to allow for a few extra cross-checks with a reduced size ttree
diff: @@ -2365,13 +2365,26 @@ void AliAnalysisTaskStrangenessVsMultiplicityMCRun2::UserExec(Option_t *)
  if( fTreeCascVarPt < fMinPtToSave ) lKeepCascade = kFALSE;
  if( fTreeCascVarPt > fMaxPtToSave ) lKeepCascade = kFALSE;
  + //Preselect PID: will now select based on daughters only
  if( fkSaveCascadeTree && lKeepCascade && (
  //Xi Conditionals
  (fTreeCascVarMassAsXi<1.32+0.075&&fTreeCascVarMassAsXi>1.32-0.075 &&
  - (!fkPreselectPID || TMath::Abs(fTreeCascVarPID) == 3312 )) ||
  + (!fkPreselectPID ||
  + (
  + ( fTreeCascVarPIDNegative==-211 && fTreeCascVarPIDPositive==+2212 && fTreeCascVarPIDBachelor==-211 ) ||
  + ( fTreeCascVarPIDNegative==+211 && fTreeCascVarPIDPositive==-2212 && fTreeCascVarPIDBachelor==+211 ) ||
  + TMath::Abs(fTreeCascVarPID)==3312
  + )
  + )) ||
  //Omega Conditionals
  (fTreeCascVarMassAsOmega<1.68+0.075&&fTreeCascVarMassAsOmega>1.68-0.075 &&
  - (!fkPreselectPID || TMath::Abs(fTreeCascVarPID) == 3334 ))
  + (!fkPreselectPID ||
  + (
  + ( fTreeCascVarPIDNegative==-211 && fTreeCascVarPIDPositive==+2212 && fTreeCascVarPIDBachelor==-321 ) ||
  + ( fTreeCascVarPIDNegative==+211 && fTreeCascVarPIDPositive==-2212 && fTreeCascVarPIDBachelor==+321 ) ||
  + TMath::Abs(fTreeCascVarPID)==3334
  + )
  + ))
  )
  )
  {
  