#include <JetCorrector.h>
Public Types | |
typedef reco::Particle::LorentzVector | LorentzVector |
Public Member Functions | |
virtual double | correction (const LorentzVector &fJet) const =0 |
get correction using Jet information only More... | |
virtual double | correction (const reco::Jet &fJet) const =0 |
apply correction using Jet information only More... | |
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... | |
virtual bool | eventRequired () const =0 |
if correction needs event information More... | |
JetCorrector () | |
virtual bool | refRequired () const =0 |
if correction needs the jet reference More... | |
virtual bool | vectorialCorrection () const |
if vectorial correction is provided More... | |
virtual | ~JetCorrector () |
Static Public Member Functions | |
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 19 of file JetCorrector.h.
Definition at line 23 of file JetCorrector.h.
|
inline |
Definition at line 25 of file JetCorrector.h.
|
inlinevirtual |
Definition at line 26 of file JetCorrector.h.
|
pure virtual |
get correction using Jet information only
Implemented in L6SLBCorrector, L1FastjetCorrector, L1JPTOffsetCorrector, L1OffsetCorrector, JetPartonCorrector, LXXXCorrector, ChainedJetCorrector, and TauJetCorrector.
Referenced by CMSDAS11DijetAnalyzer::analyze(), DiJetAnalyzer::analyze(), GammaJetAnalysis::analyze(), L1JPTOffsetCorrector::correction(), correction(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), NoPileUpPFMEtDataProducer::produce(), SelectionStepHLT< Object >::select(), and SelectionStep< Object >::select().
|
pure virtual |
apply correction using Jet information only
Implemented in L6SLBCorrector, L1FastjetCorrector, L1JPTOffsetCorrector, L1OffsetCorrector, LXXXCorrector, ChainedJetCorrector, and TauJetCorrector.
|
virtual |
apply correction using all event information
Reimplemented in L1JPTOffsetCorrector, L1OffsetCorrector, L1FastjetCorrector, and ChainedJetCorrector.
Definition at line 14 of file JetCorrector.cc.
References correction(), eventRequired(), and refRequired().
|
virtual |
apply correction using all event information
Reimplemented in L6SLBCorrector, and ChainedJetCorrector.
Definition at line 25 of file JetCorrector.cc.
References correction(), eventRequired(), and refRequired().
|
virtual |
Apply vectorial correction using all event information.
Definition at line 37 of file JetCorrector.cc.
References correction(), and vectorialCorrection().
|
pure virtual |
if correction needs event information
Implemented in L6SLBCorrector, L1JPTOffsetCorrector, L1OffsetCorrector, L1FastjetCorrector, LXXXCorrector, JetPartonCorrector, ChainedJetCorrector, and TauJetCorrector.
Referenced by correction().
|
static |
retrieve corrector from the event setup. troughs exception if something is missing
Definition at line 50 of file JetCorrector.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), patZpeak::handle, and record.
Referenced by FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), CMSDAS11DijetAnalyzer::analyze(), CMSDAS11DijetTestAnalyzer::analyze(), JetCorExample< Jet >::analyze(), calcTopMass::analyze(), DiJetAnalyzer::analyze(), GammaJetAnalysis::analyze(), L1JPTOffsetCorrector::correction(), HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), NoPileUpPFMEtDataProducer::produce(), SelectionStepHLT< Object >::select(), and SelectionStep< Object >::select().
|
pure virtual |
if correction needs the jet reference
Implemented in L6SLBCorrector, L1OffsetCorrector, L1FastjetCorrector, L1JPTOffsetCorrector, LXXXCorrector, and ChainedJetCorrector.
Referenced by correction().
|
inlinevirtual |
if vectorial correction is provided
Definition at line 66 of file JetCorrector.h.
Referenced by CMSDAS11DijetTestAnalyzer::analyze(), and correction().