ATLAS Offline Software
GNN_FasTrackConnector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGINDETPATTRECOTOOLS_FASTRACK_CONNECTOR_H
6 #define TRIGINDETPATTRECOTOOLS_FASTRACK_CONNECTOR_H
7 
8 #include<fstream>
9 #include<vector>
10 #include<map>
11 
12 typedef struct GNN_FasTrackConnection {
13 
14  GNN_FasTrackConnection(unsigned int, unsigned int);
16 
17  unsigned int m_src, m_dst;
18  std::vector<int> m_binTable;
19 
21 
22 
23 typedef class GNN_FasTrackConnector {
24 
25  public:
26 
27  struct LayerGroup {
28  LayerGroup(unsigned int l1Key, const std::vector<const GNN_FASTRACK_CONNECTION*>& v) : m_dst(l1Key), m_sources(v) {};
29 
30  unsigned int m_dst;//the target layer of the group
31  std::vector<const GNN_FASTRACK_CONNECTION*> m_sources;//the source layers of the group
32  };
33 
34  public:
35 
36  GNN_FasTrackConnector(std::ifstream&, bool LRTmode);
38 
39  float m_etaBin;
40 
41  std::map<int, std::vector<struct LayerGroup> > m_layerGroups;
42  std::map<int, std::vector<GNN_FASTRACK_CONNECTION*> > m_connMap;
43 
45 
46 #endif
GNN_FasTrackConnector::LayerGroup::m_sources
std::vector< const GNN_FASTRACK_CONNECTION * > m_sources
Definition: GNN_FasTrackConnector.h:31
GNN_FASTRACK_CONNECTOR
class GNN_FasTrackConnector GNN_FASTRACK_CONNECTOR
GNN_FasTrackConnector::~GNN_FasTrackConnector
~GNN_FasTrackConnector()
Definition: GNN_FasTrackConnector.cxx:176
GNN_FasTrackConnection::m_binTable
std::vector< int > m_binTable
Definition: GNN_FasTrackConnector.h:18
GNN_FasTrackConnector::LayerGroup::LayerGroup
LayerGroup(unsigned int l1Key, const std::vector< const GNN_FASTRACK_CONNECTION * > &v)
Definition: GNN_FasTrackConnector.h:28
GNN_FasTrackConnector
Definition: GNN_FasTrackConnector.h:23
GNN_FasTrackConnector::LayerGroup
Definition: GNN_FasTrackConnector.h:27
GNN_FasTrackConnector::LayerGroup::m_dst
unsigned int m_dst
Definition: GNN_FasTrackConnector.h:28
GNN_FasTrackConnection::~GNN_FasTrackConnection
~GNN_FasTrackConnection()
Definition: GNN_FasTrackConnector.h:15
GNN_FasTrackConnector::GNN_FasTrackConnector
GNN_FasTrackConnector(std::ifstream &, bool LRTmode)
Definition: GNN_FasTrackConnector.cxx:17
GNN_FasTrackConnector::m_layerGroups
std::map< int, std::vector< struct LayerGroup > > m_layerGroups
Definition: GNN_FasTrackConnector.h:41
GNN_FASTRACK_CONNECTION
struct GNN_FasTrackConnection GNN_FASTRACK_CONNECTION
GNN_FasTrackConnection::GNN_FasTrackConnection
GNN_FasTrackConnection(unsigned int, unsigned int)
Definition: GNN_FasTrackConnector.cxx:13
GNN_FasTrackConnection::m_dst
unsigned int m_dst
Definition: GNN_FasTrackConnector.h:17
python.PyAthena.v
v
Definition: PyAthena.py:154
GNN_FasTrackConnection::m_src
unsigned int m_src
Definition: GNN_FasTrackConnector.h:15
GNN_FasTrackConnection
Definition: GNN_FasTrackConnector.h:12
GNN_FasTrackConnector::m_connMap
std::map< int, std::vector< GNN_FASTRACK_CONNECTION * > > m_connMap
Definition: GNN_FasTrackConnector.h:42
GNN_FasTrackConnector::m_etaBin
float m_etaBin
Definition: GNN_FasTrackConnector.h:39