Skip to content

Commit 4684762

Browse files
author
Luca Micheletti
committed
Small fix
1 parent 93be5a8 commit 4684762

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

PWGHF/TableProducer/HFCandidateCreatorX.cxx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,6 @@ struct HFCandidateCreatorX {
209209
SETBIT(hfFlag, hf_cand_x::DecayType::XToJpsiToEEPiPi); // dielectron channel
210210
}
211211

212-
//if (jpsiCand.isSelJpsiToEE() > 0) {
213-
//hfFlag = 1 << hf_cand_x::DecayType::XToJpsiToEEPiPi;
214-
//}
215-
216-
//if (jpsiCand.isSelJpsiToMuMu() > 0) {
217-
//hfFlag = 1 << hf_cand_x::DecayType::XToJpsiToMuMuPiPi;
218-
//}
219-
220212
// fill the candidate table for the X here:
221213
rowCandidateBase(collision.globalIndex(),
222214
collision.posX(), collision.posY(), collision.posZ(),

PWGHF/TableProducer/HFXToJpsiPiPiCandidateSelector.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ struct HFXToJpsiPiPiCandidateSelector {
205205
selJpsiToMuMu = 0;
206206
}
207207

208+
if (selJpsiToEE == 0 && selJpsiToMuMu == 0) {
209+
continue;
210+
}
211+
208212
// daughter track validity selection
209213
if (!daughterSelection(trackPos) || !daughterSelection(trackNeg)) {
210214
hfSelXToJpsiPiPiCandidate(0, 0);

0 commit comments

Comments
 (0)