Skip to content

Commit 2bc5aba

Browse files
committed
Fix linter issues
1 parent 675d658 commit 2bc5aba

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

PWGHF/HFC/DataModel/DMesonPairsTables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ DECLARE_DMESON_PAIR_MCINFO_TABLE(D0PairMcGenInfo, 2, "D0PAIRGEN"); //! D0 pairs
100100
namespace hf_correlation_d_meson_had
101101
{
102102
// D candidate
103-
DECLARE_SOA_COLUMN(PtD, pD, float); //! Transverse momentum of the D meson
103+
DECLARE_SOA_COLUMN(PtD, ptD, float); //! Transverse momentum of the D meson
104104
DECLARE_SOA_COLUMN(YD, yD, float); //! Rapidity of the D meson
105105
DECLARE_SOA_COLUMN(EtaD, etaD, float); //! Pseudorapidity of the D meson
106106
DECLARE_SOA_COLUMN(PhiD, phiD, float); //! Azimuthal angle of the D meson
@@ -110,7 +110,7 @@ DECLARE_SOA_COLUMN(GIndexColD, gIndexColD, int); //! G-index column of the D
110110
DECLARE_SOA_COLUMN(TimestampD, timestampD, int64_t); //! Timestamp of the D meson
111111

112112
// Associated hadron
113-
DECLARE_SOA_COLUMN(PtHad, pHad, float); //! Transverse momentum of the associated hadron
113+
DECLARE_SOA_COLUMN(PtHad, ptHad, float); //! Transverse momentum of the associated hadron
114114
DECLARE_SOA_COLUMN(YHad, yHad, float); //! Rapidity of the associated hadron
115115
DECLARE_SOA_COLUMN(EtaHad, etaHad, float); //! Pseudorapidity of the associated hadron
116116
DECLARE_SOA_COLUMN(PhiHad, phiHad, float); //! Azimuthal angle of the associated hadron

PWGHF/HFC/TableProducer/correlatorDMesonPairs.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,12 +514,12 @@ struct HfCorrelatorDMesonPairs {
514514
}
515515

516516
/// Fill counters for D0 and D0bar
517-
/// \param selectedD0Candidates contains all D0 candidates
517+
/// \param d0Candidates contains all D0 candidates
518518
template <typename T>
519-
void getCountersPerEvent(const T& selectedD0Candidates)
519+
void getCountersPerEvent(const T& d0Candidates)
520520
{
521521
int nDevent = 0, nDbarevent = 0, nDDbarevent = 0, nDorDbarevent = 0;
522-
for (const auto& candidate : selectedD0Candidates) {
522+
for (const auto& candidate : d0Candidates) {
523523
// Get counters per event
524524
bool const isSignalD0 = std::abs(HfHelper::invMassD0ToPiK(candidate) - MassD0) < massCut;
525525
bool const isSignalD0bar = std::abs(HfHelper::invMassD0barToKPi(candidate) - MassD0Bar) < massCut;

0 commit comments

Comments
 (0)