CondFormats
RecoMuonObjects
interface
DYTParamsObject.h
Go to the documentation of this file.
1
#ifndef DytParamsObject_h
2
#define DytParamsObject_h
3
4
#include <vector>
5
#include "
CondFormats/RecoMuonObjects/interface/DYTParamObject.h
"
6
#include "
CondFormats/Serialization/interface/Serializable.h
"
7
8
class
DYTParamsObject
{
9
public
:
10
DYTParamsObject
(){};
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
17
void
setFormula
(
std::string
formula
) {
m_formula
=
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
28
std::string
m_formula
;
29
30
COND_SERIALIZABLE
;
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
Generated for CMSSW Reference Manual by
1.8.16