23 if (level ==
"L2Relative")
25 else if (level ==
"L3Absolute")
27 else if (level ==
"L4EMF")
29 else if (level ==
"L5Flavor")
31 else if (level ==
"L7Parton")
35 vector<JetCorrectorParameters> vParam;
36 vParam.push_back(fParam);
53 throw cms::Exception(
"Invalid jet type") <<
"L4EMFCorrection is applicable to CaloJets only";
63 return mCorrector->getCorrection(values);
75 values.setJetEta(fJet.
eta());
76 values.setJetPt(fJet.
pt());
78 result = mCorrector->getCorrection(values);
81 result = correction(fJet.
p4());
LXXXCorrector(const JetCorrectorParameters &fConfig, const edm::ParameterSet &fParameters)
Jets made from CaloTowers.
Base class for all types of Jets.
const Definitions & definitions() const
virtual double correction(const LorentzVector &fJet) const
get correction using Jet information only
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
void setJetEta(float fEta)
std::string level() const
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
float emEnergyFraction() const
reco::Particle::LorentzVector LorentzVector