#include <L1OffsetCorrectorImpl.h>
Public Types | |
typedef L1OffsetCorrectorImplMaker | 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... | |
L1OffsetCorrectorImpl (std::shared_ptr< FactorizedJetCorrectorCalculator const > calculator, int npv) | |
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_ |
int | npv_ |
Definition at line 35 of file L1OffsetCorrectorImpl.h.
Definition at line 37 of file L1OffsetCorrectorImpl.h.
L1OffsetCorrectorImpl::L1OffsetCorrectorImpl | ( | std::shared_ptr< FactorizedJetCorrectorCalculator const > | calculator, |
int | npv | ||
) |
Definition at line 57 of file L1OffsetCorrectorImpl.cc.
|
overridevirtual |
get correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 64 of file L1OffsetCorrectorImpl.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 71 of file L1OffsetCorrectorImpl.cc.
References corrector_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), npv_, reco::LeafCandidate::pt(), mps_fire::result, and contentValuesCheck::values.
|
inlineoverridevirtual |
if correction needs the jet reference
Implements reco::JetCorrectorImpl.
Definition at line 51 of file L1OffsetCorrectorImpl.h.
|
private |
Definition at line 55 of file L1OffsetCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 56 of file L1OffsetCorrectorImpl.h.
Referenced by correction().