Skip to content

Commit be49428

Browse files
committed
Formatting
1 parent 94cd061 commit be49428

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

‎PWGCF/Femto/Core/sigma0HistManager.h‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ constexpr std::array<histmanager::HistInfo<Sigma0Hist>, kSigma0HistLast> HistTab
185185
{kPtVsAntiSigma0Mass, {(confAnalysis).pt, (confQa).massAntiSigma0}}, \
186186
{kSigma0MassVsAntiSigma0Mass, {(confQa).massSigma0, (confQa).massAntiSigma0}},
187187

188-
189188
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
190189
#define SIGMA0_HIST_MC_QA_MAP(confAnalysis, confQa) \
191190
{kNoMcParticle, {(confAnalysis).pt, (confQa).cosPa}}, \
@@ -312,7 +311,7 @@ class Sigma0HistManager
312311
}
313312
}
314313

315-
//FIXME: dummy wrapper to satisfy triplet process helpers; rehaul Sigma0 QA and find a better solution for process helpers table consumption
314+
// FIXME: dummy wrapper to satisfy triplet process helpers; rehaul Sigma0 QA and find a better solution for process helpers table consumption
316315
template <modes::Mode mode, typename T1, typename T2>
317316
void fill(T1 const& sigma0candidate, T2 const& trackTable)
318317
{
@@ -343,7 +342,7 @@ class Sigma0HistManager
343342
this->template fillMc<mode>(sigma0candidate, col, mcParticles, mcMothers, mcPartonicMothers);
344343
}
345344
}
346-
//FIXME: dummy wrapper to satisfy triplet process helpers; rehaul Sigma0 QA and find a better solution for process helpers table consumption
345+
// FIXME: dummy wrapper to satisfy triplet process helpers; rehaul Sigma0 QA and find a better solution for process helpers table consumption
347346
template <modes::Mode mode, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
348347
void fill(T1 const& sigma0candidate, T2 const& trackTable, T3 const& col, T4 const& mcParticles, T5 const& mcMothers, T6 const& mcPartonicMothers)
349348
{
@@ -480,7 +479,7 @@ class Sigma0HistManager
480479
}
481480
}
482481

483-
//TODO: currently wrapper for triplet process helpers, eventually a wrapper for Tracks-only dependent QA filling
482+
// TODO: currently wrapper for triplet process helpers, eventually a wrapper for Tracks-only dependent QA filling
484483
template <typename T1, typename T2>
485484
void fillQaLite(T1 const& sigma0candidate, T2 const& posDau, T2 const& negDau)
486485
{
@@ -551,4 +550,4 @@ class Sigma0HistManager
551550
photonhistmanager::PhotonHistManager<PrefixPhoton> mPhotonManager;
552551
};
553552
}; // namespace o2::analysis::femto::sigma0histmanager
554-
#endif // PWGCF_FEMTO_CORE_SIGMA0HISTMANAGER_H_
553+
#endif // PWGCF_FEMTO_CORE_SIGMA0HISTMANAGER_H_

‎PWGCF/Femto/Core/tripletHistManager.h‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -694,9 +694,12 @@ class TripletHistManager
694694
mHistogramRegistry->add(analysisDir + getHistNameV2(kPt1VsQ3, HistTable), getHistDesc(kPt1VsQ3, HistTable), getHistType(kPt1VsQ3, HistTable), {Specs.at(kPt1VsQ3)});
695695
mHistogramRegistry->add(analysisDir + getHistNameV2(kPt2VsQ3, HistTable), getHistDesc(kPt2VsQ3, HistTable), getHistType(kPt2VsQ3, HistTable), {Specs.at(kPt2VsQ3)});
696696
mHistogramRegistry->add(analysisDir + getHistNameV2(kPt3VsQ3, HistTable), getHistDesc(kPt3VsQ3, HistTable), getHistType(kPt3VsQ3, HistTable), {Specs.at(kPt3VsQ3)});
697-
if (mPlotMass1VsQ3) mHistogramRegistry->add(analysisDir + getHistNameV2(kM1VsQ3, HistTable), getHistDesc(kM1VsQ3, HistTable), getHistType(kM1VsQ3, HistTable), {Specs.at(kM1VsQ3)});
698-
if (mPlotMass2VsQ3) mHistogramRegistry->add(analysisDir + getHistNameV2(kM2VsQ3, HistTable), getHistDesc(kM2VsQ3, HistTable), getHistType(kM2VsQ3, HistTable), {Specs.at(kM2VsQ3)});
699-
if (mPlotMass3VsQ3) mHistogramRegistry->add(analysisDir + getHistNameV2(kM3VsQ3, HistTable), getHistDesc(kM3VsQ3, HistTable), getHistType(kM3VsQ3, HistTable), {Specs.at(kM3VsQ3)});
697+
if (mPlotMass1VsQ3)
698+
mHistogramRegistry->add(analysisDir + getHistNameV2(kM1VsQ3, HistTable), getHistDesc(kM1VsQ3, HistTable), getHistType(kM1VsQ3, HistTable), {Specs.at(kM1VsQ3)});
699+
if (mPlotMass2VsQ3)
700+
mHistogramRegistry->add(analysisDir + getHistNameV2(kM2VsQ3, HistTable), getHistDesc(kM2VsQ3, HistTable), getHistType(kM2VsQ3, HistTable), {Specs.at(kM2VsQ3)});
701+
if (mPlotMass3VsQ3)
702+
mHistogramRegistry->add(analysisDir + getHistNameV2(kM3VsQ3, HistTable), getHistDesc(kM3VsQ3, HistTable), getHistType(kM3VsQ3, HistTable), {Specs.at(kM3VsQ3)});
700703
mHistogramRegistry->add(analysisDir + getHistNameV2(kQ3VsMt, HistTable), getHistDesc(kQ3VsMt, HistTable), getHistType(kQ3VsMt, HistTable), {Specs.at(kQ3VsMt)});
701704
mHistogramRegistry->add(analysisDir + getHistNameV2(kQ3VsMult, HistTable), getHistDesc(kQ3VsMult, HistTable), getHistType(kQ3VsMult, HistTable), {Specs.at(kQ3VsMult)});
702705
mHistogramRegistry->add(analysisDir + getHistNameV2(kQ3VsCent, HistTable), getHistDesc(kQ3VsCent, HistTable), getHistType(kQ3VsCent, HistTable), {Specs.at(kQ3VsCent)});
@@ -810,9 +813,12 @@ class TripletHistManager
810813
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kPt1VsQ3, HistTable)), mParticle1.Pt(), mQ3);
811814
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kPt2VsQ3, HistTable)), mParticle2.Pt(), mQ3);
812815
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kPt3VsQ3, HistTable)), mParticle3.Pt(), mQ3);
813-
if (mPlotMass1VsQ3) mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kM1VsQ3, HistTable)), mMass1, mQ3);
814-
if (mPlotMass2VsQ3) mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kM2VsQ3, HistTable)), mMass2, mQ3);
815-
if (mPlotMass3VsQ3) mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kM3VsQ3, HistTable)), mMass3, mQ3);
816+
if (mPlotMass1VsQ3)
817+
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kM1VsQ3, HistTable)), mMass1, mQ3);
818+
if (mPlotMass2VsQ3)
819+
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kM2VsQ3, HistTable)), mMass2, mQ3);
820+
if (mPlotMass3VsQ3)
821+
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kM3VsQ3, HistTable)), mMass3, mQ3);
816822
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kQ3VsMt, HistTable)), mQ3, mMt);
817823
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kQ3VsMult, HistTable)), mQ3, mMult);
818824
mHistogramRegistry->fill(HIST(prefix) + HIST(AnalysisDir) + HIST(getHistName(kQ3VsCent, HistTable)), mQ3, mCent);
@@ -915,14 +921,14 @@ class TripletHistManager
915921
bool mPlot1d = true;
916922
bool mPlot2d = true;
917923

918-
// initialize mass vs Q3 histograms only if table has mass column
924+
// initialize mass vs Q3 histograms only if table has mass column
919925
static constexpr bool hasMassColumn(modes::Particle p)
920926
{
921927
return p == modes::Particle::kSigma0 || p == modes::Particle::kCascade;
922928
}
923929
bool mPlotMass1VsQ3 = hasMassColumn(particleType1);
924930
bool mPlotMass2VsQ3 = hasMassColumn(particleType2);
925-
bool mPlotMass3VsQ3 = hasMassColumn(particleType3);
931+
bool mPlotMass3VsQ3 = hasMassColumn(particleType3);
926932

927933
bool mPlotPt1VsPt2VsPt3 = false;
928934
bool mPlotQ3VsPt1VsPt2VsPt3 = false;

‎PWGCF/Femto/TableProducer/femtoSigma0Producer.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct FemtoSigma0Producer {
5151
// {
5252
// sigma0Builder.fillSigma0s(products, lambdas, photons, tracks);
5353
// }
54-
void process(Lambdas const& lambdas, Photons const& photons, o2::aod::FTracks const& tracks, o2::aod::FCols const& /**/, o2::aod::FColMasks const& /**/, o2::aod::FTrackMasks const& /**/)
54+
void process(Lambdas const& lambdas, Photons const& photons, o2::aod::FTracks const& tracks, o2::aod::FCols const& /**/, o2::aod::FColMasks const& /**/, o2::aod::FTrackMasks const& /**/)
5555
{
5656
sigma0Builder.fillSigma0s(products, lambdas, photons, tracks);
5757
}

0 commit comments

Comments
 (0)