Skip to content

Commit

Permalink
Remove need for explicit type (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Jul 30, 2024
1 parent 3afec78 commit 38f0b7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RecCalorimeter/src/components/CreateTruthJet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ struct CreateTruthJet final
for (auto constit : constits) {
int index = constit.user_info<k4::recCalo::ClusterInfo>().index();

edm4hep::MutableMCRecoParticleAssociation association;
auto association = assoc.create();
association.setRec(jet);
association.setSim((input)[index]);
assoc.push_back(association);
}

edmJets.push_back(jet);
Expand Down

0 comments on commit 38f0b7b

Please sign in to comment.