Skip to content

Commit 8f5c1bf

Browse files
Jinhyun ParkJinhyun Park
authored andcommitted
Updated naming schemes
1 parent 7ebeeed commit 8f5c1bf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

PWGHF/TableProducer/treeCreatorToXiPiQa.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ DECLARE_SOA_COLUMN(MassV0Chi2OverNdf, massV0Chi2OverNdf, float);
219219
DECLARE_SOA_COLUMN(MassCascChi2OverNdf, massCascChi2OverNdf, float);
220220
// MC
221221
DECLARE_SOA_COLUMN(ParticlePdg, particlePdg, int);
222-
DECLARE_SOA_COLUMN(MaxNumContrib, maxNumContrib, int);
222+
DECLARE_SOA_COLUMN(NContribMax, nContribMax, int);
223223
DECLARE_SOA_COLUMN(NRecoColl, nRecoColl, int);
224224
DECLARE_SOA_COLUMN(PtGenB, ptGenB, float);
225225
} // namespace full
@@ -322,7 +322,7 @@ DECLARE_SOA_TABLE(HfCandToXiPiGen, "AOD", "HFCANDTOXIPIGEN",
322322
full::FlagMcMatchRec,
323323
full::OriginRec,
324324
full::ParticlePdg,
325-
full::MaxNumContrib,
325+
full::NContribMax,
326326
full::NRecoColl,
327327
full::PtGenB)
328328
} // namespace o2::aod
@@ -659,11 +659,11 @@ struct HfTreeCreatorToXiPiQa {
659659
auto ptGen = particle.pt();
660660
auto yGen = particle.rapidityCharmBaryonGen();
661661

662-
int maxNumContrib = 0;
662+
int nContribMax = 0;
663663
auto mcCollision = particle.template mcCollision_as<McCollType>();
664664
const auto& recoCollsPerMcColl = collisions.sliceBy(colPerMcCollision, mcCollision.globalIndex());
665665
for (const auto& recoCol : recoCollsPerMcColl) {
666-
maxNumContrib = recoCol.numContrib() > maxNumContrib ? recoCol.numContrib() : maxNumContrib;
666+
nContribMax = recoCol.numContrib() > nContribMax ? recoCol.numContrib() : nContribMax;
667667
}
668668

669669
float ptGenBhad = (particle.originMcGen() == RecoDecay::OriginType::NonPrompt) ? mcParticles.rawIteratorAt(particle.idxBhadMotherPart()).pt() : -999.f;
@@ -676,7 +676,7 @@ struct HfTreeCreatorToXiPiQa {
676676
particle.flagMcMatchGen(),
677677
particle.originMcGen(),
678678
particle.pdgCode(),
679-
maxNumContrib,
679+
nContribMax,
680680
recoCollsPerMcColl.size(),
681681
ptGenBhad);
682682
}

0 commit comments

Comments
 (0)