Skip to content

Commit fa1a83b

Browse files
committed
Fix a */ error
1 parent 9942644 commit fa1a83b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

PWGLF/DataModel/LFInJets.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ DECLARE_SOA_TABLE(CascInJets, "AOD", "CASCINJETS",
8686
lfinjets::DCACascDaughters, lfinjets::V0DCAV0Daughters, lfinjets::DCAV0ToPV,
8787
lfinjets::NTPCSigmaNegPr, lfinjets::NTPCSigmaPosPr, lfinjets::NTPCSigmaNegPi, lfinjets::NTPCSigmaPosPi,
8888
lfinjets::NTOFSigmaNegPr, lfinjets::NTOFSigmaPosPr, lfinjets::NTOFSigmaNegPi, lfinjets::NTOFSigmaPosPi,
89-
lfinjets::NTPCSigmaBachPi, lfinjets::NTPCSigmaBachKa, lfinjets::NTOFSigmaBachPi, lfinjets::NTOFSigmaBachKa, */lfinjets::MultFT0M,
89+
lfinjets::NTPCSigmaBachPi, lfinjets::NTPCSigmaBachKa, lfinjets::NTOFSigmaBachPi, lfinjets::NTOFSigmaBachKa, lfinjets::MultFT0M,
9090
lfinjets::V0PosTPCCrossedRows, lfinjets::V0NegTPCCrossedRows, lfinjets::BachTPCCrossedRows,
9191
lfinjets::V0NegTPCChi2, lfinjets::V0NegITSlayers, lfinjets::V0PosTPCChi2, lfinjets::V0PosITSlayers,
9292
lfinjets::BachTPCChi2, lfinjets::BachITSlayers,

PWGLF/Tasks/Strangeness/strangenessInJets.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -428,17 +428,17 @@ struct StrangenessInJets {
428428
return false;
429429

430430
// Constants for identifying heavy-flavor (charm and bottom) content from PDG codes
431-
static constexpr int kCharmQuark = 4;
432-
static constexpr int kBottomQuark = 5;
433-
static constexpr int hundreds = 100;
434-
static constexpr int thousands = 1000;
431+
static constexpr int CharmQuark = 4;
432+
static constexpr int BottomQuark = 5;
433+
static constexpr int Hundreds = 100;
434+
static constexpr int Thousands = 1000;
435435

436436
// Check if particle is from heavy-flavor decay
437437
bool fromHF = false;
438438
if (particle.has_mothers()) {
439439
auto mother = mcParticles.iteratorAt(particle.mothersIds()[0]);
440440
int motherPdg = std::abs(mother.pdgCode());
441-
fromHF = (motherPdg / hundreds == kCharmQuark || motherPdg / hundreds == kBottomQuark || motherPdg / thousands == kCharmQuark || motherPdg / thousands == kBottomQuark);
441+
fromHF = (motherPdg / Hundreds == CharmQuark || motherPdg / Hundreds == BottomQuark || motherPdg / Thousands == CharmQuark || motherPdg / Thousands == BottomQuark);
442442
}
443443

444444
// Select only physical primary particles or from heavy-flavor
@@ -1255,8 +1255,8 @@ struct StrangenessInJets {
12551255
continue;
12561256

12571257
// Build 4-momentum assuming charged pion mass
1258-
static constexpr float kMassPionChargedSquared = o2::constants::physics::MassPionCharged * o2::constants::physics::MassPionCharged;
1259-
const double energy = std::sqrt(particle.p() * particle.p() + kMassPionChargedSquared);
1258+
static constexpr float MassPionChargedSquared = o2::constants::physics::MassPionCharged * o2::constants::physics::MassPionCharged;
1259+
const double energy = std::sqrt(particle.p() * particle.p() + MassPionChargedSquared);
12601260
fastjet::PseudoJet fourMomentum(particle.px(), particle.py(), particle.pz(), energy);
12611261
fourMomentum.set_user_index(particle.pdgCode());
12621262
fjParticles.emplace_back(fourMomentum);

0 commit comments

Comments
 (0)