/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/CTPPSDigi/interface/CTPPSPixelDigiCollection.h
28 строк
843 B
Cms Build
Clang-Format
29 май 2019, 08:33
29 май 2019, 08:33
54ee179
Код
Авторство
О чём код?
#ifndef CTPPS_CTPPSDigi_CTPPSPixelDigiCollection_h #define CTPPS_CTPPSDigi_CTPPSPixelDigiCollection_h #include "DataFormats/CTPPSDigi/interface/CTPPSPixelDigi.h" #include <vector> #include <map> #include <utility> class CTPPSPixelDigiCollection { public: typedef std::vector<CTPPSPixelDigi>::const_iterator ContainerIterator; typedef std::pair<ContainerIterator, ContainerIterator> Range; typedef std::pair<unsigned int, unsigned int> IndexRange; typedef std::map<unsigned int, IndexRange> Registry; typedef std::map<unsigned int, IndexRange>::const_iterator RegistryIterator; CTPPSPixelDigiCollection() {} void put(Range input, unsigned int detID); const Range get(unsigned int detID) const; const std::vector<unsigned int> detIDs() const; private: std::vector<CTPPSPixelDigi> container_; Registry map_; }; #endif