CMS 3D CMS Logo

ModuleConnectionMap.h
Go to the documentation of this file.
1 #ifndef RecoTracker_LSTCore_interface_ModuleConnectionMap_h
2 #define RecoTracker_LSTCore_interface_ModuleConnectionMap_h
3 
4 #include <array>
5 #include <map>
6 #include <string>
7 #include <vector>
8 
9 namespace lst {
11  private:
12  std::map<unsigned int, std::vector<unsigned int>> moduleConnections_;
13 
14  public:
17 
18  void load(std::string const&);
19  void add(std::string const&);
20  void print();
21 
22  const std::vector<unsigned int>& getConnectedModuleDetIds(unsigned int detid) const;
23  int size() const;
24  };
25 
26  using MapPLStoLayer = std::array<std::array<ModuleConnectionMap, 4>, 3>;
27 } // namespace lst
28 
29 #endif
void add(std::string const &)
Definition: Common.h:15
std::map< unsigned int, std::vector< unsigned int > > moduleConnections_
const std::vector< unsigned int > & getConnectedModuleDetIds(unsigned int detid) const
void load(std::string const &)
std::array< std::array< ModuleConnectionMap, 4 >, 3 > MapPLStoLayer