#include <L6SLBCorrector.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::RefToBase< reco::Jet > &refToRawJet, 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... | |
L6SLBCorrector (const JetCorrectorParameters &fParam, const edm::ParameterSet &fConfig) | |
bool | refRequired () const override |
if correction needs the jet reference More... | |
~L6SLBCorrector () 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, 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 Member Functions | |
int | getBTagInfoIndex (const edm::RefToBase< reco::Jet > &refToRawJet, const std::vector< reco::SoftLeptonTagInfo > &tags) const |
Private Attributes | |
bool | addMuonToJet_ |
FactorizedJetCorrectorCalculator * | corrector_ |
edm::InputTag | srcBTagInfoElec_ |
edm::InputTag | srcBTagInfoMuon_ |
std::string | tagName_ |
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 18 of file L6SLBCorrector.h.
L6SLBCorrector::L6SLBCorrector | ( | const JetCorrectorParameters & | fParam, |
const edm::ParameterSet & | fConfig | ||
) |
Definition at line 28 of file L6SLBCorrector.cc.
References corrector_.
|
override |
Definition at line 39 of file L6SLBCorrector.cc.
References corrector_.
|
overridevirtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 46 of file L6SLBCorrector.cc.
References Exception.
|
overridevirtual |
apply correction using Jet information only
Implements JetCorrector.
Definition at line 52 of file L6SLBCorrector.cc.
References Exception.
|
overridevirtual |
apply correction using all event information
Reimplemented from JetCorrector.
Definition at line 58 of file L6SLBCorrector.cc.
References addMuonToJet_, corrector_, reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), getBTagInfoIndex(), edm::Event::getByLabel(), FactorizedJetCorrectorCalculator::getCorrection(), reco::TemplatedSoftLeptonTagInfo< REF >::lepton(), reco::TemplatedSoftLeptonTagInfo< REF >::leptons(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), FactorizedJetCorrectorCalculator::VariableValues::setAddLepToJet(), FactorizedJetCorrectorCalculator::VariableValues::setJetE(), FactorizedJetCorrectorCalculator::VariableValues::setJetEta(), FactorizedJetCorrectorCalculator::VariableValues::setJetPhi(), FactorizedJetCorrectorCalculator::VariableValues::setJetPt(), FactorizedJetCorrectorCalculator::VariableValues::setLepPx(), FactorizedJetCorrectorCalculator::VariableValues::setLepPy(), FactorizedJetCorrectorCalculator::VariableValues::setLepPz(), srcBTagInfoElec_, srcBTagInfoMuon_, and makeHLTPrescaleTable::values.
|
inlineoverridevirtual |
if correction needs event information
Implements JetCorrector.
Definition at line 41 of file L6SLBCorrector.h.
|
private |
Definition at line 100 of file L6SLBCorrector.cc.
References edm::RefToBase< T >::get(), mps_fire::i, and metsig::jet.
Referenced by correction().
|
inlineoverridevirtual |
if correction needs the jet reference
Implements JetCorrector.
Definition at line 44 of file L6SLBCorrector.h.
|
private |
Definition at line 58 of file L6SLBCorrector.h.
Referenced by correction().
|
private |
Definition at line 61 of file L6SLBCorrector.h.
Referenced by correction(), L6SLBCorrector(), and ~L6SLBCorrector().
|
private |
Definition at line 59 of file L6SLBCorrector.h.
Referenced by correction().
|
private |
Definition at line 60 of file L6SLBCorrector.h.
Referenced by correction().
|
private |
Definition at line 57 of file L6SLBCorrector.h.