#include <JetResolutionObject.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 120 of file JetResolutionObject.h.
JME::JetResolutionObject::JetResolutionObject |
( |
const std::string & |
filename | ) |
|
JME::JetResolutionObject::JetResolutionObject |
( |
| ) |
|
void JME::JetResolutionObject::dump |
( |
void |
| ) |
const |
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(), diffTreeTool::index, and objects.autophobj::variables.
395 const std::vector<float>&
parameters = record.getParametersValues();
400 double variables_[4] = {0};
402 variables_[
index] =
clip(variables[
index], record.getVariablesRange()[
index].min, record.getVariablesRange()[
index].max);
405 return formula.EvalPar(variables_);
const std::vector< Binning > & getVariables() const
T clip(const T &n, const T &lower, const T &upper)
size_t nVariables() const
TFormula const * getFormula() const
const Definition& JME::JetResolutionObject::getDefinition |
( |
| ) |
const |
|
inline |
const std::vector<Record>& JME::JetResolutionObject::getRecords |
( |
| ) |
const |
|
inline |
void JME::JetResolutionObject::saveToFile |
( |
const std::string & |
file | ) |
const |
template<class Archive >
void JME::JetResolutionObject::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
friend class boost::serialization::access |
|
friend |
template<typename CondSerializationT , typename Enabled >
std::vector<Record> JME::JetResolutionObject::m_records |
|
private |
bool JME::JetResolutionObject::m_valid = false |
|
private |