Go to the documentation of this file. 1 #ifndef JERESProducer_h
2 #define JERESProducer_h
32 return std::make_unique<JME::JetResolution>(iRecord.
get(
token_));
49 return std::make_unique<JME::JetResolutionScaleFactor>(iRecord.
get(
token_));
~JetResolutionESProducer() override
~JetResolutionScaleFactorESProducer() override
JetResolutionScaleFactorESProducer(edm::ParameterSet const &fConfig)
std::unique_ptr< JME::JetResolution > produce(JetResolutionRcd const &iRecord)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::unique_ptr< JME::JetResolutionScaleFactor > produce(JetResolutionScaleFactorRcd const &iRecord)
edm::ESGetToken< JME::JetResolutionObject, JetResolutionRcd > token_
edm::ESGetToken< JME::JetResolutionObject, JetResolutionScaleFactorRcd > token_
T getParameter(std::string const &) const
JetResolutionESProducer(edm::ParameterSet const &fConfig)
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const