#include <L1JPTOffsetCorrectorImpl.h>
Public Member Functions | |
L1JPTOffsetCorrectorImplMaker (edm::ParameterSet const &, edm::ConsumesCollector) | |
std::unique_ptr< reco::JetCorrectorImpl > | make (edm::Event const &, edm::EventSetup const &) |
Public Member Functions inherited from JetCorrectorImplMakerBase | |
JetCorrectorImplMakerBase (edm::ParameterSet const &) | |
virtual | ~JetCorrectorImplMakerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &iDescriptions) |
Static Public Member Functions inherited from JetCorrectorImplMakerBase | |
static void | addToDescription (edm::ParameterSetDescription &iDescription) |
Private Attributes | |
edm::EDGetTokenT< reco::JetCorrector > | offsetCorrectorToken_ |
bool | useOffset_ |
Additional Inherited Members | |
Protected Member Functions inherited from JetCorrectorImplMakerBase | |
std::shared_ptr< FactorizedJetCorrectorCalculator const > | getCalculator (edm::EventSetup const &, std::function< void(std::string const &)> levelCheck) |
Definition at line 24 of file L1JPTOffsetCorrectorImpl.h.
L1JPTOffsetCorrectorImplMaker::L1JPTOffsetCorrectorImplMaker | ( | edm::ParameterSet const & | fConfig, |
edm::ConsumesCollector | fCollector | ||
) |
Definition at line 23 of file L1JPTOffsetCorrectorImpl.cc.
References edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), offsetCorrectorToken_, JetCorrectionServices_cff::offsetService, and useOffset_.
|
static |
Definition at line 49 of file L1JPTOffsetCorrectorImpl.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), and JetCorrectorImplMakerBase::addToDescription().
std::unique_ptr< reco::JetCorrectorImpl > L1JPTOffsetCorrectorImplMaker::make | ( | edm::Event const & | fEvent, |
edm::EventSetup const & | fSetup | ||
) |
Definition at line 33 of file L1JPTOffsetCorrectorImpl.cc.
References Exception, edm::Event::getByToken(), JetCorrectorImplMakerBase::getCalculator(), personalPlayback::level, hltrates_dqm_sourceclient-live_cfg::offset, offsetCorrectorToken_, AlCaHLTBitMon_QueryRunRegistry::string, and useOffset_.
|
private |
Definition at line 32 of file L1JPTOffsetCorrectorImpl.h.
Referenced by L1JPTOffsetCorrectorImplMaker(), and make().
|
private |
Definition at line 33 of file L1JPTOffsetCorrectorImpl.h.
Referenced by L1JPTOffsetCorrectorImplMaker(), and make().