#include <L1FastjetCorrector.h>
Public Member Functions | |
double | correction (const LorentzVector &fJet) const override |
apply 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... | |
bool | eventRequired () const override |
if correction needs event information More... | |
L1FastjetCorrector (const JetCorrectorParameters &fParam, const edm::ParameterSet &fConfig) | |
bool | refRequired () const override |
if correction needs the jet reference More... | |
~L1FastjetCorrector () 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) 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 const * | mCorrector |
edm::InputTag | srcRho_ |
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 17 of file L1FastjetCorrector.h.
L1FastjetCorrector::L1FastjetCorrector | ( | const JetCorrectorParameters & | fParam, |
const edm::ParameterSet & | fConfig | ||
) |
Definition at line 23 of file L1FastjetCorrector.cc.
References JetCorrectorParameters::definitions(), JetCorrectorParameters::Definitions::level(), and mCorrector.
|
override |
Definition at line 34 of file L1FastjetCorrector.cc.
References mCorrector.
|
overridevirtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 45 of file L1FastjetCorrector.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 54 of file L1FastjetCorrector.cc.
References Exception.
|
overridevirtual |
apply correction using all event information
Reimplemented from JetCorrector.
Definition at line 63 of file L1FastjetCorrector.cc.
References reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), FactorizedJetCorrectorCalculator::getCorrection(), reco::Jet::jetArea(), mCorrector, reco::LeafCandidate::pt(), mps_fire::result, rho, FactorizedJetCorrectorCalculator::VariableValues::setJetA(), FactorizedJetCorrectorCalculator::VariableValues::setJetE(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), FactorizedJetCorrectorCalculator::VariableValues::setRho(), srcRho_, and MuonErrorMatrixValues_cff::values.
|
inlineoverridevirtual |
if correction needs event information
Implements JetCorrector.
Definition at line 36 of file L1FastjetCorrector.h.
|
inlineoverridevirtual |
if correction needs the jet reference
Implements JetCorrector.
Definition at line 39 of file L1FastjetCorrector.h.
|
private |
Definition at line 44 of file L1FastjetCorrector.h.
Referenced by correction(), L1FastjetCorrector(), and ~L1FastjetCorrector().
|
private |
Definition at line 43 of file L1FastjetCorrector.h.
Referenced by correction().