CMS 3D CMS Logo

DYTParamsObject.h
Go to the documentation of this file.
1 #ifndef DytParamsObject_h
2 #define DytParamsObject_h
3 
4 #include <vector>
7 
9 public:
11  ~DYTParamsObject() { m_paramObjs.clear(); };
12 
13  // Add a parameter to the vector of parameters
14  void addParamObject(const DYTParamObject& obj) { m_paramObjs.push_back(obj); };
15 
16  // Set the parametrized formula
18 
19  // Get the list of parameters
20  const std::vector<DYTParamObject>& getParamObjs() const { return m_paramObjs; };
21 
22  // Get the functional parametrization
23  const std::string& formula() const { return m_formula; };
24 
25 private:
26  std::vector<DYTParamObject> m_paramObjs;
27 
29 
31 };
32 
33 #endif
DYTParamObject
Definition: DYTParamObject.h:8
DYTParamsObject::~DYTParamsObject
~DYTParamsObject()
Definition: DYTParamsObject.h:11
DYTParamsObject::addParamObject
void addParamObject(const DYTParamObject &obj)
Definition: DYTParamsObject.h:14
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
DYTParamsObject::m_formula
std::string m_formula
Definition: DYTParamsObject.h:28
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Serializable.h
DYTParamsObject::formula
const std::string & formula() const
Definition: DYTParamsObject.h:23
DYTParamObject.h
DYTParamsObject
Definition: DYTParamsObject.h:8
DYTParamsObject::DYTParamsObject
DYTParamsObject()
Definition: DYTParamsObject.h:10
DYTParamsObject::setFormula
void setFormula(std::string formula)
Definition: DYTParamsObject.h:17
DYTParamsObject::getParamObjs
const std::vector< DYTParamObject > & getParamObjs() const
Definition: DYTParamsObject.h:20
DYTParamsObject::m_paramObjs
std::vector< DYTParamObject > m_paramObjs
Definition: DYTParamsObject.h:23