#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 120 of file JetResolutionObject.h.
JME::JetResolutionObject::JetResolutionObject | ( | const std::string & | filename | ) |
Definition at line 233 of file JetResolutionObject.cc.
References f, edm::errors::FileReadError, JME::getDefinitionLine(), geometryCSVtoXML::line, m_definition, m_records, m_valid, SiStripGain_Fake_cff::Record, AlCaHLTBitMon_QueryRunRegistry::string, and JME::throwException().
JME::JetResolutionObject::JetResolutionObject | ( | const JetResolutionObject & | filename | ) |
Definition at line 258 of file JetResolutionObject.cc.
References JME::JetResolutionObject::Definition::init(), m_definition, m_records, and m_valid.
JME::JetResolutionObject::JetResolutionObject | ( | ) |
Definition at line 266 of file JetResolutionObject.cc.
void JME::JetResolutionObject::dump | ( | void | ) | const |
Definition at line 271 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(), cmsHarvester::index, m_definition, m_records, JME::JetResolutionObject::Definition::nBins(), JME::JetResolutionObject::Definition::nVariables(), alignCSCRings::r, and record.
float JME::JetResolutionObject::evaluateFormula | ( | const Record & | record, |
const JetParameters & | variables | ||
) | const |
Definition at line 382 of file JetResolutionObject.cc.
References clip(), JME::JetParameters::createVector(), EcalElecEmulTccOnlyExample_cfg::formula, JME::JetResolutionObject::Definition::getFormula(), JME::JetResolutionObject::Record::getParametersValues(), JME::JetResolutionObject::Definition::getVariables(), JME::JetResolutionObject::Record::getVariablesRange(), cmsHarvester::index, m_definition, m_valid, JME::JetResolutionObject::Definition::nVariables(), HLT_FULL_cff::parameters, and makeLayoutFileForGui::variables.
|
inline |
Definition at line 259 of file JetResolutionObject.h.
References m_definition.
Referenced by JetResolutionDemo::analyze().
const JetResolutionObject::Record * JME::JetResolutionObject::getRecord | ( | const JetParameters & | bins | ) | const |
Definition at line 351 of file JetResolutionObject.cc.
References newFWLiteAna::bin, JME::JetParameters::createVector(), JME::JetResolutionObject::Definition::getBins(), m_definition, m_records, m_valid, JME::JetResolutionObject::Definition::nBins(), and record.
|
inline |
Definition at line 255 of file JetResolutionObject.h.
References m_records.
Referenced by JetResolutionDemo::analyze().
void JME::JetResolutionObject::saveToFile | ( | const std::string & | file | ) | const |
Definition at line 313 of file JetResolutionObject.cc.
References newFWLiteAna::bin, groupFilesInBlocks::fout, JME::JetResolutionObject::Definition::getBinsName(), JME::JetResolutionObject::Definition::getFormulaString(), JME::JetResolutionObject::Definition::getVariablesName(), m_definition, m_records, JME::JetResolutionObject::Definition::nBins(), JetCorrectorParameters::Record::nParameters(), JME::JetResolutionObject::Definition::nVariables(), AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, record, and MetTreeProducer::var().
|
private |
|
friend |
Definition at line 269 of file JetResolutionObject.h.
|
friend |
Definition at line 269 of file JetResolutionObject.h.
|
private |
Definition at line 264 of file JetResolutionObject.h.
Referenced by dump(), evaluateFormula(), getDefinition(), getRecord(), JetResolutionObject(), and saveToFile().
|
private |
Definition at line 265 of file JetResolutionObject.h.
Referenced by dump(), getRecord(), getRecords(), JetResolutionObject(), and saveToFile().
|
private |
Definition at line 267 of file JetResolutionObject.h.
Referenced by evaluateFormula(), getRecord(), and JetResolutionObject().