#include <JetPartonCorrector.h>
Public Member Functions | |
virtual double | correction (const LorentzVector &fJet) const |
get correction using Jet information only More... | |
virtual bool | eventRequired () const |
if correction needs event information More... | |
JetPartonCorrector (const edm::ParameterSet &fConfig) | |
void | setParameters (std::string aCalibrationType, double aJetFinderRadius, int aPartonMixture) |
virtual | ~JetPartonCorrector () |
Public Member Functions inherited from JetCorrector | |
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 () |
Private Types | |
typedef std::map< double, JetPartonNamespace::ParametrizationJetParton * > | ParametersMap |
Private Attributes | |
ParametersMap | parametrization |
double | theJetFinderRadius |
int | thePartonMixture |
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 21 of file JetPartonCorrector.h.
|
private |
Definition at line 36 of file JetPartonCorrector.h.
JetPartonCorrector::JetPartonCorrector | ( | const edm::ParameterSet & | fConfig | ) |
Definition at line 146 of file JetPartonCorrector.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 153 of file JetPartonCorrector.cc.
|
virtual |
get correction using Jet information only
Implements JetCorrector.
Definition at line 192 of file JetPartonCorrector.cc.
References gather_cfg::cout, eta, and edm::second().
|
inlinevirtual |
if correction needs event information
Implements JetCorrector.
Definition at line 32 of file JetPartonCorrector.h.
void JetPartonCorrector::setParameters | ( | std::string | aCalibrationType, |
double | aJetFinderRadius, | ||
int | aPartonMixture | ||
) |
Definition at line 158 of file JetPartonCorrector.cc.
References JetPartonNamespace::JetPartonCalibrationParameterSet::eta(), JetPartonNamespace::JetPartonCalibrationParameterSet::neta(), JetPartonNamespace::JetPartonCalibrationParameterSet::parameters(), edm::second(), JetPartonNamespace::JetPartonCalibrationParameterSet::type(), and JetPartonNamespace::JetPartonCalibrationParameterSet::valid().
|
private |
Definition at line 37 of file JetPartonCorrector.h.
|
private |
Definition at line 39 of file JetPartonCorrector.h.
|
private |
Definition at line 38 of file JetPartonCorrector.h.