#include <L6SLBCorrectorImpl.h>
Public Types | |
typedef L6SLBCorrectorImplMaker | Maker |
Public Types inherited from reco::JetCorrectorImpl | |
typedef reco::Particle::LorentzVector | LorentzVector |
Public Member Functions | |
double | correction (const LorentzVector &fJet) const override |
apply correction using Jet information only More... | |
double | correction (const reco::Jet &fJet) const override |
apply correction using Jet information only More... | |
double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &refToRawJet) const override |
apply correction using all event information More... | |
L6SLBCorrectorImpl (std::shared_ptr< FactorizedJetCorrectorCalculator const > corrector, edm::RefProd< std::vector< reco::SoftLeptonTagInfo >> const &bTagInfoMuon, edm::RefProd< std::vector< reco::SoftLeptonTagInfo >> const &bTagInfoElec, bool addMuonToJet) | |
bool | refRequired () const override |
if correction needs the jet reference More... | |
Public Member Functions inherited from reco::JetCorrectorImpl | |
virtual double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, LorentzVector &corrected) const |
Apply vectorial correction. More... | |
JetCorrectorImpl () | |
virtual bool | vectorialCorrection () const |
if vectorial correction is provided More... | |
virtual | ~JetCorrectorImpl () |
Private Member Functions | |
int | getBTagInfoIndex (const edm::RefToBase< reco::Jet > &refToRawJet, const std::vector< reco::SoftLeptonTagInfo > &tags) const |
Private Attributes | |
bool | addMuonToJet_ |
edm::RefProd< std::vector< reco::SoftLeptonTagInfo > > | bTagInfoElec_ |
edm::RefProd< std::vector< reco::SoftLeptonTagInfo > > | bTagInfoMuon_ |
std::shared_ptr< FactorizedJetCorrectorCalculator const > | corrector_ |
Definition at line 40 of file L6SLBCorrectorImpl.h.
Definition at line 46 of file L6SLBCorrectorImpl.h.
L6SLBCorrectorImpl::L6SLBCorrectorImpl | ( | std::shared_ptr< FactorizedJetCorrectorCalculator const > | corrector, |
edm::RefProd< std::vector< reco::SoftLeptonTagInfo >> const & | bTagInfoMuon, | ||
edm::RefProd< std::vector< reco::SoftLeptonTagInfo >> const & | bTagInfoElec, | ||
bool | addMuonToJet | ||
) |
Definition at line 72 of file L6SLBCorrectorImpl.cc.
|
overridevirtual |
apply correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 88 of file L6SLBCorrectorImpl.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 97 of file L6SLBCorrectorImpl.cc.
References Exception.
|
overridevirtual |
apply correction using all event information
Reimplemented from reco::JetCorrectorImpl.
Definition at line 106 of file L6SLBCorrectorImpl.cc.
References addMuonToJet_, bTagInfoElec_, bTagInfoMuon_, corrector_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), getBTagInfoIndex(), reco::TemplatedSoftLeptonTagInfo< REF >::lepton(), reco::TemplatedSoftLeptonTagInfo< REF >::leptons(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), FactorizedJetCorrectorCalculator::VariableValues::setAddLepToJet(), FactorizedJetCorrectorCalculator::VariableValues::setJetE(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPhi(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), FactorizedJetCorrectorCalculator::VariableValues::setLepPx(), FactorizedJetCorrectorCalculator::VariableValues::setLepPy(), FactorizedJetCorrectorCalculator::VariableValues::setLepPz(), and MuonErrorMatrixValues_cff::values.
|
private |
Definition at line 146 of file L6SLBCorrectorImpl.cc.
References edm::RefToBase< T >::get(), mps_fire::i, and metsig::jet.
Referenced by correction().
|
inlineoverridevirtual |
if correction needs the jet reference
Implements reco::JetCorrectorImpl.
Definition at line 66 of file L6SLBCorrectorImpl.h.
|
private |
Definition at line 85 of file L6SLBCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 84 of file L6SLBCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 83 of file L6SLBCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 82 of file L6SLBCorrectorImpl.h.
Referenced by correction().