Skip to content

Commit 76acd5f

Browse files
vkuceraalibuild
andauthored
PWGHF: Various fixes of types and members (#3454)
* Fix mcCollision * Fix mcParticles * Fix TracksWDca * Fix track types in candidateCreatorSigmac0plusplus.cxx * Fix types in correlatorDplusHadrons.cxx * Fix members in correlatorDplusHadrons.cxx * Fix members in correlatorDsHadrons.cxx * Fix members and types in taskFlow.cxx * Fix members in candidateCreatorSigmac0plusplus.cxx * Fix types in correlatorDplusDminus.cxx * Fix type in taskXic.cxx * Fix types in taskDs.cxx treeCreatorDsToKKPi.cxx * Fix members in candidateSelectorLcMl.cxx * Fix InitContext * Do not use TMath * Fix members of candidateCreatorB0.cxx * Please consider the following formatting changes (#27) --------- Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
1 parent 3357ff2 commit 76acd5f

File tree

76 files changed

+604
-619
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+604
-619
lines changed

EventFiltering/PWGHF/HFFilter.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ struct HfFilter { // Main struct for HF triggers
169169
o2::base::Propagator::MatCorrType matCorr = o2::base::Propagator::MatCorrType::USEMatCorrNONE;
170170
o2::base::Propagator::MatCorrType noMatCorr = o2::base::Propagator::MatCorrType::USEMatCorrNONE;
171171

172-
void init(o2::framework::InitContext&)
172+
void init(InitContext&)
173173
{
174174
cutsSingleTrack = {cutsTrackBeauty3Prong, cutsTrackBeauty4Prong, cutsTrackCharmBaryonBachelor};
175175

EventFiltering/PWGHF/HFFilterPrepareMLSamples.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct HfFilterPrepareMlSamples { // Main struct
5757
o2::base::Propagator::MatCorrType noMatCorr = o2::base::Propagator::MatCorrType::USEMatCorrNONE;
5858
int currentRun = 0; // needed to detect if the run changed and trigger update of calibrations etc.
5959

60-
void init(o2::framework::InitContext&)
60+
void init(InitContext&)
6161
{
6262
ccdb->setURL(url.value);
6363
ccdb->setCaching(true);
@@ -70,7 +70,7 @@ struct HfFilterPrepareMlSamples { // Main struct
7070

7171
void process(aod::Hf2Prongs const& cand2Prongs,
7272
aod::Hf3Prongs const& cand3Prongs,
73-
aod::McParticles const& particlesMC,
73+
aod::McParticles const& mcParticles,
7474
soa::Join<aod::Collisions, aod::McCollisionLabels> const& collisions,
7575
BigTracksMCPID const&,
7676
aod::BCsWithTimestamps const&)
@@ -116,10 +116,10 @@ struct HfFilterPrepareMlSamples { // Main struct
116116

117117
// D0(bar) → π± K∓
118118
bool isInCorrectColl{false};
119-
auto indexRec = RecoDecay::getMatchedMCRec(particlesMC, std::array{trackPos, trackNeg}, pdg::Code::kD0, std::array{+kPiPlus, -kKPlus}, true, &sign);
119+
auto indexRec = RecoDecay::getMatchedMCRec(mcParticles, std::array{trackPos, trackNeg}, pdg::Code::kD0, std::array{+kPiPlus, -kKPlus}, true, &sign);
120120
if (indexRec > -1) {
121-
auto particle = particlesMC.rawIteratorAt(indexRec);
122-
flag = RecoDecay::getCharmHadronOrigin(particlesMC, particle);
121+
auto particle = mcParticles.rawIteratorAt(indexRec);
122+
flag = RecoDecay::getCharmHadronOrigin(mcParticles, particle);
123123
isInCorrectColl = (collision.mcCollisionId() == particle.mcCollisionId());
124124
if (flag < RecoDecay::OriginType::Prompt) {
125125
continue;
@@ -197,36 +197,36 @@ struct HfFilterPrepareMlSamples { // Main struct
197197
int8_t channel = -1;
198198

199199
// D± → π± K∓ π±
200-
auto indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayDaughters, pdg::Code::kDPlus, std::array{+kPiPlus, -kKPlus, +kPiPlus}, true, &sign, 2);
200+
auto indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdg::Code::kDPlus, std::array{+kPiPlus, -kKPlus, +kPiPlus}, true, &sign, 2);
201201
if (indexRec >= 0) {
202202
channel = kDplus;
203203
}
204204
if (indexRec < 0) {
205205
// Ds± → K± K∓ π±
206-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayDaughters, pdg::Code::kDS, std::array{+kKPlus, -kKPlus, +kPiPlus}, true, &sign, 2);
206+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdg::Code::kDS, std::array{+kKPlus, -kKPlus, +kPiPlus}, true, &sign, 2);
207207
if (indexRec >= 0) {
208208
channel = kDs;
209209
}
210210
}
211211
if (indexRec < 0) {
212212
// Λc± → p± K∓ π±
213-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayDaughters, pdg::Code::kLambdaCPlus, std::array{+kProton, -kKPlus, +kPiPlus}, true, &sign, 2);
213+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdg::Code::kLambdaCPlus, std::array{+kProton, -kKPlus, +kPiPlus}, true, &sign, 2);
214214
if (indexRec >= 0) {
215215
channel = kLc;
216216
}
217217
}
218218
if (indexRec < 0) {
219219
// Ξc± → p± K∓ π±
220-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayDaughters, pdg::Code::kXiCPlus, std::array{+kProton, -kKPlus, +kPiPlus}, true, &sign, 2);
220+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdg::Code::kXiCPlus, std::array{+kProton, -kKPlus, +kPiPlus}, true, &sign, 2);
221221
if (indexRec >= 0) {
222222
channel = kXic;
223223
}
224224
}
225225

226226
bool isInCorrectColl{false};
227227
if (indexRec > -1) {
228-
auto particle = particlesMC.rawIteratorAt(indexRec);
229-
flag = RecoDecay::getCharmHadronOrigin(particlesMC, particle);
228+
auto particle = mcParticles.rawIteratorAt(indexRec);
229+
flag = RecoDecay::getCharmHadronOrigin(mcParticles, particle);
230230
isInCorrectColl = (collision.mcCollisionId() == particle.mcCollisionId());
231231
if (flag < RecoDecay::OriginType::Prompt) {
232232
continue;

EventFiltering/PWGHF/HFFilterQC.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct HfFilterQc { // Main struct for HF trigger QC
4444

4545
HistogramRegistry registry{"registry", {}, OutputObjHandlingPolicy::AnalysisObject, true, true};
4646

47-
void init(o2::framework::InitContext&)
47+
void init(InitContext&)
4848
{
4949
// Initialize the histograms
5050
hPartPerEvent[0] = registry.add<TH2>("hPartPerEventAll", "All events;;number of particles", HistType::kTH2F, {{kNCharmParticles, -0.5, kNCharmParticles - 0.5}, {11, -0.5, 10.5}});
@@ -65,13 +65,13 @@ struct HfFilterQc { // Main struct for HF trigger QC
6565

6666
/// Loops over particle species and checks whether the analysed particle is the correct one
6767
/// \param pdgDau tuple with PDG daughter codes for the desired decay
68-
/// \param particlesMC table with MC particles
68+
/// \param mcParticles table with MC particles
6969
/// \param particle MC particle
7070
/// \param nParticles array with number of particles found for each particle species
7171
/// \param triggerDecision array with trigger decision
7272
template <size_t I = 0, typename... Ts, typename T, typename U, typename A>
7373
constexpr void checkParticleDecay(std::tuple<Ts...> pdgDau,
74-
const T& particlesMC,
74+
const T& mcParticles,
7575
const U& particle,
7676
A& nParticles,
7777
const std::array<bool, kNtriggersHF + 1>& triggerDecision)
@@ -83,7 +83,7 @@ struct HfFilterQc { // Main struct for HF trigger QC
8383
return;
8484
} else {
8585
int8_t sign = 0;
86-
if (RecoDecay::isMatchedMCGen(particlesMC, particle, pdgCodesCharm[I], std::get<I>(pdgDau), true, &sign, 2)) {
86+
if (RecoDecay::isMatchedMCGen(mcParticles, particle, pdgCodesCharm[I], std::get<I>(pdgDau), true, &sign, 2)) {
8787
nParticles[I]++;
8888
hPtDistr[0]->Fill(static_cast<double>(I), static_cast<double>(particle.pt()));
8989
for (auto iTrig = 0; iTrig < kNtriggersHF; ++iTrig) {
@@ -94,12 +94,12 @@ struct HfFilterQc { // Main struct for HF trigger QC
9494
}
9595

9696
// Going for next element.
97-
checkParticleDecay<I + 1>(pdgDau, particlesMC, particle, nParticles, triggerDecision);
97+
checkParticleDecay<I + 1>(pdgDau, mcParticles, particle, nParticles, triggerDecision);
9898
}
9999
}
100100

101101
void process(HfFilter const& filterDecision,
102-
McParticles const& particlesMC)
102+
McParticles const& mcParticles)
103103
{
104104
bool hasHighPt2P = filterDecision.hasHfHighPt2P();
105105
bool hasHighPt3P = filterDecision.hasHfHighPt3P();
@@ -118,9 +118,9 @@ struct HfFilterQc { // Main struct for HF trigger QC
118118

119119
std::array<int, kNCharmParticles> nPart{0};
120120
// Loop over the MC particles
121-
for (const auto& particle : particlesMC) {
121+
for (const auto& particle : mcParticles) {
122122
// Check if the particle is of interest
123-
checkParticleDecay(pdgCharmDaughters, particlesMC, particle, nPart, triggerDecision);
123+
checkParticleDecay(pdgCharmDaughters, mcParticles, particle, nPart, triggerDecision);
124124
}
125125

126126
for (auto iPart = 0; iPart < kNCharmParticles; ++iPart) {

PWGHF/ALICE3/TableProducer/candidateCreatorChic.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ struct HfCandidateCreatorChicMc {
216216
void process(aod::HfCandChic const& candidates,
217217
aod::HfCand2Prong const&,
218218
aod::TracksWMc const& tracks,
219-
aod::McParticles const& particlesMC,
219+
aod::McParticles const& mcParticles,
220220
aod::ECALs const& ecals)
221221
{
222222
int indexRec = -1;
@@ -236,14 +236,14 @@ struct HfCandidateCreatorChicMc {
236236
auto arrayJpsiDaughters = std::array{daughterPosJpsi, daughterNegJpsi};
237237

238238
// chi_c → J/ψ gamma
239-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayJpsiDaughters, pdg::Code::kJPsi, std::array{+kMuonPlus, -kMuonPlus}, true);
239+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayJpsiDaughters, pdg::Code::kJPsi, std::array{+kMuonPlus, -kMuonPlus}, true);
240240
if (indexRec > -1) {
241241
hMassJpsiToMuMuMatched->Fill(invMassJpsiToMuMu(candidate.prong0()));
242242

243-
int indexMother = RecoDecay::getMother(particlesMC, particlesMC.rawIteratorAt(indexRec), pdg::Code::kChiC1);
244-
int indexMotherGamma = RecoDecay::getMother(particlesMC, particlesMC.rawIteratorAt(candidate.prong1().mcparticleId()), pdg::Code::kChiC1);
243+
int indexMother = RecoDecay::getMother(mcParticles, mcParticles.rawIteratorAt(indexRec), pdg::Code::kChiC1);
244+
int indexMotherGamma = RecoDecay::getMother(mcParticles, mcParticles.rawIteratorAt(candidate.prong1().mcparticleId()), pdg::Code::kChiC1);
245245
if (indexMother > -1 && indexMotherGamma == indexMother && candidate.prong1().mcparticle().pdgCode() == kGamma) {
246-
auto particleMother = particlesMC.rawIteratorAt(indexMother);
246+
auto particleMother = mcParticles.rawIteratorAt(indexMother);
247247
hEphotonMatched->Fill(candidate.prong1().e());
248248
hMassEMatched->Fill(sqrt(candidate.prong1().px() * candidate.prong1().px() + candidate.prong1().py() * candidate.prong1().py() + candidate.prong1().pz() * candidate.prong1().pz()));
249249
if (particleMother.has_daughters()) {
@@ -257,31 +257,31 @@ struct HfCandidateCreatorChicMc {
257257
}
258258
}
259259
if (flag != 0) {
260-
auto particle = particlesMC.rawIteratorAt(indexRec);
261-
origin = RecoDecay::getCharmHadronOrigin(particlesMC, particle);
260+
auto particle = mcParticles.rawIteratorAt(indexRec);
261+
origin = RecoDecay::getCharmHadronOrigin(mcParticles, particle);
262262
}
263263
rowMcMatchRec(flag, origin, channel);
264264
}
265265

266266
// Match generated particles.
267-
for (const auto& particle : particlesMC) {
267+
for (const auto& particle : mcParticles) {
268268
// Printf("New gen. candidate");
269269
flag = 0;
270270
origin = 0;
271271
channel = 0;
272272

273273
// chi_c → J/ψ gamma
274-
if (RecoDecay::isMatchedMCGen(particlesMC, particle, pdg::Code::kChiC1, std::array{static_cast<int>(pdg::Code::kJPsi), static_cast<int>(kGamma)}, true)) {
274+
if (RecoDecay::isMatchedMCGen(mcParticles, particle, pdg::Code::kChiC1, std::array{static_cast<int>(pdg::Code::kJPsi), static_cast<int>(kGamma)}, true)) {
275275
// Match J/psi --> e+e-
276276
std::vector<int> arrDaughter;
277277
RecoDecay::getDaughters(particle, &arrDaughter, std::array{static_cast<int>(pdg::Code::kJPsi)}, 1);
278-
auto jpsiCandMC = particlesMC.rawIteratorAt(arrDaughter[0]);
279-
if (RecoDecay::isMatchedMCGen(particlesMC, jpsiCandMC, pdg::Code::kJPsi, std::array{+kElectron, -kElectron}, true)) {
278+
auto jpsiCandMC = mcParticles.rawIteratorAt(arrDaughter[0]);
279+
if (RecoDecay::isMatchedMCGen(mcParticles, jpsiCandMC, pdg::Code::kJPsi, std::array{+kElectron, -kElectron}, true)) {
280280
flag = 1 << hf_cand_chic::DecayType::ChicToJpsiToEEGamma;
281281
}
282282

283283
if (flag == 0) {
284-
if (RecoDecay::isMatchedMCGen(particlesMC, jpsiCandMC, pdg::Code::kJPsi, std::array{+kMuonPlus, -kMuonPlus}, true)) {
284+
if (RecoDecay::isMatchedMCGen(mcParticles, jpsiCandMC, pdg::Code::kJPsi, std::array{+kMuonPlus, -kMuonPlus}, true)) {
285285
flag = 1 << hf_cand_chic::DecayType::ChicToJpsiToMuMuGamma;
286286
}
287287
}

PWGHF/ALICE3/TableProducer/candidateCreatorX.cxx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ struct HfCandidateCreatorXMc {
265265
void process(aod::HfCandX const& candidates,
266266
aod::HfCand2Prong const&,
267267
aod::TracksWMc const& tracks,
268-
aod::McParticles const& particlesMC)
268+
aod::McParticles const& mcParticles)
269269
{
270270
int indexRec = -1;
271271
int pdgCodeX = pdg::Code::kX3872;
@@ -292,18 +292,18 @@ struct HfCandidateCreatorXMc {
292292

293293
// X → J/ψ π+ π-
294294
// Printf("Checking X → J/ψ π+ π-");
295-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayJpsiDaughters, pdg::Code::kJPsi, std::array{+kElectron, -kElectron}, true);
295+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayJpsiDaughters, pdg::Code::kJPsi, std::array{+kElectron, -kElectron}, true);
296296
if (indexRec > -1) {
297-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayDaughters, pdgCodeX, std::array{+kPiPlus, -kPiPlus, +kElectron, -kElectron}, true, &sign, 2);
297+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdgCodeX, std::array{+kPiPlus, -kPiPlus, +kElectron, -kElectron}, true, &sign, 2);
298298
if (indexRec > -1) {
299299
flag = 1 << hf_cand_x::DecayType::XToJpsiToEEPiPi;
300300
}
301301
}
302302

303303
if (flag == 0) {
304-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayJpsiDaughters, pdg::Code::kJPsi, std::array{+kMuonPlus, -kMuonPlus}, true);
304+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayJpsiDaughters, pdg::Code::kJPsi, std::array{+kMuonPlus, -kMuonPlus}, true);
305305
if (indexRec > -1) {
306-
indexRec = RecoDecay::getMatchedMCRec(particlesMC, arrayDaughters, pdgCodeX, std::array{+kPiPlus, -kPiPlus, +kMuonPlus, -kMuonPlus}, true, &sign, 2);
306+
indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdgCodeX, std::array{+kPiPlus, -kPiPlus, +kMuonPlus, -kMuonPlus}, true, &sign, 2);
307307
if (indexRec > -1) {
308308
flag = 1 << hf_cand_x::DecayType::XToJpsiToMuMuPiPi;
309309
}
@@ -312,41 +312,41 @@ struct HfCandidateCreatorXMc {
312312

313313
// Check whether the particle is non-prompt (from a b quark).
314314
if (flag != 0) {
315-
auto particle = particlesMC.rawIteratorAt(indexRec);
316-
origin = RecoDecay::getCharmHadronOrigin(particlesMC, particle);
315+
auto particle = mcParticles.rawIteratorAt(indexRec);
316+
origin = RecoDecay::getCharmHadronOrigin(mcParticles, particle);
317317
}
318318

319319
rowMcMatchRec(flag, origin, channel);
320320
}
321321

322322
// Match generated particles.
323-
for (const auto& particle : particlesMC) {
323+
for (const auto& particle : mcParticles) {
324324
// Printf("New gen. candidate");
325325
flag = 0;
326326
origin = 0;
327327
channel = 0;
328328

329329
// X → J/ψ π+ π-
330330
// Printf("Checking X → J/ψ π+ π-");
331-
if (RecoDecay::isMatchedMCGen(particlesMC, particle, pdgCodeX, std::array{pdgCodeJpsi, +kPiPlus, -kPiPlus}, true)) {
331+
if (RecoDecay::isMatchedMCGen(mcParticles, particle, pdgCodeX, std::array{pdgCodeJpsi, +kPiPlus, -kPiPlus}, true)) {
332332
// Match J/psi --> e+e-
333333
std::vector<int> arrDaughter;
334334
RecoDecay::getDaughters(particle, &arrDaughter, std::array{pdgCodeJpsi}, 1);
335-
auto jpsiCandMC = particlesMC.rawIteratorAt(arrDaughter[0]);
336-
if (RecoDecay::isMatchedMCGen(particlesMC, jpsiCandMC, pdgCodeJpsi, std::array{+kElectron, -kElectron}, true)) {
335+
auto jpsiCandMC = mcParticles.rawIteratorAt(arrDaughter[0]);
336+
if (RecoDecay::isMatchedMCGen(mcParticles, jpsiCandMC, pdgCodeJpsi, std::array{+kElectron, -kElectron}, true)) {
337337
flag = 1 << hf_cand_x::DecayType::XToJpsiToEEPiPi;
338338
}
339339

340340
if (flag == 0) {
341-
if (RecoDecay::isMatchedMCGen(particlesMC, jpsiCandMC, pdgCodeJpsi, std::array{+kMuonPlus, -kMuonPlus}, true)) {
341+
if (RecoDecay::isMatchedMCGen(mcParticles, jpsiCandMC, pdgCodeJpsi, std::array{+kMuonPlus, -kMuonPlus}, true)) {
342342
flag = 1 << hf_cand_x::DecayType::XToJpsiToMuMuPiPi;
343343
}
344344
}
345345
}
346346

347347
// Check whether the particle is non-prompt (from a b quark).
348348
if (flag != 0) {
349-
origin = RecoDecay::getCharmHadronOrigin(particlesMC, particle);
349+
origin = RecoDecay::getCharmHadronOrigin(mcParticles, particle);
350350
}
351351

352352
rowMcMatchGen(flag, origin, channel);

PWGHF/ALICE3/TableProducer/candidateSelectorChicToJpsiGamma.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct HfCandidateSelectorChicToJpsiGamma {
7676
}
7777

7878
auto mchic = RecoDecay::getMassPDG(20443); // chi_c1(1p)
79-
if (TMath::Abs(invMassChicToJpsiGamma(hfCandChic) - mchic) > cuts->get(pTBin, "m")) {
79+
if (std::abs(invMassChicToJpsiGamma(hfCandChic) - mchic) > cuts->get(pTBin, "m")) {
8080
// Printf("Chic topol selection failed at mass diff check");
8181
return false; // check that mass difference is within bounds
8282
}
@@ -93,7 +93,7 @@ struct HfCandidateSelectorChicToJpsiGamma {
9393
return false; // CPA check
9494
}
9595

96-
if ((TMath::Abs(hfCandChic.impactParameter0()) > cuts->get(pTBin, "d0 Jpsi"))) { // adf: Warning: no cut on photon
96+
if ((std::abs(hfCandChic.impactParameter0()) > cuts->get(pTBin, "d0 Jpsi"))) { // adf: Warning: no cut on photon
9797
return false; // DCA check on daughters
9898
}
9999

@@ -109,7 +109,7 @@ struct HfCandidateSelectorChicToJpsiGamma {
109109
template <typename T>
110110
bool validTPCPID(const T& track)
111111
{
112-
if (TMath::Abs(track.pt()) < ptPidTpcMin || TMath::Abs(track.pt()) >= ptPidTpcMax) {
112+
if (std::abs(track.pt()) < ptPidTpcMin || std::abs(track.pt()) >= ptPidTpcMax) {
113113
return false;
114114
}
115115
// if (track.TPCNClsFindable() < TPCNClsFindableMin) return false;
@@ -123,7 +123,7 @@ struct HfCandidateSelectorChicToJpsiGamma {
123123
template <typename T>
124124
bool validTofPid(const T& track)
125125
{
126-
if (TMath::Abs(track.pt()) < ptPidTofMin || TMath::Abs(track.pt()) >= ptPidTofMax) {
126+
if (std::abs(track.pt()) < ptPidTofMin || std::abs(track.pt()) >= ptPidTofMax) {
127127
return false;
128128
}
129129
return true;

PWGHF/ALICE3/TableProducer/candidateSelectorD0Alice3Barrel.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ DECLARE_SOA_INDEX_TABLE_USER(RICHTracksIndex, Tracks, "RICHTRK", indices::TrackI
4343
struct HfCandidateSelectorD0Alice3BarrelRichIndexBuilder { // Builder of the RICH-track index linkage
4444
Builds<o2::aod::RICHTracksIndex> indB;
4545

46-
void init(o2::framework::InitContext&) {}
46+
void init(InitContext&) {}
4747
};
4848

4949
/// Struct for applying D0 selection cuts

PWGHF/ALICE3/TableProducer/candidateSelectorD0Alice3Forward.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ DECLARE_SOA_INDEX_TABLE_USER(FRICHTracksIndex, Tracks, "FRICHTRK", indices::Trac
4343
struct HfCandidateSelectorD0Alice3ForwardRichIndexBuilder { // Builder of the RICH-track index linkage
4444
Builds<o2::aod::FRICHTracksIndex> indF;
4545

46-
void init(o2::framework::InitContext&) {}
46+
void init(InitContext&) {}
4747
};
4848

4949
/// Struct for applying D0 selection cuts

PWGHF/ALICE3/TableProducer/candidateSelectorD0ParametrizedPid.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ DECLARE_SOA_INDEX_TABLE_USER(RICHTracksIndex, Tracks, "RICHTRK", indices::TrackI
4242

4343
struct HfCandidateSelectorD0ParametrizedPidRichIndexBuilder { // Builder of the RICH-track index linkage
4444
Builds<o2::aod::RICHTracksIndex> indB;
45-
void init(o2::framework::InitContext&) {}
45+
void init(InitContext&) {}
4646
};
4747

4848
/// Struct for applying D0 selection cuts

PWGHF/ALICE3/TableProducer/candidateSelectorJpsi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ DECLARE_SOA_INDEX_TABLE_USER(HfTrackIndexALICE3PID, Tracks, "HFTRKIDXA3PID", //!
4747

4848
struct HfCandidateSelectorJpsiAlice3PidIndexBuilder {
4949
Builds<o2::aod::HfTrackIndexALICE3PID> index;
50-
void init(o2::framework::InitContext&) {}
50+
void init(InitContext&) {}
5151
};
5252

5353
void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)

0 commit comments

Comments
 (0)