/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/RPCObjects/interface/LinkConnSpec.h
39 строк
1 KB
Cms Build
Clang-Format
24 май 2019, 00:14
24 май 2019, 00:14
ecf11e6
Код
Авторство
О чём код?
#ifndef CondFormatsRPCObjectsLinkConnSpec_H #define CondFormatsRPCObjectsLinkConnSpec_H #include "CondFormats/Serialization/interface/Serializable.h" #include "CondFormats/RPCObjects/interface/LinkBoardSpec.h" #include <vector> #include <string> /** \class LinkConnSpec * RPC LinkConnection Specification for readout decoding */ class LinkConnSpec { public: /// ctor with ID only LinkConnSpec(int num = -1) : theTriggerBoardInputNumber(num) {} /// this link input number in TriggerBoard int triggerBoardInputNumber() const { return theTriggerBoardInputNumber; } /// LB served by this link, identified by its position in link const LinkBoardSpec* linkBoard(int linkBoardNumInLink) const; const std::vector<LinkBoardSpec>& linkBoards() const { return theLBs; } /// attach LinkBoard to this link void add(const LinkBoardSpec& lb); /// debud printaout, call its components with depth dectreased by one std::string print(int depth = 0) const; private: int theTriggerBoardInputNumber; std::vector<LinkBoardSpec> theLBs; COND_SERIALIZABLE; }; #endif