Skip to content

Commit

Permalink
Add veto for D+->PiKPi correlated background (AliceO2Group#7461)
Browse files Browse the repository at this point in the history
  • Loading branch information
fchinu authored Aug 28, 2024
1 parent 5da01df commit 443cd5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PWGHF/TableProducer/candidateSelectorDsToKKPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ struct HfCandidateSelectorDsToKKPi {
// topological cuts
Configurable<std::vector<double>> binsPt{"binsPt", std::vector<double>{hf_cuts_ds_to_k_k_pi::vecBinsPt}, "pT bin limits"};
Configurable<LabeledArray<double>> cuts{"cuts", {hf_cuts_ds_to_k_k_pi::cuts[0], hf_cuts_ds_to_k_k_pi::nBinsPt, hf_cuts_ds_to_k_k_pi::nCutVars, hf_cuts_ds_to_k_k_pi::labelsPt, hf_cuts_ds_to_k_k_pi::labelsCutVar}, "Ds candidate selection per pT bin"};
Configurable<bool> rejectCandsInDplusToPiKPiRegion{"rejectCandsInDplusToPiKPiRegion", false, "Flag to reject candidates in the D+ to PiKPi signal region"};
Configurable<float> deltaMRegionDplusToPiKPi{"deltaMRegionDplusToPiKPi", 0.03, "Width of the D+ to PiKPi signal region (GeV/c^2)"};
// DCAxy and DCAz selections
Configurable<LabeledArray<double>> cutsSingleTrack{"cutsSingleTrack", {hf_cuts_single_track::cutsTrack[0], hf_cuts_single_track::nBinsPtTrack, hf_cuts_single_track::nCutVarsTrack, hf_cuts_single_track::labelsPtTrack, hf_cuts_single_track::labelsCutVarTrack}, "Single-track selections"};
// pT bins for single-track cuts
Expand Down Expand Up @@ -172,6 +174,9 @@ struct HfCandidateSelectorDsToKKPi {
if (!isSelectedCandidateProngDca(candidate)) {
return false;
}
if (rejectCandsInDplusToPiKPiRegion && std::abs(hfHelper.invMassDplusToPiKPi(candidate) - o2::constants::physics::MassDPlus) < deltaMRegionDplusToPiKPi) {
return false;
}
return true;
}

Expand Down

0 comments on commit 443cd5d

Please sign in to comment.