Skip to content

Commit 3cc644c

Browse files
authored
Update taskXic0ToXiPi.cxx
1 parent 9f477c2 commit 3cc644c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGHF/D2H/Tasks/taskXic0ToXiPi.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ struct HfTaskXic0ToXiPi {
124124
const AxisSpec thnAxisNumPvContr{thnConfigAxisNumPvContr, "Number of PV contributors"};
125125

126126
if (doprocessMcWithKFParticle || doprocessMcWithKFParticleMl) {
127-
std::vector<AxisSpec> const axesAcc = {thnAxisGenPtD, thnAxisGenPtB, thnAxisY, thnAxisOrigin, thnAxisNumPvContr};
127+
std::vector<AxisSpec> axesAcc = {thnAxisGenPtD, thnAxisGenPtB, thnAxisY, thnAxisOrigin, thnAxisNumPvContr};
128128
registry.add("hSparseAcc", "Thn for generated Xic0 from charm and beauty", HistType::kTHnSparseD, axesAcc);
129129
registry.get<THnSparse>(HIST("hSparseAcc"))->Sumw2();
130130
}
@@ -149,8 +149,8 @@ struct HfTaskXic0ToXiPi {
149149
const AxisSpec thnAxisPromptScore{thnConfigAxisPromptScore, "BDT score prompt."};
150150
const AxisSpec thnAxisCent{thnConfigAxisCent, "Centrality."};
151151
const AxisSpec thnAxisPtPion{thnConfigAxisPtPion, "Pt of Pion from Xic0."};
152-
std::vector<AxisSpec> const axesWithBdtCent = {thnAxisPromptScore, thnAxisMass, thnAxisPt, thnAxisY, thnAxisCent, thnAxisPtPion, thnConfigAxisNumPvContr};
153-
std::vector<AxisSpec> const axesWithCent = {thnAxisMass, thnAxisPt, thnAxisY, thnAxisCent, thnAxisPtPion, thnConfigAxisNumPvContr};
152+
std::vector<AxisSpec> axesWithBdtCent = {thnAxisPromptScore, thnAxisMass, thnAxisPt, thnAxisY, thnAxisCent, thnAxisPtPion, thnConfigAxisNumPvContr};
153+
std::vector<AxisSpec> axesWithCent = {thnAxisMass, thnAxisPt, thnAxisY, thnAxisCent, thnAxisPtPion, thnConfigAxisNumPvContr};
154154
registry.add("hBdtScoreVsMassVsPtVsYVsCentVsPtPion", "Thn for Xic0 candidates with BDT&Cent&pTpi", HistType::kTHnSparseD, axesWithBdtCent);
155155
registry.add("hMassVsPtVsYVsCentVsPtPion", "Thn for Xic0 candidates with Cent&pTpi", HistType::kTHnSparseD, axesWithCent);
156156
registry.get<THnSparse>(HIST("hBdtScoreVsMassVsPtVsYVsCentVsPtPion"))->Sumw2();
@@ -270,7 +270,7 @@ struct HfTaskXic0ToXiPi {
270270
RecoDecay::OriginType::Prompt,
271271
maxNumContrib);
272272
} else {
273-
float const ptGenB = mcParticles.rawIteratorAt(particle.idxBhadMotherPart()).pt();
273+
float ptGenB = mcParticles.rawIteratorAt(particle.idxBhadMotherPart()).pt();
274274
registry.fill(HIST("hSparseAcc"),
275275
ptGen,
276276
ptGenB,
@@ -447,7 +447,7 @@ struct HfTaskXic0ToXiPi {
447447
}
448448
PROCESS_SWITCH(HfTaskXic0ToXiPi, processMcWithDCAFitter, "Process MC with KFParticle", false);
449449

450-
void processMcWithKFParticle(Xic0CandsMcKF const& xic0CandidatesMcKf,
450+
void processMcWithKFParticle(Xic0CandsMcKF const& Xic0CandidatesMcKF,
451451
Xic0Gen const& mcParticles,
452452
TracksMc const& tracks,
453453
CollisionsWithMcLabels const& collisions,

0 commit comments

Comments
 (0)