CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
DYTParamsObject Class Reference

#include <DYTParamsObject.h>

Public Member Functions

void addParamObject (const DYTParamObject &obj)
 
 DYTParamsObject ()
 
const std::string & formula () const
 
const std::vector< DYTParamObject > & getParamObjs () const
 
void setFormula (std::string formula)
 
 ~DYTParamsObject ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::string m_formula
 
std::vector< DYTParamObjectm_paramObjs
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 8 of file DYTParamsObject.h.

Constructor & Destructor Documentation

◆ DYTParamsObject()

DYTParamsObject::DYTParamsObject ( )
inline

Definition at line 10 of file DYTParamsObject.h.

10 {}

◆ ~DYTParamsObject()

DYTParamsObject::~DYTParamsObject ( )
inline

Definition at line 11 of file DYTParamsObject.h.

References m_paramObjs.

11 { m_paramObjs.clear(); };
std::vector< DYTParamObject > m_paramObjs

Member Function Documentation

◆ addParamObject()

void DYTParamsObject::addParamObject ( const DYTParamObject obj)
inline

Definition at line 14 of file DYTParamsObject.h.

References m_paramObjs, and getGTfromDQMFile::obj.

14 { m_paramObjs.push_back(obj); };
std::vector< DYTParamObject > m_paramObjs

◆ formula()

const std::string& DYTParamsObject::formula ( ) const
inline

Definition at line 23 of file DYTParamsObject.h.

Referenced by setFormula().

23 { return m_formula; };
std::string m_formula

◆ getParamObjs()

const std::vector<DYTParamObject>& DYTParamsObject::getParamObjs ( ) const
inline

Definition at line 20 of file DYTParamsObject.h.

References m_paramObjs.

20 { return m_paramObjs; };
std::vector< DYTParamObject > m_paramObjs

◆ serialize()

template<class Archive >
void DYTParamsObject::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setFormula()

void DYTParamsObject::setFormula ( std::string  formula)
inline

Definition at line 17 of file DYTParamsObject.h.

References formula(), and m_formula.

17 { m_formula = formula; };
std::string m_formula
const std::string & formula() const

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file DYTParamsObject.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 30 of file DYTParamsObject.h.

Member Data Documentation

◆ m_formula

std::string DYTParamsObject::m_formula
private

Definition at line 28 of file DYTParamsObject.h.

Referenced by setFormula().

◆ m_paramObjs

std::vector<DYTParamObject> DYTParamsObject::m_paramObjs
private

Definition at line 23 of file DYTParamsObject.h.

Referenced by addParamObject(), getParamObjs(), and ~DYTParamsObject().