File indexing completed on 2025-12-16 09:22:45
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011
0012
0013 #include <fstream>
0014 #include <map>
0015 #include <vector>
0016
0017 namespace Acts::Experimental {
0018
0019 struct GbtsConnection {
0020 GbtsConnection(unsigned int s, unsigned int d);
0021
0022 unsigned int m_src, m_dst;
0023
0024 std::vector<int> m_binTable;
0025 };
0026
0027 class GbtsConnector {
0028 public:
0029 struct LayerGroup {
0030 LayerGroup(unsigned int l1Key, const std::vector<const GbtsConnection*>& v)
0031 : m_dst(l1Key), m_sources(v) {};
0032
0033 unsigned int m_dst;
0034
0035 std::vector<const GbtsConnection*>
0036 m_sources;
0037 };
0038
0039 public:
0040 GbtsConnector(std::ifstream& inFile, bool LRTmode);
0041 ~GbtsConnector();
0042
0043 float m_etaBin{};
0044
0045 std::map<int, std::vector<struct LayerGroup> > m_layerGroups;
0046 std::map<int, std::vector<GbtsConnection*> > m_connMap;
0047 };
0048
0049 }