CondFormats
PhysicsToolsObjects
interface
PhysicsTFormulaPayload.h
Go to the documentation of this file.
1
#ifndef PhysicsTFormulaPayload_h
2
#define PhysicsTFormulaPayload_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <string>
7
#include <vector>
8
9
class
PhysicsTFormulaPayload
{
10
public
:
11
PhysicsTFormulaPayload
() {}
12
PhysicsTFormulaPayload
(
const
std::vector
<std::pair<float, float> >&
l
,
const
std::vector<std::string>&
f
)
13
:
limits_
(
l
),
formulas_
(
f
) {}
14
const
std::vector<std::pair<float, float> >&
limits
()
const
{
return
limits_
; }
15
const
std::vector<std::string>&
formulas
()
const
{
return
formulas_
; }
16
17
protected
:
18
// internally it has to contains >= 1 formula and accordingly limits
19
std::vector<std::pair<float, float> >
limits_
;
20
std::vector<std::string>
formulas_
;
21
22
COND_SERIALIZABLE
;
23
};
24
25
#endif
PhysicsTFormulaPayload::formulas_
std::vector< std::string > formulas_
Definition:
PhysicsTFormulaPayload.h:20
PhysicsTFormulaPayload::formulas
const std::vector< std::string > & formulas() const
Definition:
PhysicsTFormulaPayload.h:15
PhysicsTFormulaPayload::limits_
std::vector< std::pair< float, float > > limits_
Definition:
PhysicsTFormulaPayload.h:19
PhysicsTFormulaPayload::limits
const std::vector< std::pair< float, float > > & limits() const
Definition:
PhysicsTFormulaPayload.h:14
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
cmsLHEtoEOSManager.l
l
Definition:
cmsLHEtoEOSManager.py:212
PhysicsTFormulaPayload::PhysicsTFormulaPayload
PhysicsTFormulaPayload()
Definition:
PhysicsTFormulaPayload.h:11
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
PhysicsTFormulaPayload
Definition:
PhysicsTFormulaPayload.h:9
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
PhysicsTFormulaPayload::PhysicsTFormulaPayload
PhysicsTFormulaPayload(const std::vector< std::pair< float, float > > &l, const std::vector< std::string > &f)
Definition:
PhysicsTFormulaPayload.h:12
Serializable.h
Generated for CMSSW Reference Manual by
1.8.14