#include <JetResolutionObject.h>
Classes | |
class | Definition |
struct | Range |
class | Record |
Public Member Functions | |
void | dump () const |
float | evaluateFormula (const Record &record, const JetParameters &variables) const |
const Definition & | getDefinition () const |
const Record * | getRecord (const JetParameters &bins) const |
const std::vector< Record > & | getRecords () const |
JetResolutionObject (const std::string &filename) | |
JetResolutionObject (const JetResolutionObject &filename) | |
JetResolutionObject () | |
void | saveToFile (const std::string &file) const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
Definition | m_definition |
std::vector< Record > | m_records |
bool | m_valid = false |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 116 of file JetResolutionObject.h.
JME::JetResolutionObject::JetResolutionObject | ( | const std::string & | filename | ) |
Definition at line 247 of file JetResolutionObject.cc.
References f, corrVsCorr::filename, edm::errors::FileReadError, JME::getDefinitionLine(), mps_splice::line, m_definition, m_records, m_valid, HLT_2022v12_cff::Record, AlCaHLTBitMon_QueryRunRegistry::string, and JME::throwException().
JME::JetResolutionObject::JetResolutionObject | ( | const JetResolutionObject & | filename | ) |
Definition at line 271 of file JetResolutionObject.cc.
References JME::JetResolutionObject::Definition::init(), m_definition, m_records, and m_valid.
JME::JetResolutionObject::JetResolutionObject | ( | ) |
Definition at line 279 of file JetResolutionObject.cc.
void JME::JetResolutionObject::dump | ( | void | ) | const |
Definition at line 283 of file JetResolutionObject.cc.
References newFWLiteAna::bin, gather_cfg::cout, JME::JetResolutionObject::Definition::getBinName(), JME::JetResolutionObject::Definition::getBinsName(), JME::JetResolutionObject::Definition::getFormulaString(), JME::JetResolutionObject::Definition::getVariableName(), JME::JetResolutionObject::Definition::getVariablesName(), m_definition, m_records, JME::JetResolutionObject::Definition::nBins(), JME::JetResolutionObject::Definition::nVariables(), alignCSCRings::r, and AlCaHarvesting_cff::record.
float JME::JetResolutionObject::evaluateFormula | ( | const Record & | record, |
const JetParameters & | variables | ||
) | const |
Definition at line 394 of file JetResolutionObject.cc.
References clip(), JME::JetParameters::createVector(), pfMETCorrectionType0_cfi::formula, JME::JetResolutionObject::Definition::getFormula(), JME::JetResolutionObject::Definition::getVariables(), m_definition, m_valid, JME::JetResolutionObject::Definition::nVariables(), AlCaHarvesting_cff::record, and L1TEGammaDiff_cfi::variables.
|
inline |
const JetResolutionObject::Record * JME::JetResolutionObject::getRecord | ( | const JetParameters & | bins | ) | const |
Definition at line 364 of file JetResolutionObject.cc.
References newFWLiteAna::bin, trigObjTnPSource_cfi::bins, JME::JetParameters::createVector(), JME::JetResolutionObject::Definition::getBins(), m_definition, m_records, m_valid, JME::JetResolutionObject::Definition::nBins(), and AlCaHarvesting_cff::record.
|
inline |
Definition at line 227 of file JetResolutionObject.h.
References m_records.
void JME::JetResolutionObject::saveToFile | ( | const std::string & | file | ) | const |
Definition at line 327 of file JetResolutionObject.cc.
References newFWLiteAna::bin, geometryDiff::file, groupFilesInBlocks::fout, JME::JetResolutionObject::Definition::getBinsName(), JME::JetResolutionObject::Definition::getFormulaString(), JME::JetResolutionObject::Definition::getVariablesName(), m_definition, m_records, JME::JetResolutionObject::Definition::nBins(), JME::JetResolutionObject::Definition::nVariables(), AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, AlCaHarvesting_cff::record, and trigObjTnPSource_cfi::var.
|
private |
|
friend |
Definition at line 237 of file JetResolutionObject.h.
|
friend |
Definition at line 237 of file JetResolutionObject.h.
|
private |
Definition at line 232 of file JetResolutionObject.h.
Referenced by dump(), evaluateFormula(), getDefinition(), getRecord(), JetResolutionObject(), and saveToFile().
|
private |
Definition at line 233 of file JetResolutionObject.h.
Referenced by dump(), getRecord(), getRecords(), JetResolutionObject(), and saveToFile().
|
private |
Definition at line 235 of file JetResolutionObject.h.
Referenced by evaluateFormula(), getRecord(), and JetResolutionObject().