CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
std::vector< std::string > formulas_
std::vector< std::pair< float, float > > limits_
const std::vector< std::pair< float, float > > & limits() const
const std::vector< std::string > & formulas() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
PhysicsTFormulaPayload(const std::vector< std::pair< float, float > > &l, const std::vector< std::string > &f)