CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Conf.h
Go to the documentation of this file.
1 #ifndef CondEx_KeyedConf_H
2 #define CondEx_KeyedConf_H
3 /*
4  * Examples of configurations identified by a key
5  */
6 
8 #include <string>
9 
10 namespace condex {
11 
12  struct ConfI : public cond::BaseKeyed {
13  ConfI() : v(0), key(" ") {}
14  ConfI(std::string k, int i) : v(i), key(k) {}
15  int v;
16  std::string key; // just for test
17  };
18 
19  struct ConfF : public cond::BaseKeyed {
20  ConfF() : v(0), key(" ") {}
21  ConfF(std::string k, float i) : v(i), key(k) {}
22  float v;
23  std::string key; // just for test
24  };
25 
26 }
27 
28 #endif
int i
Definition: DBlmapReader.cc:9
float v
Definition: Conf.h:22
std::string const & key() const
Definition: BaseKeyed.h:18
ConfI(std::string k, int i)
Definition: Conf.h:14
int v
Definition: Conf.h:15
std::string key
Definition: Conf.h:16
int k[5][pyjets_maxn]
ConfF(std::string k, float i)
Definition: Conf.h:21
std::string key
Definition: Conf.h:23