#include <L1OffsetCorrector.h>
Public Member Functions | |
virtual double | correction (const LorentzVector &fJet) const |
get correction using Jet information only More... | |
virtual double | correction (const reco::Jet &fJet) const |
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 bool | eventRequired () const |
if correction needs event information More... | |
L1OffsetCorrector (const JetCorrectorParameters &fConfig, const edm::ParameterSet &fParameters) | |
virtual bool | refRequired () const |
if correction needs the jet reference More... | |
virtual | ~L1OffsetCorrector () |
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 * | mCorrector |
int | mMinVtxNdof |
std::string | mVertexCollName |
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 L1OffsetCorrector.h.
L1OffsetCorrector::L1OffsetCorrector | ( | const JetCorrectorParameters & | fConfig, |
const edm::ParameterSet & | fParameters | ||
) |
Definition at line 22 of file L1OffsetCorrector.cc.
References JetCorrectorParameters::definitions(), edm::ParameterSet::getParameter(), JetCorrectorParameters::Definitions::level(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 35 of file L1OffsetCorrector.cc.
|
virtual |
get correction using Jet information only
Implements JetCorrector.
Definition at line 42 of file L1OffsetCorrector.cc.
References edm::hlt::Exception.
|
virtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 51 of file L1OffsetCorrector.cc.
References edm::hlt::Exception.
|
virtual |
apply correction using all event information
Reimplemented from JetCorrector.
Definition at line 60 of file L1OffsetCorrector.cc.
References reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), edm::Event::getByLabel(), reco::LeafCandidate::pt(), query::result, FactorizedJetCorrectorCalculator::VariableValues::setJetE(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), FactorizedJetCorrectorCalculator::VariableValues::setNPV(), and makeHLTPrescaleTable::values.
|
inlinevirtual |
if correction needs event information
Implements JetCorrector.
Definition at line 37 of file L1OffsetCorrector.h.
|
inlinevirtual |
if correction needs the jet reference
Implements JetCorrector.
Definition at line 40 of file L1OffsetCorrector.h.
|
private |
Definition at line 46 of file L1OffsetCorrector.h.
|
private |
Definition at line 45 of file L1OffsetCorrector.h.
|
private |
Definition at line 44 of file L1OffsetCorrector.h.