#include <L1OffsetCorrectorImpl.h>
Public Types | |
typedef L1OffsetCorrectorImplMaker | 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... | |
L1OffsetCorrectorImpl (std::shared_ptr< FactorizedJetCorrectorCalculator const > calculator, int npv) | |
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_ |
int | npv_ |
Definition at line 35 of file L1OffsetCorrectorImpl.h.
Definition at line 38 of file L1OffsetCorrectorImpl.h.
L1OffsetCorrectorImpl::L1OffsetCorrectorImpl | ( | std::shared_ptr< FactorizedJetCorrectorCalculator const > | calculator, |
int | npv | ||
) |
Definition at line 63 of file L1OffsetCorrectorImpl.cc.
|
overridevirtual |
get correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 73 of file L1OffsetCorrectorImpl.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements reco::JetCorrectorImpl.
Definition at line 82 of file L1OffsetCorrectorImpl.cc.
References corrector_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), npv_, reco::LeafCandidate::pt(), query::result, FactorizedJetCorrectorCalculator::VariableValues::setJetE(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), FactorizedJetCorrectorCalculator::VariableValues::setNPV(), and makeHLTPrescaleTable::values.
|
inlineoverridevirtual |
if correction needs the jet reference
Implements reco::JetCorrectorImpl.
Definition at line 53 of file L1OffsetCorrectorImpl.h.
|
private |
Definition at line 57 of file L1OffsetCorrectorImpl.h.
Referenced by correction().
|
private |
Definition at line 58 of file L1OffsetCorrectorImpl.h.
Referenced by correction().