/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/Calibration/interface/Conf.h
34 строки
709 B
Cms Build
Clang-Format
29 май 2019, 08:24
29 май 2019, 08:24
5c96c3b
Код
Авторство
О чём код?
#ifndef CondEx_KeyedConf_H #define CondEx_KeyedConf_H /* * Examples of configurations identified by a key */ #include "CondFormats/Serialization/interface/Serializable.h" #include "CondFormats/Common/interface/BaseKeyed.h" #include <string> namespace condex { struct ConfI : public cond::BaseKeyed { ConfI() : v(0), key(" ") {} ConfI(std::string k, int i) : v(i), key(k) {} int v; std::string key; // just for test COND_SERIALIZABLE; }; struct ConfF : public cond::BaseKeyed { ConfF() : v(0), key(" ") {} ConfF(std::string k, float i) : v(i), key(k) {} float v; std::string key; // just for test COND_SERIALIZABLE; }; } // namespace condex #endif