Skip to content

Commit 6b3be6e

Browse files
Merge pull request #32 from alibuild/alibot-cleanup-12451
Please consider the following formatting changes to #12451
2 parents e529118 + 953bb91 commit 6b3be6e

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

PWGHF/D2H/DataModel/ReducedDataModel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,8 @@ namespace hf_cand_b0_reduced
749749
{
750750
DECLARE_SOA_INDEX_COLUMN_FULL(Prong0, prong0, int, HfRed3Prongs, "_0"); //! Prong0 index
751751
DECLARE_SOA_INDEX_COLUMN_FULL(Prong1, prong1, int, HfRedTrackBases, "_1"); //! Prong1 index
752-
DECLARE_SOA_INDEX_COLUMN_FULL(ProngD0, prongD0, int, HfRed2Prongs, "_0"); //! ProngD0 index
753-
DECLARE_SOA_INDEX_COLUMN_FULL(ProngBachPi, prongBachPi, int, HfRedTrackBases, "_1"); //! ProngBachPi index
752+
DECLARE_SOA_INDEX_COLUMN_FULL(ProngD0, prongD0, int, HfRed2Prongs, "_0"); //! ProngD0 index
753+
DECLARE_SOA_INDEX_COLUMN_FULL(ProngBachPi, prongBachPi, int, HfRedTrackBases, "_1"); //! ProngBachPi index
754754
DECLARE_SOA_INDEX_COLUMN_FULL(ProngSoftPi, prongSoftPi, int, HfRedSoftPiBases, "_2"); //! ProngSoftPi index
755755
DECLARE_SOA_COLUMN(Prong0MlScoreBkg, prong0MlScoreBkg, float); //! Bkg ML score of the D daughter
756756
DECLARE_SOA_COLUMN(Prong0MlScorePrompt, prong0MlScorePrompt, float); //! Prompt ML score of the D daughter

PWGHF/D2H/TableProducer/candidateSelectorB0ToDPiReduced.cxx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,13 @@ struct HfCandidateSelectorB0ToDPiReduced {
156156
}
157157
}
158158

159-
/// Utility function to retrieve the bach pion track
160-
///from the B0 candidate in the D*-pi decay channel
159+
/// Utility function to retrieve the bach pion track
160+
/// from the B0 candidate in the D*-pi decay channel
161161
/// \param candidate is the B0 candidate
162162
/// \return bach pion track
163163
template <IsB0ToDstarPiChannel T1>
164-
auto getTrackBachPi(const T1& candidate) {
164+
auto getTrackBachPi(const T1& candidate)
165+
{
165166
return candidate.template prongBachPi_as<TracksBachPion>();
166167
}
167168

@@ -170,21 +171,23 @@ struct HfCandidateSelectorB0ToDPiReduced {
170171
/// \param prongBachPi is the candidate's bachelor pion prong
171172
/// \note this method is used for B0 → D*- π+ candidates with D meson ML scores
172173
template <bool withDmesMl, IsB0ToDstarPiChannel T1, typename T2>
173-
auto getMlInputFeatures(const T1& candB0, const T2& prongBachPi) {
174+
auto getMlInputFeatures(const T1& candB0, const T2& prongBachPi)
175+
{
174176
auto prongSoftPi = candB0.template prongSoftPi_as<TracksSoftPions>();
175177
if constexpr (withDmesMl) {
176-
return hfMlResponse.getInputFeaturesDStarPi<true>(candB0, prongBachPi, prongSoftPi);
178+
return hfMlResponse.getInputFeaturesDStarPi<true>(candB0, prongBachPi, prongSoftPi);
177179
} else {
178-
return hfMlResponse.getInputFeaturesDStarPi<false>(candB0, prongBachPi, prongSoftPi);
180+
return hfMlResponse.getInputFeaturesDStarPi<false>(candB0, prongBachPi, prongSoftPi);
179181
}
180182
}
181183

182-
/// Utility function to retrieve the bach pion track
183-
///from the B0 candidate in the D-pi decay channel
184+
/// Utility function to retrieve the bach pion track
185+
/// from the B0 candidate in the D-pi decay channel
184186
/// \param candidate is the B0 candidate
185187
/// \return bach pion track
186188
template <typename T1>
187-
auto getTrackBachPi(const T1& candidate) {
189+
auto getTrackBachPi(const T1& candidate)
190+
{
188191
return candidate.template prong1_as<TracksBachPion>();
189192
}
190193

@@ -193,7 +196,8 @@ struct HfCandidateSelectorB0ToDPiReduced {
193196
/// \param prongBachPi is the candidate's bachelor pion prong
194197
/// \note this method is used for B0 → D- π+ candidates with D meson ML scores
195198
template <bool withDmesMl, typename T1, typename T2>
196-
auto getMlInputFeatures(const T1& candB0, const T2& prongBachPi) {
199+
auto getMlInputFeatures(const T1& candB0, const T2& prongBachPi)
200+
{
197201
if constexpr (withDmesMl) {
198202
return hfMlResponse.getInputFeatures<true>(candB0, prongBachPi);
199203
} else {

PWGHF/D2H/Tasks/taskB0Reduced.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ struct HfTaskB0Reduced {
235235
doprocessMcDplusPi, doprocessMcDplusPiWithDecayTypeCheck, doprocessMcDplusPiWithDmesMl,
236236
doprocessMcDplusPiWithDmesMlAndDecayTypeCheck, doprocessMcDplusPiWithB0Ml,
237237
doprocessMcDplusPiWithB0MlAndDecayTypeCheck};
238-
const AxisSpec axisMass = ((std::accumulate(processFuncDplusPi.begin(), processFuncDplusPi.end(), 0)) > 0) ? axisMassDminus : axisMassDeltaMassDStar;
239-
std::string dMesSpecie{""};
238+
const AxisSpec axisMass = ((std::accumulate(processFuncDplusPi.begin(), processFuncDplusPi.end(), 0)) > 0) ? axisMassDminus : axisMassDeltaMassDStar;
239+
std::string dMesSpecie{""};
240240
if ((std::accumulate(processFuncDplusPi.begin(), processFuncDplusPi.end(), 0)) > 0) {
241241
dMesSpecie += "D^{#minus}";
242242
} else {

0 commit comments

Comments
 (0)