File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1582,17 +1582,17 @@ struct StrangenessInJetsIons {
15821582 }
15831583 break ;
15841584 case kXiMinus :
1585- if (particleOfInterestDict[ParticleOfInterest::kCascades ]) {
1585+ if (particleOfInterestDict[ParticleOfInterest::kCascades ] || calculateFeeddownMatrix ) {
15861586 registryMC.fill (HIST (" XiNeg_generated_MB" ), genMultiplicity, particle.pt ());
1587- if (hasReco) {
1587+ if (hasReco && particleOfInterestDict[ParticleOfInterest:: kCascades ] ) {
15881588 registryMC.fill (HIST (" XiNeg_generated_w_reco_MB" ), genMultiplicity, particle.pt ());
15891589 }
15901590 }
15911591 break ;
15921592 case kXiPlusBar :
15931593 if (particleOfInterestDict[ParticleOfInterest::kCascades ] || calculateFeeddownMatrix) {
15941594 registryMC.fill (HIST (" XiPos_generated_MB" ), genMultiplicity, particle.pt ());
1595- if (hasReco) {
1595+ if (hasReco && particleOfInterestDict[ParticleOfInterest:: kCascades ] ) {
15961596 registryMC.fill (HIST (" XiPos_generated_w_reco_MB" ), genMultiplicity, particle.pt ());
15971597 }
15981598 }
You can’t perform that action at this time.
0 commit comments