/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/PPSObjects/interface/CTPPSPixelDAQMapping.h
52 строки
1 KB
Silvio Donato
Revert "Revert "PPS: rename directories with misleading names""
06 мар 2020, 19:21
Не верифицирован
06 мар 2020, 19:21
ab43201
Код
Авторство
О чём код?
/**************************************************************************** * * * Authors: * F.Ferro ferro@ge.infn.it * ****************************************************************************/ #ifndef CondFormats_PPSObjects_CTPPSPixelDAQMapping #define CondFormats_PPSObjects_CTPPSPixelDAQMapping #include "CondFormats/Serialization/interface/Serializable.h" #include "CondFormats/PPSObjects/interface/CTPPSPixelFramePosition.h" #include "CondFormats/PPSObjects/interface/CTPPSPixelIndices.h" #include <map> #include <set> //---------------------------------------------------------------------------------------------------- /** *\brief Contains mappind data related to a ROC. */ class CTPPSPixelROCInfo { public: /// the symbolic id uint32_t iD; unsigned int roc; friend std::ostream &operator<<(std::ostream &s, const CTPPSPixelROCInfo &fp); COND_SERIALIZABLE; }; //---------------------------------------------------------------------------------------------------- /** *\brief The mapping between FramePosition and ROCInfo. */ class CTPPSPixelDAQMapping { public: std::map<CTPPSPixelFramePosition, CTPPSPixelROCInfo> ROCMapping; void insert(const CTPPSPixelFramePosition &fp, const CTPPSPixelROCInfo &vi); std::set<unsigned int> fedIds() const; COND_SERIALIZABLE; }; #endif