12 declareInterface<DerivationFramework::IAugmentationTool>(
this);
17 m_jetDR_SGKey = m_muonSGKey.key() +
"." + m_jetDR_SGKey.key();
19 return StatusCode::SUCCESS;
22 const EventContext& ctx = Gaudi::Hive::currentContext();
26 if (!muons.isValid()) {
27 ATH_MSG_FATAL(
"Failed to retrive container " << m_muonSGKey.fullKey());
28 return StatusCode::FAILURE;
31 if (!
jets.isValid()) {
33 return StatusCode::FAILURE;
37 for (
auto muon : *muons) {
38 double new_jetdR = FLT_MAX;
41 if (
jet->pt() <= m_jetMinPt)
continue;
45 decorator_jetdR(*
muon) =
found ? new_jetdR : -1;
47 return StatusCode::SUCCESS;