Skip to content

Commit b14dbcd

Browse files
[PWGHF] Add mass window selection into the Tcc tree creator (#9593)
1 parent c34bff0 commit b14dbcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGHF/TableProducer/treeCreatorTccToD0D0Pi.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ struct HfTreeCreatorTccToD0D0Pi {
185185
Configurable<float> softPiDcaXYMax{"softPiDcaXYMax", 0.065, "Soft pion max dcaXY (cm)"};
186186
Configurable<float> softPiDcaZMax{"softPiDcaZMax", 0.065, "Soft pion max dcaZ (cm)"};
187187
Configurable<float> deltaMassCanMax{"deltaMassCanMax", 2, "delta candidate max mass (DDPi-D0D0) ((GeV/c2)"};
188+
Configurable<float> massCanMax{"massCanMax", 4.0, "candidate max mass (DDPi) ((GeV/c2)"};
188189

189190
HfHelper hfHelper;
190191
TrackSelection softPiCuts;
@@ -367,7 +368,7 @@ struct HfTreeCreatorTccToD0D0Pi {
367368
const auto massD0D0Pi = RecoDecay::m(std::move(arrayMomentaDDpi), std::array{MassD0, MassD0, MassPiPlus});
368369
const auto deltaMassD0D0Pi = massD0D0Pi - (massD01 + massD02);
369370

370-
if (deltaMassD0D0Pi > deltaMassCanMax) {
371+
if (deltaMassD0D0Pi > deltaMassCanMax || massD0D0Pi > massCanMax) {
371372
continue;
372373
}
373374

0 commit comments

Comments
 (0)