CMS 3D CMS Logo

PhysicsTFormulaPayload.h
Go to the documentation of this file.
1 #ifndef PhysicsTFormulaPayload_h
2 #define PhysicsTFormulaPayload_h
3 
5 
6 #include <string>
7 #include <vector>
8 
10 public:
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 
23 };
24 
25 #endif
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
PhysicsTFormulaPayload
Definition: PhysicsTFormulaPayload.h:9
PhysicsTFormulaPayload::limits
const std::vector< std::pair< float, float > > & limits() const
Definition: PhysicsTFormulaPayload.h:14
PhysicsTFormulaPayload::formulas_
std::vector< std::string > formulas_
Definition: PhysicsTFormulaPayload.h:20
PhysicsTFormulaPayload::PhysicsTFormulaPayload
PhysicsTFormulaPayload()
Definition: PhysicsTFormulaPayload.h:11
Serializable.h
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
PhysicsTFormulaPayload::limits_
std::vector< std::pair< float, float > > limits_
Definition: PhysicsTFormulaPayload.h:19
PhysicsTFormulaPayload::formulas
const std::vector< std::string > & formulas() const
Definition: PhysicsTFormulaPayload.h:15
PhysicsTFormulaPayload::PhysicsTFormulaPayload
PhysicsTFormulaPayload(const std::vector< std::pair< float, float > > &l, const std::vector< std::string > &f)
Definition: PhysicsTFormulaPayload.h:12