#include <JetResolution.h>
Public Types | |
using | Token = edm::ESGetToken< JetResolutionObject, JetResolutionScaleFactorRcd > |
Public Member Functions | |
void | dump () const |
const JetResolutionObject * | getResolutionObject () const |
float | getScaleFactor (const JetParameters ¶meters, Variation variation=Variation::NOMINAL, std::string uncertaintySource="") const |
JetResolutionScaleFactor (const std::string &filename) | |
JetResolutionScaleFactor (const JetResolutionObject &object) | |
JetResolutionScaleFactor () | |
Static Public Member Functions | |
static const JetResolutionScaleFactor | get (const edm::EventSetup &, const Token &) |
Private Attributes | |
std::shared_ptr< JetResolutionObject > | m_object |
Definition at line 45 of file JetResolution.h.
using JME::JetResolutionScaleFactor::Token = edm::ESGetToken<JetResolutionObject, JetResolutionScaleFactorRcd> |
Definition at line 54 of file JetResolution.h.
JME::JetResolutionScaleFactor::JetResolutionScaleFactor | ( | const std::string & | filename | ) |
Definition at line 36 of file JetResolution.cc.
References corrVsCorr::filename, and m_object.
JME::JetResolutionScaleFactor::JetResolutionScaleFactor | ( | const JetResolutionObject & | object | ) |
Definition at line 40 of file JetResolution.cc.
References m_object, and resolutioncreator_cfi::object.
|
inline |
Definition at line 49 of file JetResolution.h.
|
inline |
Definition at line 62 of file JetResolution.h.
References m_object.
|
static |
Definition at line 45 of file JetResolution.cc.
References singleTopDQM_cfi::setup, and unpackBuffers-CaloStage2::token.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), JetResolutionDemo::analyze(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), cms::METSignificanceProducer::produce(), and SmearedJetProducerT< T >::produce().
|
inline |
Definition at line 65 of file JetResolution.h.
References m_object.
float JME::JetResolutionScaleFactor::getScaleFactor | ( | const JetParameters & | parameters, |
Variation | variation = Variation::NOMINAL , |
||
std::string | uncertaintySource = "" |
||
) | const |
Definition at line 50 of file JetResolution.cc.
References HLT_2022v15_cff::distance, DOWN, Exception, spr::find(), m_object, pfMETsysShiftCorrections_cfi::parameter, AlCaHarvesting_cff::record, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, UP, and patPFMETCorrections_cff::variation.
Referenced by JetResolutionDemo::analyze(), and SmearedJetProducerT< T >::produce().
|
private |
Definition at line 68 of file JetResolution.h.
Referenced by dump(), getResolutionObject(), getScaleFactor(), and JetResolutionScaleFactor().