Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions ALICE3/TableProducer/alice3-decayfinder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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)
Expand Down Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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)
Expand Down