#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 117 of file JetResolutionObject.h.
JME::JetResolutionObject::JetResolutionObject | ( | const std::string & | filename | ) |
Definition at line 269 of file JetResolutionObject.cc.
References f, corrVsCorr::filename, edm::errors::FileReadError, JME::getDefinitionLine(), mps_splice::line, m_definition, m_records, m_valid, HLT_2023v12_cff::Record, AlCaHLTBitMon_QueryRunRegistry::string, and JME::throwException().
JME::JetResolutionObject::JetResolutionObject | ( | const JetResolutionObject & | filename | ) |
Definition at line 293 of file JetResolutionObject.cc.
References JME::JetResolutionObject::Definition::init(), m_definition, m_records, and m_valid.
JME::JetResolutionObject::JetResolutionObject | ( | ) |
Definition at line 301 of file JetResolutionObject.cc.
void JME::JetResolutionObject::dump | ( | void | ) | const |
Definition at line 305 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(), and AlCaHarvesting_cff::record.
float JME::JetResolutionObject::evaluateFormula | ( | const Record & | record, |
const JetParameters & | variables | ||
) | const |
Definition at line 417 of file JetResolutionObject.cc.
References clip(), JME::JetParameters::createVector(), pfMETCorrectionType0_cfi::formula, JME::JetResolutionObject::Definition::getFormula(), JME::JetResolutionObject::Definition::getFormulaString(), JME::JetResolutionObject::Definition::getVariablesName(), m_definition, m_valid, JME::JetResolutionObject::Definition::nVariables(), AlCaHarvesting_cff::record, and hcalRecHitTable_cff::variables.
|
inline |
const JetResolutionObject::Record * JME::JetResolutionObject::getRecord | ( | const JetParameters & | bins | ) | const |
Definition at line 386 of file JetResolutionObject.cc.
References newFWLiteAna::bin, trigObjTnPSource_cfi::bins, JME::JetParameters::createVector(), JME::JetResolutionObject::Definition::getBinsName(), m_definition, m_records, m_valid, JME::JetResolutionObject::Definition::nBins(), and AlCaHarvesting_cff::record.
|
inline |
Definition at line 228 of file JetResolutionObject.h.
References m_records.
void JME::JetResolutionObject::saveToFile | ( | const std::string & | file | ) | const |
Definition at line 349 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, AlCaHarvesting_cff::record, and trigObjTnPSource_cfi::var.
|
private |
|
friend |
Definition at line 238 of file JetResolutionObject.h.
|
friend |
Definition at line 238 of file JetResolutionObject.h.
|
private |
Definition at line 233 of file JetResolutionObject.h.
Referenced by dump(), evaluateFormula(), getDefinition(), getRecord(), JetResolutionObject(), and saveToFile().
|
private |
Definition at line 234 of file JetResolutionObject.h.
Referenced by dump(), getRecord(), getRecords(), JetResolutionObject(), and saveToFile().
|
private |
Definition at line 236 of file JetResolutionObject.h.
Referenced by evaluateFormula(), getRecord(), and JetResolutionObject().