#include <ChainedJetCorrector.h>
Public Member Functions | |
ChainedJetCorrector () | |
void | clear () |
double | correction (const JetCorrector::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... | |
double | correction (const reco::Jet &fJet, const edm::Event &fEvent, const edm::EventSetup &fSetup) const override |
apply correction using all event information More... | |
double | correction (const reco::Jet &fJet, const edm::RefToBase< reco::Jet > &fJetRef, const edm::Event &fEvent, const edm::EventSetup &fSetup) const override |
apply correction using all event information and reference to the raw jet More... | |
bool | eventRequired () const override |
if correction needs event information More... | |
void | push_back (const JetCorrector *fCorrector) |
bool | refRequired () const override |
if correction needs jet reference More... | |
~ChainedJetCorrector () override | |
Public Member Functions inherited from JetCorrector | |
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 | |
std::vector< const JetCorrector * > | mCorrectors |
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 ChainedJetCorrector.h.
|
inline |
Definition at line 18 of file ChainedJetCorrector.h.
|
inlineoverride |
Definition at line 19 of file ChainedJetCorrector.h.
References correction(), eventRequired(), hcaldqm::fEvent, and refRequired().
|
inline |
Definition at line 35 of file ChainedJetCorrector.h.
References mCorrectors.
|
overridevirtual |
get correction using Jet information only
Implements JetCorrector.
Definition at line 10 of file ChainedJetCorrector.cc.
References mps_fire::i, metsig::jet, mCorrectors, mps_fire::result, and Scenarios_cff::scale.
Referenced by ~ChainedJetCorrector().
|
overridevirtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 23 of file ChainedJetCorrector.cc.
References reco::CompositePtrCandidate::clone(), mps_fire::i, metsig::jet, mCorrectors, mps_fire::result, and Scenarios_cff::scale.
|
overridevirtual |
apply correction using all event information
Reimplemented from JetCorrector.
Definition at line 36 of file ChainedJetCorrector.cc.
References reco::CompositePtrCandidate::clone(), mps_fire::i, metsig::jet, mCorrectors, mps_fire::result, and Scenarios_cff::scale.
|
overridevirtual |
apply correction using all event information and reference to the raw jet
Reimplemented from JetCorrector.
Definition at line 50 of file ChainedJetCorrector.cc.
References reco::CompositePtrCandidate::clone(), mps_fire::i, metsig::jet, mCorrectors, mps_fire::result, and Scenarios_cff::scale.
|
overridevirtual |
if correction needs event information
Implements JetCorrector.
Definition at line 66 of file ChainedJetCorrector.cc.
References mps_fire::i, and mCorrectors.
Referenced by ~ChainedJetCorrector().
|
inline |
Definition at line 34 of file ChainedJetCorrector.h.
References mCorrectors.
|
overridevirtual |
if correction needs jet reference
Implements JetCorrector.
Definition at line 75 of file ChainedJetCorrector.cc.
References mps_fire::i, and mCorrectors.
Referenced by ~ChainedJetCorrector().
|
private |
Definition at line 38 of file ChainedJetCorrector.h.
Referenced by clear(), correction(), eventRequired(), push_back(), and refRequired().