32 : addMuonToJet_(fConfig.getParameter<bool>(
"addMuonToJet"))
33 , srcBTagInfoElec_(fConfig.getParameter<edm::
InputTag>(
"srcBTagInfoElectron"))
34 , srcBTagInfoMuon_(fConfig.getParameter<edm::
InputTag>(
"srcBTagInfoMuon"))
37 vector<JetCorrectorParameters> vParam;
38 vParam.push_back(fParam);
57 <<
"Wrong interface correction(LorentzVector), event required!";
66 <<
"Wrong interface correction(reco::Jet), event required!";
120 const vector<reco::SoftLeptonTagInfo>&
tags)
123 for (
unsigned int i=0;
i<tags.size();
i++)
124 if (tags[
i].
jet().get()==refToRawJet.
get())
return i;
const REF & lepton(size_t i) const
value_type const * get() const
virtual double correction(const LorentzVector &fJet) const
apply correction using Jet information only
Base class for all types of Jets.
void setLepPx(float fLepPx)
double px() const
x coordinate of momentum vector
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
void setLepPz(float fLepPz)
void setJetEta(float fEta)
FactorizedJetCorrectorCalculator * corrector_
virtual double energy() const
energy
L6SLBCorrector(const JetCorrectorParameters &fParam, const edm::ParameterSet &fConfig)
virtual ~L6SLBCorrector()
edm::InputTag srcBTagInfoMuon_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
double pz() const
z coordinate of momentum vector
int getBTagInfoIndex(const edm::RefToBase< reco::Jet > &refToRawJet, const std::vector< reco::SoftLeptonTagInfo > &tags) const
edm::InputTag srcBTagInfoElec_
void setAddLepToJet(bool fAddLepToJet)
void setLepPy(float fLepPy)
float getCorrection(VariableValues &) const
virtual double phi() const
momentum azimuthal angle
unsigned int leptons(void) const
double py() const
y coordinate of momentum vector
reco::Particle::LorentzVector LorentzVector