Skip to content

Commit 01d2d7e

Browse files
authored
Update correlatorDplusHadrons.cxx
Fixed for Camelcase warning.
1 parent d214cbd commit 01d2d7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGHF/HFC/TableProducer/correlatorDplusHadrons.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ struct HfCorrelatorDplusHadrons {
182182
Produces<aod::Dplus> entryDplus;
183183
Produces<aod::Hadron> entryHadron;
184184
static constexpr std::size_t NDaughters{3u};
185-
static constexpr float kEtaDaughtersMax = 0.8f; // Eta cut on daughters of D+ meson as Run2
185+
static constexpr float EtaDaughtersMax = 0.8f; // Eta cut on daughters of D+ meson as Run2
186186

187187
Configurable<int> selectionFlagDplus{"selectionFlagDplus", 7, "Selection Flag for Dplus"}; // 7 corresponds to topo+PID cuts
188188
Configurable<int> numberEventsMixed{"numberEventsMixed", 5, "Number of events mixed in ME process"};
@@ -437,7 +437,7 @@ struct HfCorrelatorDplusHadrons {
437437
double etaDaugh1 = RecoDecay::eta(std::array{candidate.pxProng0(), candidate.pyProng0(), candidate.pzProng0()});
438438
double etaDaugh2 = RecoDecay::eta(std::array{candidate.pxProng1(), candidate.pyProng1(), candidate.pzProng1()});
439439
double etaDaugh3 = RecoDecay::eta(std::array{candidate.pxProng2(), candidate.pyProng2(), candidate.pzProng2()});
440-
if (std::abs(etaDaugh1) >= kEtaDaughtersMax || std::abs(etaDaugh2) >= kEtaDaughtersMax || std::abs(etaDaugh3) >= kEtaDaughtersMax) {
440+
if (std::abs(etaDaugh1) >= EtaDaughtersMax || std::abs(etaDaugh2) >= EtaDaughtersMax || std::abs(etaDaugh3) >= EtaDaughtersMax) {
441441
continue;
442442
}
443443
// efficiency weight determination
@@ -574,7 +574,7 @@ struct HfCorrelatorDplusHadrons {
574574
bool isDaughtersOk = true;
575575
for (const auto& dauIdx : listDaughters) {
576576
auto daughI = mcParticles.rawIteratorAt(dauIdx - mcParticles.offset());
577-
if (std::abs(daughI.eta()) >= kEtaDaughtersMax) {
577+
if (std::abs(daughI.eta()) >= EtaDaughtersMax) {
578578
isDaughtersOk = false;
579579
break;
580580
}

0 commit comments

Comments
 (0)