#include <JetResolutionObject.h>
Public Types | |
typedef std::unordered_map< Binning, float > | value_type |
Public Member Functions | |
std::vector< float > | createVector (const std::vector< Binning > &binning) const |
std::vector< float > | createVector (const std::vector< std::string > &binname) const |
JetParameters ()=default | |
JetParameters (JetParameters &&rhs) | |
JetParameters (std::initializer_list< typename value_type::value_type > init) | |
JetParameters & | set (const Binning &bin, float value) |
JetParameters & | set (const typename value_type::value_type &value) |
JetParameters & | setJetArea (float area) |
JetParameters & | setJetE (float e) |
JetParameters & | setJetEta (float eta) |
JetParameters & | setJetPt (float pt) |
JetParameters & | setMu (float mu) |
JetParameters & | setNPV (float npv) |
JetParameters & | setRho (float rho) |
Static Public Attributes | |
static const bimap< Binning, std::string > | binning_to_string |
Private Attributes | |
value_type | m_values |
Definition at line 90 of file JetResolutionObject.h.
typedef std::unordered_map<Binning, float> JME::JetParameters::value_type |
Definition at line 92 of file JetResolutionObject.h.
|
default |
JME::JetParameters::JetParameters | ( | JetParameters && | rhs | ) |
JME::JetParameters::JetParameters | ( | std::initializer_list< typename value_type::value_type > | init | ) |
std::vector< float > JME::JetParameters::createVector | ( | const std::vector< Binning > & | binning | ) | const |
Definition at line 116 of file JetResolutionObject.cc.
References newFWLiteAna::bin, pileupCalc::binning, binning_to_string, m_values, edm::errors::NotFound, JME::throwException(), and contentValuesCheck::values.
Referenced by JME::JetResolutionObject::evaluateFormula(), and JME::JetResolutionObject::getRecord().
std::vector< float > JME::JetParameters::createVector | ( | const std::vector< std::string > & | binname | ) | const |
Definition at line 134 of file JetResolutionObject.cc.
References binning_to_string, m_values, Skims_PA_cff::name, edm::errors::NotFound, JME::bimap< T, U >::right, JME::throwException(), and contentValuesCheck::values.
JetParameters & JME::JetParameters::set | ( | const Binning & | bin, |
float | value | ||
) |
Definition at line 100 of file JetResolutionObject.cc.
References newFWLiteAna::bin, JME::JetAbsEta, JME::JetEta, and m_values.
Referenced by JetResolutionDemo::analyze().
JetParameters & JME::JetParameters::set | ( | const typename value_type::value_type & | value | ) |
Definition at line 111 of file JetResolutionObject.cc.
JetParameters & JME::JetParameters::setJetArea | ( | float | area | ) |
Definition at line 80 of file JetResolutionObject.cc.
References custom_jme_cff::area, JME::JetArea, and m_values.
JetParameters & JME::JetParameters::setJetE | ( | float | e | ) |
Definition at line 75 of file JetResolutionObject.cc.
References MillePedeFileConverter_cfg::e, JME::JetE, and m_values.
JetParameters & JME::JetParameters::setJetEta | ( | float | eta | ) |
Definition at line 69 of file JetResolutionObject.cc.
References PVValHelper::eta, JME::JetAbsEta, JME::JetEta, and m_values.
Referenced by JetResolutionDemo::analyze(), JME::JetResolutionVsEta::fill(), JME::JetResolutionVsPt::fill(), JME::JetResolutionSummary::fill(), JME::JetResolutionCompare::fill(), JME::JetScaleFactorVsEta< ii >::fill(), JME::JetScaleFactorVsPt< ii >::fill(), JME::JetScaleFactorSummary::fill(), and JME::JetScaleFactorCompare::fill().
JetParameters & JME::JetParameters::setJetPt | ( | float | pt | ) |
Definition at line 64 of file JetResolutionObject.cc.
References JME::JetPt, m_values, and DiDispStaMuonMonitor_cfi::pt.
Referenced by JetResolutionDemo::analyze(), JME::JetResolutionVsEta::fill(), JME::JetResolutionVsPt::fill(), JME::JetResolutionSummary::fill(), JME::JetResolutionCompare::fill(), JME::JetScaleFactorVsEta< ii >::fill(), JME::JetScaleFactorVsPt< ii >::fill(), JME::JetScaleFactorSummary::fill(), and JME::JetScaleFactorCompare::fill().
JetParameters & JME::JetParameters::setMu | ( | float | mu | ) |
Definition at line 85 of file JetResolutionObject.cc.
References m_values, amptDefaultParameters_cff::mu, and JME::Mu.
JetParameters & JME::JetParameters::setNPV | ( | float | npv | ) |
JetParameters & JME::JetParameters::setRho | ( | float | rho | ) |
Definition at line 95 of file JetResolutionObject.cc.
References m_values, and JME::Rho.
Referenced by JetResolutionDemo::analyze(), JME::JetResolutionVsEta::fill(), JME::JetResolutionVsPt::fill(), JME::JetResolutionSummary::fill(), and JME::JetResolutionCompare::fill().
Definition at line 108 of file JetResolutionObject.h.
Referenced by createVector(), and JME::JetResolutionObject::Definition::init().
|
private |
Definition at line 114 of file JetResolutionObject.h.
Referenced by createVector(), JetParameters(), set(), setJetArea(), setJetE(), setJetEta(), setJetPt(), setMu(), setNPV(), and setRho().