Skip to content

Commit 91f98e4

Browse files
authored
Merge pull request #17 from alibuild/alibot-cleanup-15559
[PWGHF] Please consider the following formatting changes to #15559
2 parents aa7aa0a + b09d2d2 commit 91f98e4

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

PWGHF/D2H/Tasks/taskD0.cxx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,7 @@ struct HfTaskD0 {
625625
aod::FT0s const& ft0s,
626626
aod::FV0As const& fv0as,
627627
aod::FDDs const& fdds,
628-
TracksWPid const&
629-
)
628+
TracksWPid const&)
630629
{
631630
for (const auto& collision : collisions) {
632631
float centrality{-1.f};
@@ -750,7 +749,7 @@ struct HfTaskD0 {
750749
constexpr int NAxesMl = FillMl ? 3 : 0; // 3 ML scores if FillMl
751750
int const nAxesCent = storeCentrality ? 1 : 0; // centrality if storeCentrality
752751
int const nAxesOccIR = storeOccupancyAndIR ? 2 : 0; // occupancy and IR if storeOccupancyAndIR
753-
int const nAxesZdcEnergy = storeZdcEnergy ? 2 : 0; // ZDC energy if storeZdcEnergy
752+
int const nAxesZdcEnergy = storeZdcEnergy ? 2 : 0; // ZDC energy if storeZdcEnergy
754753
int const nAxesZdcTime = storeZdcTime ? 2 : 0; // ZDC time if storeZdctime
755754
int const nAxesTotal = NAxesBase + NAxesMl + nAxesCent + nAxesOccIR + nAxesZdcEnergy + nAxesZdcTime;
756755

@@ -785,12 +784,12 @@ struct HfTaskD0 {
785784
valuesToFill.push_back(static_cast<double>(fitInfo.ampFDDC));
786785
valuesToFill.push_back(static_cast<double>(numPvContributors));
787786
if (storeZdcEnergy) {
788-
valuesToFill.push_back(static_cast<double>(zdcEnergyZNA));
789-
valuesToFill.push_back(static_cast<double>(zdcEnergyZNC));
787+
valuesToFill.push_back(static_cast<double>(zdcEnergyZNA));
788+
valuesToFill.push_back(static_cast<double>(zdcEnergyZNC));
790789
}
791790
if (storeZdcTime) {
792-
valuesToFill.push_back(static_cast<double>(zdcTimeZNA));
793-
valuesToFill.push_back(static_cast<double>(zdcTimeZNC));
791+
valuesToFill.push_back(static_cast<double>(zdcTimeZNA));
792+
valuesToFill.push_back(static_cast<double>(zdcTimeZNC));
794793
}
795794
if constexpr (FillMl) {
796795
registry.get<THnSparse>(HIST("hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsD0Type"))->Fill(valuesToFill.data());
@@ -1009,7 +1008,7 @@ struct HfTaskD0 {
10091008
registry.fill(HIST("hMassSigD0"), massD0, ptCandidate, rapidityCandidate);
10101009
if constexpr (ApplyMl) {
10111010
if (storeCentrality && storeOccupancyAndIR) {
1012-
registry.fill(HIST("hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsD0Type"), candidate.mlProbD0()[0], candidate.mlProbD0()[1], candidate.mlProbD0()[2], massD0, ptCandidate, rapidityCandidate, SigD0, candidate.ptBhadMotherPart(), candidate.originMcRec(), numPvContributors, cent, occ, ir);
1011+
registry.fill(HIST("hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsD0Type"), candidate.mlProbD0()[0], candidate.mlProbD0()[1], candidate.mlProbD0()[2], massD0, ptCandidate, rapidityCandidate, SigD0, candidate.ptBhadMotherPart(), candidate.originMcRec(), numPvContributors, cent, occ, ir);
10131012
} else if (storeCentrality && !storeOccupancyAndIR) {
10141013
registry.fill(HIST("hBdtScoreVsMassVsPtVsPtBVsYVsOriginVsD0Type"), candidate.mlProbD0()[0], candidate.mlProbD0()[1], candidate.mlProbD0()[2], massD0, ptCandidate, rapidityCandidate, SigD0, candidate.ptBhadMotherPart(), candidate.originMcRec(), numPvContributors, cent);
10151014
} else if (!storeCentrality && storeOccupancyAndIR) {
@@ -1282,7 +1281,7 @@ struct HfTaskD0 {
12821281
aod::FDDs const& fdds,
12831282
TracksWPid const& tracks,
12841283
aod::Zdcs const& /*zdcs*/
1285-
)
1284+
)
12861285
{
12871286
runAnalysisPerCollisionDataWithUpc<false>(collisions, selectedD0Candidates, bcs, ft0s, fv0as, fdds, tracks);
12881287
}

0 commit comments

Comments
 (0)