Skip to content

Commit ab70391

Browse files
authored
PWGHF: Use pre-selections for Dplus (#5204)
* Use pre-selections for Dplus * Fix format
1 parent bbda522 commit ab70391

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Analysis/Tasks/PWGHF/taskDPlus.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ struct TaskDPlus {
6262
void process(aod::HfCandProng3 const& candidates)
6363
{
6464
for (auto& candidate : candidates) {
65+
//apply only candidate pre-selections for the moment, not possible in Filter
66+
//since expressions do not support binary operators
67+
if (!(candidate.hfflag() & DPlusToPiKPi)) {
68+
continue;
69+
}
6570
registry.fill(HIST("hMass"), InvMassDPlus(candidate));
6671
registry.fill(HIST("hPt"), candidate.pt());
6772
registry.fill(HIST("hEta"), candidate.eta());

0 commit comments

Comments
 (0)