#include <LXXXCorrector.h>
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... | |
bool | eventRequired () const override |
if correction needs event information More... | |
LXXXCorrector (const JetCorrectorParameters &fConfig, const edm::ParameterSet &fParameters) | |
bool | refRequired () const override |
if correction needs the jet reference More... | |
~LXXXCorrector () override | |
Public Member Functions inherited from JetCorrector | |
virtual double | correction (const reco::Jet &fJet, const edm::Event &fEvent, const edm::EventSetup &fSetup) const |
apply correction using all event information More... | |
virtual double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup) const |
apply correction using all event information More... | |
virtual double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup, LorentzVector &corrected) const |
Apply vectorial correction using all event information. More... | |
JetCorrector () | |
virtual bool | vectorialCorrection () const |
if vectorial correction is provided More... | |
virtual | ~JetCorrector () |
Private Attributes | |
FactorizedJetCorrectorCalculator * | mCorrector |
unsigned | mLevel |
Additional Inherited Members | |
Public Types inherited from JetCorrector | |
typedef reco::Particle::LorentzVector | LorentzVector |
Static Public Member Functions inherited from JetCorrector | |
static const JetCorrector * | getJetCorrector (const std::string &fName, const edm::EventSetup &fSetup) |
retrieve corrector from the event setup. troughs exception if something is missing More... | |
Definition at line 15 of file LXXXCorrector.h.
LXXXCorrector::LXXXCorrector | ( | const JetCorrectorParameters & | fConfig, |
const edm::ParameterSet & | fParameters | ||
) |
Definition at line 19 of file LXXXCorrector.cc.
References JetCorrectorParameters::definitions(), Exception, personalPlayback::level, and JetCorrectorParameters::Definitions::level().
|
override |
Definition at line 42 of file LXXXCorrector.cc.
|
overridevirtual |
get correction using Jet information only
Implements JetCorrector.
Definition at line 46 of file LXXXCorrector.cc.
References Exception, FactorizedJetCorrectorCalculator::VariableValues::setJetE(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPhi(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), and contentValuesCheck::values.
|
overridevirtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 64 of file LXXXCorrector.cc.
References pfMETCorrectionType0_cfi::correction, reco::CaloJet::emEnergyFraction(), reco::LeafCandidate::eta(), reco::LeafCandidate::p4(), reco::LeafCandidate::pt(), mps_fire::result, FactorizedJetCorrectorCalculator::VariableValues::setJetEMF(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), and contentValuesCheck::values.
|
inlineoverridevirtual |
if correction needs event information
Implements JetCorrector.
Definition at line 30 of file LXXXCorrector.h.
|
inlineoverridevirtual |
if correction needs the jet reference
Implements JetCorrector.
Definition at line 33 of file LXXXCorrector.h.
|
private |
Definition at line 38 of file LXXXCorrector.h.
|
private |
Definition at line 37 of file LXXXCorrector.h.