CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CondFormats/Calibration/interface/Conf.h

Go to the documentation of this file.
00001 #ifndef CondEx_KeyedConf_H
00002 #define CondEx_KeyedConf_H
00003 /*
00004  * Examples of configurations identified by a key
00005  */
00006 
00007 #include "CondFormats/Common/interface/BaseKeyed.h"
00008 #include <string>
00009 
00010 namespace condex {
00011 
00012   struct ConfI : public cond::BaseKeyed {
00013     ConfI()  : v(0), key(" ") {}
00014     ConfI(std::string k, int i) : v(i), key(k) {}
00015     int v;
00016     std::string key; // just for test
00017   };
00018 
00019   struct ConfF : public cond::BaseKeyed {
00020     ConfF() : v(0), key(" ") {}
00021     ConfF(std::string k, float i) : v(i), key(k) {}
00022     float v;
00023     std::string key; // just for test
00024   };
00025 
00026 }
00027 
00028 #endif