Skip to content

Commit d2d6f6b

Browse files
authored
Update hadronnucleicorrelation.cxx
1 parent a5f1a9e commit d2d6f6b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎PWGLF/Tasks/Nuspex/hadronnucleicorrelation.cxx‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,10 +1752,9 @@ struct HadronNucleiCorrelation {
17521752
}
17531753
}
17541754

1755-
if (std::abs(particle.eta()) > etaCut) {
1756-
continue;
1755+
if (std::abs(particle.eta()) < etaCut) {
1756+
fillGeneratedQa(2.5);
17571757
}
1758-
fillGeneratedQa(2.5);
17591758

17601759
// (anti)neutrons are accepted by fillGeneratedQa for QA counting only: they have no
17611760
// eta-phi-pt histogram and must not reach the switch below (whose default is fatal)
@@ -1778,9 +1777,6 @@ struct HadronNucleiCorrelation {
17781777
case -o2::constants::physics::Pdg::kDeuteron:
17791778
registry.fill(HIST("hGen_EtaPhiPt_Deuteron"), particle.eta(), particle.phi(), -1. * particle.pt());
17801779
break;
1781-
case PDG_t::kNeutron:
1782-
case -PDG_t::kNeutron:
1783-
break;
17841780
default:
17851781
LOG(fatal) << "Unhandled PDG code, should not happen, check the code! " << particle.pdgCode();
17861782
break;

0 commit comments

Comments
 (0)