Skip to content

Commit 7bc2546

Browse files
authored
[PWGHF] Remove obsolete cut in Dstar selector (AliceO2Group#8963)
1 parent c24e71c commit 7bc2546

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGHF/TableProducer/candidateSelectorDstarToD0Pi.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ struct HfCandidateSelectorDstarToD0Pi {
215215
// decay exponentail law, with tau = beta*gamma*ctau
216216
// decay length > ctau retains (1-1/e)
217217

218-
double decayLengthCut = std::min((candidate.pD0() * 0.0066) + 0.01, cutsD0->get(binPt, "min decay length"));
219-
if (candidate.decayLengthD0() * candidate.decayLengthD0() < decayLengthCut * decayLengthCut) {
218+
if (candidate.decayLengthD0() < cutsD0->get(binPt, "min decay length")) {
220219
return false;
221220
}
222221
if (candidate.decayLengthD0() > cutsD0->get(binPt, "max decay length")) {

0 commit comments

Comments
 (0)