#include <MuonJetDrTool.h>
|
| SG::ReadHandleKey< xAOD::MuonContainer > | m_muonSGKey {this, "ContainerKey", "Muons"} |
| |
| SG::ReadHandleKey< xAOD::JetContainer > | m_jetSGKey {this, "JetContainerKey", "AntiKt4EMTopoJets"} |
| |
| SG::WriteDecorHandleKey< xAOD::MuonContainer > | m_jetDR_SGKey {this, "dRDecoration", m_muonSGKey, "DFCommonJetDr"} |
| |
| Gaudi::Property< float > | m_jetMinPt {this, "JetMinPt", 20.e3, "Minimal pt cut of the jets to be considered"} |
| |
Definition at line 21 of file MuonJetDrTool.h.
◆ addBranches()
| StatusCode DerivationFramework::MuonJetDrTool::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 19 of file MuonJetDrTool.cxx.
23 if (!muons.isValid()) {
25 return StatusCode::FAILURE;
28 if (!
jets.isValid()) {
30 return StatusCode::FAILURE;
34 for (
auto muon : *muons) {
35 double new_jetdR = FLT_MAX;
42 decorator_jetdR(*
muon) =
found ? new_jetdR : -1;
44 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode DerivationFramework::MuonJetDrTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_jetDR_SGKey
◆ m_jetMinPt
| Gaudi::Property<float> DerivationFramework::MuonJetDrTool::m_jetMinPt {this, "JetMinPt", 20.e3, "Minimal pt cut of the jets to be considered"} |
|
private |
◆ m_jetSGKey
◆ m_muonSGKey
The documentation for this class was generated from the following files:
double deltaR(double rapidity1, double phi1, double rapidity2, double phi2)
from bare bare rapidity,phi