Skip to content

Commit 943a0b7

Browse files
committed
o2-linter fix
1 parent 50d4c32 commit 943a0b7

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ struct HfDataCreatorCharmHadPiReduced {
625625
std::vector<int> arrDaughDsIndex;
626626
std::array<int, 2> arrPDGDaughDs;
627627
RecoDecay::getDaughters(particlesMc.rawIteratorAt(indexRec), &arrDaughDsIndex, std::array{0}, 1);
628-
if (arrDaughDsIndex.size() == 2) {
628+
if (arrDaughDsIndex.size() == NDaughtersDs) {
629629
for (auto iProng = 0u; iProng < arrDaughDsIndex.size(); ++iProng) {
630630
auto daughI = particlesMc.rawIteratorAt(arrDaughDsIndex[iProng]);
631631
arrPDGDaughDs[iProng] = std::abs(daughI.pdgCode());

PWGHF/D2H/Tasks/taskB0Reduced.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ DECLARE_SOA_COLUMN(AbsEtaBach, absEtaBach, float);
4242
DECLARE_SOA_COLUMN(ItsNClsBach, itsNClsBach, int); //! Number of ITS clusters of bachelor pion
4343
DECLARE_SOA_COLUMN(TpcNClsCrossedRowsBach, tpcNClsCrossedRowsBach, int); //! Number of TPC crossed rows of prongs of bachelor pion
4444
DECLARE_SOA_COLUMN(TpcChi2NClBach, tpcChi2NClBach, float); //! Maximum TPC chi2 of prongs of D-meson daughter candidate
45-
DECLARE_SOA_COLUMN(PtDmesProngMin, ptProngDmesMin, float); //! Minimum pT of prongs of D-meson daughter candidate (GeV/c)
46-
DECLARE_SOA_COLUMN(AbsEtaDmesProngMin, absEtaProngDmesMin, float); //! Minimum absolute pseudorapidity of prongs of D-meson daughter candidate
45+
DECLARE_SOA_COLUMN(PtDmesProngMin, ptDmesProngMin, float); //! Minimum pT of prongs of D-meson daughter candidate (GeV/c)
46+
DECLARE_SOA_COLUMN(AbsEtaDmesProngMin, absEtaDmesProngMin, float); //! Minimum absolute pseudorapidity of prongs of D-meson daughter candidate
4747
DECLARE_SOA_COLUMN(ItsNClsDmesProngMin, itsNClsDmesProngMin, int); //! Minimum number of ITS clusters of prongs of D-meson daughter candidate
4848
DECLARE_SOA_COLUMN(TpcNClsCrossedRowsDmesProngMin, tpcNClsCrossedRowsDmesProngMin, int); //! Minimum number of TPC crossed rows of prongs of D-meson daughter candidate
4949
DECLARE_SOA_COLUMN(TpcChi2NClDmesProngMax, tpcChi2NClDmesProngMax, float); //! Maximum TPC chi2 of prongs of D-meson daughter candidate
@@ -176,13 +176,13 @@ struct HfTaskB0Reduced {
176176

177177
HfHelper hfHelper;
178178

179+
using TracksPion = soa::Join<HfRedTracks, HfRedTracksPid>;
180+
using CandsDplus = soa::Join<HfRed3Prongs, HfRedPidDau0s, HfRedPidDau1s, HfRedPidDau2s>;
181+
179182
Filter filterSelectCandidates = (aod::hf_sel_candidate_b0::isSelB0ToDPi >= selectionFlagB0);
180183

181184
HistogramRegistry registry{"registry"};
182185

183-
using TracksPion = soa::Join<HfRedTracks, HfRedTracksPid>;
184-
using CandsDplus = soa::Join<HfRed3Prongs, HfRedPidDau0s, HfRedPidDau1s, HfRedPidDau2s>;
185-
186186
void init(InitContext&)
187187
{
188188
std::array<bool, 3> processFuncData{doprocessData, doprocessDataWithDmesMl, doprocessDataWithB0Ml};

PWGHF/D2H/Tasks/taskBsReduced.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ struct HfTaskBsReduced {
127127

128128
HfHelper hfHelper;
129129

130+
using TracksPion = soa::Join<HfRedTracks, HfRedTracksPid>;
131+
130132
Filter filterSelectCandidates = (aod::hf_sel_candidate_bs::isSelBsToDsPi >= selectionFlagBs);
131133

132134
HistogramRegistry registry{"registry"};
133135

134-
using TracksPion = soa::Join<HfRedTracks, HfRedTracksPid>;
135-
136136
void init(InitContext&)
137137
{
138138
std::array<bool, 3> processFuncData{doprocessData, doprocessDataWithDmesMl, doprocessDataWithBsMl};

0 commit comments

Comments
 (0)