#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, AlcaSiStripGainsAAGHarvester_cfi::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 Hcal_FrontierConditions_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(), Hcal_FrontierConditions_cff::record, and EcalPhiSymFlatTableProducers_cfi::variables.
|
inline |
const JetResolutionObject::Record * JME::JetResolutionObject::getRecord | ( | const JetParameters & | bins | ) | const |
Definition at line 386 of file JetResolutionObject.cc.
References newFWLiteAna::bin, isotrackApplyRegressor::bins, JME::JetParameters::createVector(), JME::JetResolutionObject::Definition::getBinsName(), m_definition, m_records, m_valid, JME::JetResolutionObject::Definition::nBins(), and Hcal_FrontierConditions_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, Hcal_FrontierConditions_cff::record, and ALCARECOEcalPhiSym_cff::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().