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:
10 
12  ~DYTParamsObject() { m_paramObjs.clear(); };
13 
14  // Add a parameter to the vector of parameters
15  void addParamObject(const DYTParamObject & obj) { m_paramObjs.push_back(obj); };
16 
17  // Set the parametrized formula
19 
20  // Get the list of parameters
21  const std::vector<DYTParamObject> & getParamObjs() const { return m_paramObjs; };
22 
23  // Get the functional parametrization
24  const std::string & formula() const { return m_formula; };
25 
26  private:
27 
28  std::vector<DYTParamObject> m_paramObjs;
29 
31 
33 };
34 
35 #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