/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoTracker/LSTCore/interface/ModuleConnectionMap.h
31 строка
879 B
Andres Rios Tascon
Added LSTGeometry package and associated ESProducer
22 май 2026, 15:39
22 май 2026, 15:39
f954f8e
Код
Авторство
О чём код?
#ifndef RecoTracker_LSTCore_interface_ModuleConnectionMap_h #define RecoTracker_LSTCore_interface_ModuleConnectionMap_h #include <array> #include <map> #include <string> #include <vector> namespace lst { class ModuleConnectionMap { private: std::map<unsigned int, std::vector<unsigned int>> moduleConnections_; public: ModuleConnectionMap() = default; ModuleConnectionMap(std::string const&); ModuleConnectionMap(std::map<unsigned int, std::vector<unsigned int>> const&); void load(std::string const&); void load(std::map<unsigned int, std::vector<unsigned int>> const&); void add(std::string const&); void print(); const std::vector<unsigned int>& getConnectedModuleDetIds(unsigned int detid) const; int size() const; }; using MapPLStoLayer = std::array<std::array<ModuleConnectionMap, 4>, 3>; } // namespace lst #endif