@@ -73,23 +73,23 @@ struct HfCandidateSelectorXToJpsiPiPi {
7373 auto candpT = hfCandX.pt ();
7474 int pTBin = findBin (binsPt, candpT);
7575 if (pTBin == -1 ) {
76- // Printf( "X topol selection failed at getpTBin");
76+ // LOGF(debug, "X topol selection failed at getpTBin");
7777 return false ;
7878 }
7979
8080 if (candpT < ptCandMin || candpT >= ptCandMax) {
81- // Printf( "X topol selection failed at cand pT check");
81+ // LOGF(debug, "X topol selection failed at cand pT check");
8282 return false ; // check that the candidate pT is within the analysis range
8383 }
8484
8585 // TODO: replace hardcoded mass with "RecoDecay::getMassPDG(9920443)"
8686 if (std::abs (invMassXToJpsiPiPi (hfCandX) - 3.87168 ) > cuts->get (pTBin, " m" )) {
87- // Printf( "X topol selection failed at mass diff check");
87+ // LOGF(debug, "X topol selection failed at mass diff check");
8888 return false ; // check that mass difference is within bounds
8989 }
9090
9191 if ((hfCandJpsi.pt () < cuts->get (pTBin, " pT Jpsi" )) || (trackNeg.pt () < cuts->get (pTBin, " pT Pi" )) || (trackPos.pt () < cuts->get (pTBin, " pT Pi" ))) {
92- // Printf( "X topol selection failed at daughter pT check");
92+ // LOGF(debug, "X topol selection failed at daughter pT check");
9393 return false ; // cut on daughter pT
9494 }
9595
@@ -219,7 +219,7 @@ struct HfCandidateSelectorXToJpsiPiPi {
219219 // daughter track validity selection
220220 if (!daughterSelection (trackPos) || !daughterSelection (trackNeg)) {
221221 hfSelXToJpsiPiPiCandidate (0 , 0 );
222- // Printf( "X candidate selection failed at daughter selection");
222+ // LOGF(debug, "X candidate selection failed at daughter selection");
223223 continue ;
224224 }
225225
@@ -228,18 +228,18 @@ struct HfCandidateSelectorXToJpsiPiPi {
228228
229229 if (!selectionTopol (hfCandX, candJpsi, trackPos, trackNeg)) {
230230 hfSelXToJpsiPiPiCandidate (0 , 0 );
231- // Printf( "X candidate selection failed at selection topology");
231+ // LOGF(debug, "X candidate selection failed at selection topology");
232232 continue ;
233233 }
234234
235235 if (selectionPID (trackPos) == 0 || selectionPID (trackNeg) == 0 ) {
236236 hfSelXToJpsiPiPiCandidate (0 , 0 );
237- // Printf( "X candidate selection failed at selection PID");
237+ // LOGF(debug, "X candidate selection failed at selection PID");
238238 continue ;
239239 }
240240
241241 hfSelXToJpsiPiPiCandidate (selJpsiToEE, selJpsiToMuMu);
242- // Printf( "X candidate selection successful, candidate should be selected");
242+ // LOGF(debug, "X candidate selection successful, candidate should be selected");
243243 }
244244 }
245245};
0 commit comments