Skip to content

Commit 29ee514

Browse files
author
fcolamar
committed
Clang fixes
1 parent 27e710b commit 29ee514

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

ALICE3/TableProducer/alice3-decayfinder.cxx

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ struct alice3decayFinder {
434434
histos.add("h2dDCAxyVsPtPiMinusFromD", "h2dDCAxyVsPtPiMinusFromD", kTH2F, {axisPt, axisDCA});
435435
histos.add("h2dDCAxyVsPtKaPlusFromD", "h2dDCAxyVsPtKaPlusFromD", kTH2F, {axisPt, axisDCA});
436436
histos.add("h2dDCAxyVsPtKaMinusFromD", "h2dDCAxyVsPtKaMinusFromD", kTH2F, {axisPt, axisDCA});
437-
if (doTopoPlotsForSAndB) {
437+
if (doTopoPlotsForSAndB) {
438438
histos.add("hDCADDaughters_Signal", "hDCADDaughters_Signal", kTH1D, {axisDCADaughters});
439439
histos.add("hDCADDaughters_Bkg", "hDCADDaughters_Bkg", kTH1D, {axisDCADaughters});
440440
histos.add("hDCADbarDaughters_Signal", "hDCADbarDaughters_Signal", kTH1D, {axisDCADaughters});
@@ -538,8 +538,8 @@ struct alice3decayFinder {
538538
if (doDCAplotsD)
539539
histos.fill(HIST("hDCADDaughters"), dmeson.dcaDau * 1e+4);
540540

541-
if (doTopoPlotsForSAndB) { // fill plots of topological variables for S and B separately (reflections not considered here)
542-
if (dmeson.mcTruth == 1) { //true D0
541+
if (doTopoPlotsForSAndB) { // fill plots of topological variables for S and B separately (reflections not considered here)
542+
if (dmeson.mcTruth == 1) { // true D0
543543
histos.fill(HIST("hDCosPA_Signal"), dmeson.cosPA);
544544
histos.fill(HIST("hDCosPAxy_Signal"), dmeson.cosPAxy);
545545
histos.fill(HIST("hDCosThetaStar_Signal"), dmeson.cosThetaStar);
@@ -549,10 +549,9 @@ struct alice3decayFinder {
549549
histos.fill(HIST("hImpParPi_Signal"), impParXY_daugPos);
550550
histos.fill(HIST("hImpParK_Signal"), impParXY_daugNeg);
551551
histos.fill(HIST("hImpParProduct_Signal"), impParXY_daugPos * impParXY_daugNeg);
552-
if (doDCAplotsD)
552+
if (doDCAplotsD)
553553
histos.fill(HIST("hDCADDaughters_Signal"), dmeson.dcaDau * 1e+4);
554-
}
555-
else if (!dmeson.mcTruth) { //bkg D0
554+
} else if (!dmeson.mcTruth) { // bkg D0
556555
histos.fill(HIST("hDCosPA_Bkg"), dmeson.cosPA);
557556
histos.fill(HIST("hDCosPAxy_Bkg"), dmeson.cosPAxy);
558557
histos.fill(HIST("hDCosThetaStar_Bkg"), dmeson.cosThetaStar);
@@ -562,9 +561,9 @@ struct alice3decayFinder {
562561
histos.fill(HIST("hImpParPi_Bkg"), impParXY_daugPos);
563562
histos.fill(HIST("hImpParK_Bkg"), impParXY_daugNeg);
564563
histos.fill(HIST("hImpParProduct_Bkg"), impParXY_daugPos * impParXY_daugNeg);
565-
if (doDCAplotsD)
564+
if (doDCAplotsD)
566565
histos.fill(HIST("hDCADDaughters_Bkg"), dmeson.dcaDau * 1e+4);
567-
}
566+
}
568567
}
569568

570569
if (dmeson.dcaDau > dcaDaughtersSelection)
@@ -684,8 +683,8 @@ struct alice3decayFinder {
684683
if (doDCAplotsD)
685684
histos.fill(HIST("hDCADbarDaughters"), dmeson.dcaDau * 1e+4);
686685

687-
if (doTopoPlotsForSAndB) { // fill plots of topological variables for S and B separately (reflections not considered here)
688-
if (dmeson.mcTruth == 2) { //true D0bar
686+
if (doTopoPlotsForSAndB) { // fill plots of topological variables for S and B separately (reflections not considered here)
687+
if (dmeson.mcTruth == 2) { // true D0bar
689688
histos.fill(HIST("hDCosPA_Signal"), dmeson.cosPA);
690689
histos.fill(HIST("hDCosPAxy_Signal"), dmeson.cosPAxy);
691690
histos.fill(HIST("hDCosThetaStar_Signal"), dmeson.cosThetaStar);
@@ -695,11 +694,10 @@ struct alice3decayFinder {
695694
histos.fill(HIST("hImpParPi_Signal"), impParXY_daugNeg);
696695
histos.fill(HIST("hImpParK_Signal"), impParXY_daugPos);
697696
histos.fill(HIST("hImpParProduct_Signal"), impParXY_daugPos * impParXY_daugNeg);
698-
if (doDCAplotsD)
697+
if (doDCAplotsD)
699698
histos.fill(HIST("hDCADbarDaughters_Signal"), dmeson.dcaDau * 1e+4);
700-
}
701-
else if (!dmeson.mcTruth) { //bkg D0bar
702-
histos.fill(HIST("hDCosPA_Bkg"), dmeson.cosPA);
699+
} else if (!dmeson.mcTruth) { // bkg D0bar
700+
histos.fill(HIST("hDCosPA_Bkg"), dmeson.cosPA);
703701
histos.fill(HIST("hDCosPAxy_Bkg"), dmeson.cosPAxy);
704702
histos.fill(HIST("hDCosThetaStar_Bkg"), dmeson.cosThetaStar);
705703
histos.fill(HIST("hDDecayLength_Bkg"), decayLength);
@@ -709,8 +707,8 @@ struct alice3decayFinder {
709707
histos.fill(HIST("hImpParK_Bkg"), impParXY_daugPos);
710708
histos.fill(HIST("hImpParProduct_Bkg"), impParXY_daugPos * impParXY_daugNeg);
711709
}
712-
if (doDCAplotsD)
713-
histos.fill(HIST("hDCADbarDaughters_Bkg"), dmeson.dcaDau * 1e+4);
710+
if (doDCAplotsD)
711+
histos.fill(HIST("hDCADbarDaughters_Bkg"), dmeson.dcaDau * 1e+4);
714712
}
715713

716714
if (dmeson.dcaDau > dcaDaughtersSelection)

0 commit comments

Comments
 (0)