/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/CSCObjects/interface/CSCL1TPLookupTableCCLUT.h
30 строк
707 B
Sven Dildick
Put CSC and GEM-CSC local trigger lookup tables in ES objects
04 авг 2021, 21:21
04 авг 2021, 21:21
7787a9b
Код
Авторство
О чём код?
#ifndef CondFormats_CSCObjects_CSCL1TPLookupTableCCLUT_h #define CondFormats_CSCObjects_CSCL1TPLookupTableCCLUT_h #include "CondFormats/Serialization/interface/Serializable.h" #include <vector> #include <unordered_map> class CSCL1TPLookupTableCCLUT { public: CSCL1TPLookupTableCCLUT(); ~CSCL1TPLookupTableCCLUT() {} typedef std::unordered_map<unsigned, std::vector<unsigned> > t_lut; // setters void set_cclutPosition(t_lut lut); void set_cclutSlope(t_lut lut); // getters unsigned cclutPosition(unsigned pattern, unsigned code) const; unsigned cclutSlope(unsigned pattern, unsigned code) const; private: t_lut cclutPosition_; t_lut cclutSlope_; COND_SERIALIZABLE; }; #endif