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
void setFormula(std::string formula)
const std::vector< DYTParamObject > & getParamObjs() const
std::string m_formula
std::vector< DYTParamObject > m_paramObjs
#define COND_SERIALIZABLE
Definition: Serializable.h:38
void addParamObject(const DYTParamObject &obj)
const std::string & formula() const