Skip to content

Commit 8192d98

Browse files
committed
Fix MegaLinter
1 parent d57aba9 commit 8192d98

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

PWGEM/PhotonMeson/Tasks/emcalMcTask.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,13 @@ struct EmcalMcTask {
297297

298298
// One templated fill function instead of 9 copy-pasted blocks
299299
template <const int type, o2::soa::is_iterator TCluster, o2::soa::is_iterator TMC>
300-
void fillClusterHistos(HistogramRegistry& registry, TCluster const& clu, TMC const& mcPart, float centOrMult)
300+
void fillClusterHistos(HistogramRegistry& histRegistry, TCluster const& clu, TMC const& mcPart, float centOrMult)
301301
{
302302
static constexpr std::string_view subDir = kSubDirs[type];
303303

304-
registry.fill(HIST(subDir) + HIST("hM02"), clu.m02(), clu.e(), centOrMult);
305-
registry.fill(HIST(subDir) + HIST("hEtaRel"), clu.eta() - mcPart.eta(), clu.e(), centOrMult);
306-
registry.fill(HIST(subDir) + HIST("hPhiRel"), clu.phi() - mcPart.phi(), clu.e(), centOrMult);
304+
histRegistry.fill(HIST(subDir) + HIST("hM02"), clu.m02(), clu.e(), centOrMult);
305+
histRegistry.fill(HIST(subDir) + HIST("hEtaRel"), clu.eta() - mcPart.eta(), clu.e(), centOrMult);
306+
histRegistry.fill(HIST(subDir) + HIST("hPhiRel"), clu.phi() - mcPart.phi(), clu.e(), centOrMult);
307307
}
308308

309309
// PCM-EMCal same event

0 commit comments

Comments
 (0)