We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b4629b commit 10f63f7Copy full SHA for 10f63f7
DPG/Tasks/ITS/itsImpParStudies.cxx
@@ -496,7 +496,6 @@ struct ItsImpactParStudies {
496
}
497
498
/// Specific MC selections
499
- int pdgIndex = -1;
500
if constexpr (IS_MC) {
501
if (keepOnlyPhysPrimary) {
502
/// we want only physical primary particles
@@ -507,12 +506,10 @@ struct ItsImpactParStudies {
507
506
if (keepOnlyPhysPrimary && particle.isPhysicalPrimary()) {
508
continue;
509
510
- pdgIndex = PDGtoIndex(std::abs(particle.pdgCode()));
511
histograms.fill(HIST("MC/ptMC"), particle.pt());
512
} else {
513
if (track.has_mcParticle()) {
514
auto particle = track.mcParticle();
515
516
517
518
0 commit comments