Skip to content

Commit

Permalink
particle names
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte committed Feb 13, 2024
1 parent 61c2ae0 commit 5b61dd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions L1Trigger/Phase2L1ParticleFlow/plugins/L1MetPfProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ void L1MetPfProducer::produce(edm::StreamID, edm::Event& iEvent, const edm::Even

int L1MetPfProducer::EncodePdgId(int pdgId) const {
switch (abs(pdgId)) {
case 211:
case 211: // charged hadron (pion)
return 1;
case 130:
case 130: // neutral hadron (kaon)
return 2;
case 22:
case 22: // photon
return 3;
case 13:
case 13: // muon
return 4;
case 11:
case 11: // electron
return 5;
default:
return 0;
Expand Down

0 comments on commit 5b61dd3

Please sign in to comment.