#include <JetPartonCorrector.h>
|
double | correction (const LorentzVector &fJet) const override |
| get correction using Jet information only More...
|
|
bool | eventRequired () const override |
| if correction needs event information More...
|
|
| JetPartonCorrector (const edm::ParameterSet &fConfig) |
|
void | setParameters (std::string aCalibrationType, double aJetFinderRadius, int aPartonMixture) |
|
| ~JetPartonCorrector () override |
|
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...
|
|
| 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 () |
|
Definition at line 21 of file JetPartonCorrector.h.
◆ ParametersMap
◆ JetPartonCorrector()
◆ ~JetPartonCorrector()
JetPartonCorrector::~JetPartonCorrector |
( |
| ) |
|
|
override |
◆ correction()
double JetPartonCorrector::correction |
( |
const LorentzVector & |
fJet | ) |
const |
|
overridevirtual |
get correction using Jet information only
Implements JetCorrector.
Definition at line 197 of file JetPartonCorrector.cc.
202 double et = fJet.Et();
203 double eta = fabs(fJet.Eta());
208 std::map<double, JetPartonNamespace::ParametrizationJetParton*>::const_iterator ip =
parametrization.upper_bound(
eta);
210 etnew = ip->second->value(
et,
eta);
214 double eta2 = ip->first;
215 double et2 = ip->second->value(
et,
eta);
217 double eta1 = ip->first;
218 double et1 = ip->second->value(
et,
eta);
222 cout <<
" JetParton::The new energy found " << etnew <<
" " <<
et << endl;
223 float mScale = 1000.;
References gather_cfg::cout, EgHLTOffHistBins_cfi::et, PVValHelper::eta, HLT_FULL_cff::eta1, HLT_FULL_cff::eta2, stringResolutionProvider_cfi::parametrization, and edm::second().
◆ eventRequired()
bool JetPartonCorrector::eventRequired |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setParameters()
void JetPartonCorrector::setParameters |
( |
std::string |
aCalibrationType, |
|
|
double |
aJetFinderRadius, |
|
|
int |
aPartonMixture |
|
) |
| |
◆ parametrization
◆ theJetFinderRadius
double JetPartonCorrector::theJetFinderRadius |
|
private |
◆ thePartonMixture
int JetPartonCorrector::thePartonMixture |
|
private |