From 320a1191ba30d9592ea37a473ffdccaae811609f Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 3 Jun 2025 09:03:07 +0000 Subject: [PATCH] Please consider the following formatting changes --- ALICE3/TableProducer/alice3-decayfinder.cxx | 26 ++++++++++----------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/ALICE3/TableProducer/alice3-decayfinder.cxx b/ALICE3/TableProducer/alice3-decayfinder.cxx index 110dc3dd66c..d246f1f1c5a 100644 --- a/ALICE3/TableProducer/alice3-decayfinder.cxx +++ b/ALICE3/TableProducer/alice3-decayfinder.cxx @@ -434,7 +434,7 @@ struct alice3decayFinder { histos.add("h2dDCAxyVsPtPiMinusFromD", "h2dDCAxyVsPtPiMinusFromD", kTH2F, {axisPt, axisDCA}); histos.add("h2dDCAxyVsPtKaPlusFromD", "h2dDCAxyVsPtKaPlusFromD", kTH2F, {axisPt, axisDCA}); histos.add("h2dDCAxyVsPtKaMinusFromD", "h2dDCAxyVsPtKaMinusFromD", kTH2F, {axisPt, axisDCA}); - if (doTopoPlotsForSAndB) { + if (doTopoPlotsForSAndB) { histos.add("hDCADDaughters_Signal", "hDCADDaughters_Signal", kTH1D, {axisDCADaughters}); histos.add("hDCADDaughters_Bkg", "hDCADDaughters_Bkg", kTH1D, {axisDCADaughters}); histos.add("hDCADbarDaughters_Signal", "hDCADbarDaughters_Signal", kTH1D, {axisDCADaughters}); @@ -539,7 +539,7 @@ struct alice3decayFinder { histos.fill(HIST("hDCADDaughters"), dmeson.dcaDau * 1e+4); if (doTopoPlotsForSAndB) { // fill plots of topological variables for S and B separately (reflections not considered here) - if (dmeson.mcTruth == 1) { //true D0 + if (dmeson.mcTruth == 1) { // true D0 histos.fill(HIST("hDCosPA_Signal"), dmeson.cosPA); histos.fill(HIST("hDCosPAxy_Signal"), dmeson.cosPAxy); histos.fill(HIST("hDCosThetaStar_Signal"), dmeson.cosThetaStar); @@ -549,10 +549,9 @@ struct alice3decayFinder { histos.fill(HIST("hImpParPi_Signal"), impParXY_daugPos); histos.fill(HIST("hImpParK_Signal"), impParXY_daugNeg); histos.fill(HIST("hImpParProduct_Signal"), impParXY_daugPos * impParXY_daugNeg); - if (doDCAplotsD) + if (doDCAplotsD) histos.fill(HIST("hDCADDaughters_Signal"), dmeson.dcaDau * 1e+4); - } - else if (!dmeson.mcTruth) { //bkg D0 + } else if (!dmeson.mcTruth) { // bkg D0 histos.fill(HIST("hDCosPA_Bkg"), dmeson.cosPA); histos.fill(HIST("hDCosPAxy_Bkg"), dmeson.cosPAxy); histos.fill(HIST("hDCosThetaStar_Bkg"), dmeson.cosThetaStar); @@ -562,9 +561,9 @@ struct alice3decayFinder { histos.fill(HIST("hImpParPi_Bkg"), impParXY_daugPos); histos.fill(HIST("hImpParK_Bkg"), impParXY_daugNeg); histos.fill(HIST("hImpParProduct_Bkg"), impParXY_daugPos * impParXY_daugNeg); - if (doDCAplotsD) + if (doDCAplotsD) histos.fill(HIST("hDCADDaughters_Bkg"), dmeson.dcaDau * 1e+4); - } + } } if (dmeson.dcaDau > dcaDaughtersSelection) @@ -685,7 +684,7 @@ struct alice3decayFinder { histos.fill(HIST("hDCADbarDaughters"), dmeson.dcaDau * 1e+4); if (doTopoPlotsForSAndB) { // fill plots of topological variables for S and B separately (reflections not considered here) - if (dmeson.mcTruth == 2) { //true D0bar + if (dmeson.mcTruth == 2) { // true D0bar histos.fill(HIST("hDCosPA_Signal"), dmeson.cosPA); histos.fill(HIST("hDCosPAxy_Signal"), dmeson.cosPAxy); histos.fill(HIST("hDCosThetaStar_Signal"), dmeson.cosThetaStar); @@ -695,11 +694,10 @@ struct alice3decayFinder { histos.fill(HIST("hImpParPi_Signal"), impParXY_daugNeg); histos.fill(HIST("hImpParK_Signal"), impParXY_daugPos); histos.fill(HIST("hImpParProduct_Signal"), impParXY_daugPos * impParXY_daugNeg); - if (doDCAplotsD) + if (doDCAplotsD) histos.fill(HIST("hDCADbarDaughters_Signal"), dmeson.dcaDau * 1e+4); - } - else if (!dmeson.mcTruth) { //bkg D0bar - histos.fill(HIST("hDCosPA_Bkg"), dmeson.cosPA); + } else if (!dmeson.mcTruth) { // bkg D0bar + histos.fill(HIST("hDCosPA_Bkg"), dmeson.cosPA); histos.fill(HIST("hDCosPAxy_Bkg"), dmeson.cosPAxy); histos.fill(HIST("hDCosThetaStar_Bkg"), dmeson.cosThetaStar); histos.fill(HIST("hDDecayLength_Bkg"), decayLength); @@ -709,8 +707,8 @@ struct alice3decayFinder { histos.fill(HIST("hImpParK_Bkg"), impParXY_daugPos); histos.fill(HIST("hImpParProduct_Bkg"), impParXY_daugPos * impParXY_daugNeg); } - if (doDCAplotsD) - histos.fill(HIST("hDCADbarDaughters_Bkg"), dmeson.dcaDau * 1e+4); + if (doDCAplotsD) + histos.fill(HIST("hDCADbarDaughters_Bkg"), dmeson.dcaDau * 1e+4); } if (dmeson.dcaDau > dcaDaughtersSelection)