Skip to content

Commit a5eb150

Browse files
authored
PWGHF: fixed rapidity bug for proton
1 parent fed4efe commit a5eb150

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGHF/HFC/TableProducer/correlatorLcHadrons.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ struct HfCorrelatorLcHadrons {
211211
Service<o2::framework::O2DatabasePDG> pdg;
212212
int leadingIndex = 0;
213213
bool correlationStatus = false;
214-
static constexpr size_t nDaughters{3u};
214+
static constexpr size_t NDaughters{3u};
215215
TRandom3* rnd = new TRandom3(0);
216216

217217
// Event Mixing for the Data Mode
@@ -801,12 +801,12 @@ struct HfCorrelatorLcHadrons {
801801

802802
// prompt and non-prompt division
803803
std::vector<int> listDaughters{};
804-
std::array<int, nDaughters> arrDaughLcPDG = {kProton, -kKPlus, kPiPlus};
805-
std::array<int, nDaughters> prongsId;
804+
std::array<int, NDaughters> arrDaughLcPDG = {kProton, -kKPlus, kPiPlus};
805+
std::array<int, NDaughters> prongsId;
806806
listDaughters.clear();
807807
RecoDecay::getDaughters(particle, &listDaughters, arrDaughLcPDG, 2);
808808
int counterDaughters = 0;
809-
if (listDaughters.size() == nDaughters) {
809+
if (listDaughters.size() == NDaughters) {
810810
for (const auto& dauIdx : listDaughters) {
811811
auto daughI = mcParticles.rawIteratorAt(dauIdx - mcParticles.offset());
812812
counterDaughters += 1;

0 commit comments

Comments
 (0)