/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/L1TObjects/interface/L1MuCSCTFConfiguration.h
44 строки
1 KB
Christopher Jones
Removed ParameterSet from L1MuCSCTFConfiguration
27 май 2021, 23:30
27 май 2021, 23:30
02a0752
Код
Авторство
О чём код?
#ifndef L1TObjects_L1MuCSCTFConfiguration_h #define L1TObjects_L1MuCSCTFConfiguration_h #include "CondFormats/Serialization/interface/Serializable.h" #include <string> class L1MuCSCTFConfiguration { private: std::string registers[12]; public: const std::string* configAsText(void) const throw() { return registers; } using const_iterator = const std::string*; const_iterator begin() const { return registers; } const_iterator end() const { return registers + 12; } const std::string& operator[](int iIndex) const { return registers[iIndex]; } L1MuCSCTFConfiguration& operator=(const L1MuCSCTFConfiguration& conf) { for (int sp = 0; sp < 12; sp++) registers[sp] = conf.registers[sp]; return *this; } L1MuCSCTFConfiguration(void) {} L1MuCSCTFConfiguration(std::string regs[12]) { for (int sp = 0; sp < 12; sp++) registers[sp] = regs[sp]; } L1MuCSCTFConfiguration(const L1MuCSCTFConfiguration& conf) { for (int sp = 0; sp < 12; sp++) registers[sp] = conf.registers[sp]; } ~L1MuCSCTFConfiguration(void) {} /// print all the L1 CSCTF Configuration Parameters void print(std::ostream&) const; COND_SERIALIZABLE; }; #endif