/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/SiPixelObjects/interface/PixelDCSObject.h
46 строк
863 B
Cms Build
Clang-Format
11 июн 2019, 11:29
11 июн 2019, 11:29
e9d3fcc
Код
Авторство
О чём код?
#ifndef CondFormats_SiPixelObjects_PixelDCSObject_h #define CondFormats_SiPixelObjects_PixelDCSObject_h /** \class PixelDCSObject * * Template struct for Pixel DCS object. * * Value type is specified by the template parameter Type. * Define a new struct for non-POD value type. * * $Date: 2008/11/30 19:41:08 $ * $Revision: 1.2 $ * \author Chung Khim Lae */ #include "CondFormats/Serialization/interface/Serializable.h" #include <string> #include <vector> template <class T> struct PixelDCSObject { typedef T Type; struct Item { std::string name; // name of detector element Type value; COND_SERIALIZABLE; }; std::vector<Item> items; COND_SERIALIZABLE; }; struct CaenChannel { bool isOn; // true if channel is on float iMon; // current value float vMon; // voltage value COND_SERIALIZABLE; }; #endif