Skip to content

Commit 10f63f7

Browse files
committed
Removing pdgIndex not used
1 parent 2b4629b commit 10f63f7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

DPG/Tasks/ITS/itsImpParStudies.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,6 @@ struct ItsImpactParStudies {
496496
}
497497

498498
/// Specific MC selections
499-
int pdgIndex = -1;
500499
if constexpr (IS_MC) {
501500
if (keepOnlyPhysPrimary) {
502501
/// we want only physical primary particles
@@ -507,12 +506,10 @@ struct ItsImpactParStudies {
507506
if (keepOnlyPhysPrimary && particle.isPhysicalPrimary()) {
508507
continue;
509508
}
510-
pdgIndex = PDGtoIndex(std::abs(particle.pdgCode()));
511509
histograms.fill(HIST("MC/ptMC"), particle.pt());
512510
} else {
513511
if (track.has_mcParticle()) {
514512
auto particle = track.mcParticle();
515-
pdgIndex = PDGtoIndex(std::abs(particle.pdgCode()));
516513
histograms.fill(HIST("MC/ptMC"), particle.pt());
517514
}
518515
}

0 commit comments

Comments
 (0)