#include <MuonJetDrTool.h>
Definition at line 21 of file MuonJetDrTool.h.
◆ MuonJetDrTool()
| DerivationFramework::MuonJetDrTool::MuonJetDrTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~MuonJetDrTool()
| DerivationFramework::MuonJetDrTool::~MuonJetDrTool |
( |
| ) |
|
|
default |
◆ addBranches()
| StatusCode DerivationFramework::MuonJetDrTool::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 20 of file MuonJetDrTool.cxx.
24 if (!muons.isValid()) {
26 return StatusCode::FAILURE;
29 if (!
jets.isValid()) {
31 return StatusCode::FAILURE;
35 for (
auto muon : *muons) {
36 double new_jetdR = FLT_MAX;
43 decorator_jetdR(*
muon) =
found ? new_jetdR : -1;
45 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode DerivationFramework::MuonJetDrTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ 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