Skip to content

Commit

Permalink
Switch to non-deprecated function (#118)
Browse files Browse the repository at this point in the history
tmadlener authored Mar 11, 2024
1 parent ec61c34 commit f238182
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
@@ -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();

0 comments on commit f238182

Please sign in to comment.