#include <L1JPTOffsetCorrectorImpl.h>
Public Types | |
typedef L1JPTOffsetCorrectorImplMaker | Maker |
Public Types inherited from reco::JetCorrectorImpl | |
typedef reco::Particle::LorentzVector | LorentzVector |
Public Member Functions | |
double | correction (const LorentzVector &fJet) const override |
get correction using Jet information only More... | |
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) | |
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 () | |
JetCorrectorImpl (const JetCorrectorImpl &)=delete | |
const JetCorrectorImpl & | operator= (const JetCorrectorImpl &)=delete |
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 39 of file L1JPTOffsetCorrectorImpl.h.
L1JPTOffsetCorrectorImpl::L1JPTOffsetCorrectorImpl | ( | std::shared_ptr< FactorizedJetCorrectorCalculator const > | corrector, |
const reco::JetCorrector * | offsetService | ||
) |
Definition at line 59 of file L1JPTOffsetCorrectorImpl.cc.
|
overridevirtual |
get correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 69 of file L1JPTOffsetCorrectorImpl.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 76 of file L1JPTOffsetCorrectorImpl.cc.
References runTheMatrix::const, reco::JetCorrector::correction(), corrector_, reco::LeafCandidate::energy(), reco::JPTJet::getCaloJetRef(), hltrates_dqm_sourceclient-live_cfg::offset, offsetService_, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), mps_fire::result, and makeHLTPrescaleTable::values.
|
inlineoverridevirtual |
if correction needs the jet reference
Implements reco::JetCorrectorImpl.
Definition at line 52 of file L1JPTOffsetCorrectorImpl.h.
|
private |
Definition at line 57 of file L1JPTOffsetCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 56 of file L1JPTOffsetCorrectorImpl.h.
Referenced by correction().