#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, AlCaHLTBitMon_QueryRunRegistry::string, and JME::throwException().
JME::JetResolutionObject::JetResolutionObject | ( | const JetResolutionObject & | filename | ) |
Definition at line 258 of file JetResolutionObject.cc.
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 stringResolutionProvider_cfi::bin, gather_cfg::cout, alignCSCRings::r, and record.
Referenced by JetResolutionDBReader::analyze(), and JetResolutionScaleFactorDBReader::analyze().
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::Record::getParametersValues(), JME::JetResolutionObject::Record::getVariablesRange(), and objects.autophobj::variables.
|
inline |
const JetResolutionObject::Record * JME::JetResolutionObject::getRecord | ( | const JetParameters & | bins | ) | const |
Definition at line 351 of file JetResolutionObject.cc.
References stringResolutionProvider_cfi::bin, create_public_pileup_plots::bins, JME::JetParameters::createVector(), and record.
|
inline |
Definition at line 255 of file JetResolutionObject.h.
Referenced by JetResolutionDemo::analyze().
void JME::JetResolutionObject::saveToFile | ( | const std::string & | file | ) | const |
Definition at line 313 of file JetResolutionObject.cc.
References stringResolutionProvider_cfi::bin, groupFilesInBlocks::fout, JetCorrectorParameters::Record::nParameters(), AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, record, and JetChargeProducer_cfi::var.
Referenced by JetResolutionDBReader::analyze(), and JetResolutionScaleFactorDBReader::analyze().
|
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.
|
private |
Definition at line 265 of file JetResolutionObject.h.
|
private |
Definition at line 267 of file JetResolutionObject.h.