Skip to content

Commit 5f50bc6

Browse files
Fix O2 linter
1 parent 77c0b44 commit 5f50bc6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

PWGLF/TableProducer/Nuspex/nucleiFlowTree.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
///
2323
/// \file nucleiFlowTree.cxx
24-
/// \author Marco Bianchi (mbianchi@cern.ch)
24+
/// \author Marco Bianchi <mbianchi@cern.ch>
2525
///
2626
/// \brief Task to produce nuclei flow tree
2727
///
@@ -314,7 +314,7 @@ struct nucleiFlowTree {
314314
{nuclei::charges[3] * cfgMomentumScalingBetheBloch->get(3u, 0u) / nuclei::masses[3], nuclei::charges[3] * cfgMomentumScalingBetheBloch->get(3u, 1u) / nuclei::masses[3]},
315315
{nuclei::charges[4] * cfgMomentumScalingBetheBloch->get(3u, 0u) / nuclei::masses[4], nuclei::charges[4] * cfgMomentumScalingBetheBloch->get(3u, 1u) / nuclei::masses[4]}};
316316

317-
for (auto& const track : tracks) { // start loop over tracks
317+
for (const auto& track : tracks) { // start loop over tracks
318318
if (std::abs(track.eta()) > cfgCutEta ||
319319
track.tpcInnerParam() < cfgCutTpcMom ||
320320
track.itsNCls() < cfgCutNclusITS ||
@@ -462,10 +462,10 @@ struct nucleiFlowTree {
462462
return;
463463
}
464464
fillDataInfo(collision, tracks);
465-
for (auto& const c : nuclei::candidates) {
465+
for (const auto& c : nuclei::candidates) {
466466
nucleiTable(c.pt, c.eta, c.phi, c.tpcInnerParam, c.beta, c.zVertex, c.DCAxy, c.DCAz, c.TPCsignal, c.ITSchi2, c.TPCchi2, c.TOFchi2, c.flags, c.TPCfindableCls, c.TPCcrossedRows, c.ITSclsMap, c.TPCnCls, c.TPCnClsShared, c.clusterSizesITS);
467467
}
468-
for (auto& const c : nuclei::candidates_flow) {
468+
for (const auto& c : nuclei::candidates_flow) {
469469
nucleiTableFlow(c.centFV0A, c.centFT0M, c.centFT0A, c.centFT0C, c.psiFT0A, c.psiFT0C, c.psiTPC, c.psiTPCl, c.psiTPCr, c.qFT0A, c.qFT0C, c.qTPC, c.qTPCl, c.qTPCr);
470470
}
471471
}
@@ -479,10 +479,10 @@ struct nucleiFlowTree {
479479
return;
480480
}
481481
fillDataInfo(collision, tracks);
482-
for (auto& const c : nuclei::candidates) {
482+
for (const auto& c : nuclei::candidates) {
483483
nucleiTable(c.pt, c.eta, c.phi, c.tpcInnerParam, c.beta, c.zVertex, c.DCAxy, c.DCAz, c.TPCsignal, c.ITSchi2, c.TPCchi2, c.TOFchi2, c.flags, c.TPCfindableCls, c.TPCcrossedRows, c.ITSclsMap, c.TPCnCls, c.TPCnClsShared, c.clusterSizesITS);
484484
}
485-
for (auto& const c : nuclei::candidates_flow) {
485+
for (const auto& c : nuclei::candidates_flow) {
486486
nucleiTableFlow(c.centFV0A, c.centFT0M, c.centFT0A, c.centFT0C, c.psiFT0A, c.psiFT0C, c.psiTPC, c.psiTPCl, c.psiTPCr, c.qFT0A, c.qFT0C, c.qTPC, c.qTPCl, c.qTPCr);
487487
}
488488
}

PWGLF/TableProducer/QC/flowQC.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
///
2323
/// \file flowQC.cxx
24-
/// \author Marco Bianchi (mbianchi@cern.ch)
24+
/// \author Marco Bianchi <mbianchi@cern.ch>
2525
///
2626
/// \brief Task to produce nuclei flow tree QC
2727
///

0 commit comments

Comments
 (0)