#include <L1JPTOffsetCorrectorImpl.h>
Public Types | |
typedef L1JPTOffsetCorrectorImplMaker | Maker |
Public Types inherited from reco::JetCorrectorImpl | |
typedef reco::Particle::LorentzVector | LorentzVector |
Public Member Functions | |
virtual double | correction (const LorentzVector &fJet) const override |
get correction using Jet information only More... | |
virtual double | correction (const reco::Jet &fJet) const override |
apply correction using Jet information only More... | |
L1JPTOffsetCorrectorImpl (std::shared_ptr< FactorizedJetCorrectorCalculator const > corrector, const reco::JetCorrector *offsetService) | |
virtual 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) const |
apply correction using Ref More... | |
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 Attributes | |
std::shared_ptr< FactorizedJetCorrectorCalculator const > | corrector_ |
const reco::JetCorrector * | offsetService_ |
Definition at line 37 of file L1JPTOffsetCorrectorImpl.h.
Definition at line 40 of file L1JPTOffsetCorrectorImpl.h.
L1JPTOffsetCorrectorImpl::L1JPTOffsetCorrectorImpl | ( | std::shared_ptr< FactorizedJetCorrectorCalculator const > | corrector, |
const reco::JetCorrector * | offsetService | ||
) |
Definition at line 65 of file L1JPTOffsetCorrectorImpl.cc.
|
overridevirtual |
get correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 78 of file L1JPTOffsetCorrectorImpl.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 87 of file L1JPTOffsetCorrectorImpl.cc.
References reco::JetCorrector::correction(), corrector_, reco::LeafCandidate::energy(), reco::JPTJet::getCaloJetRef(), PFRecoTauDiscriminationByIsolation_cfi::offset, offsetService_, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), mps_fire::result, and MuonErrorMatrixValues_cff::values.
|
inlineoverridevirtual |
if correction needs the jet reference
Implements reco::JetCorrectorImpl.
Definition at line 53 of file L1JPTOffsetCorrectorImpl.h.
|
private |
Definition at line 58 of file L1JPTOffsetCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 57 of file L1JPTOffsetCorrectorImpl.h.
Referenced by correction().