Skip to content

Commit

Permalink
Switch to non-deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Feb 26, 2024
1 parent ec61c34 commit b0237f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converter/src/DelphesEDM4HepConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ namespace k4SimDelphes {
cand.setMass(delphesCand->P4().M());
// NOTE: Particle-Flow Neutral are either photons or K_L in Delphes
auto pid = (delphesCand->Ehad > 0.) ? 130 : 22;
cand.setType(pid); // NOTE: set PID of cluster consistent with mass
cand.setPDG(pid); // NOTE: set PID of cluster consistent with mass

// store position and time of neutral candidate in a CalorimeterHit
auto calorimeterHit = calorimeterHitColl->create();
Expand Down

0 comments on commit b0237f7

Please sign in to comment.