ATLAS Offline Software
Loading...
Searching...
No Matches
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
12typedef 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
23typedef 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
class GNN_FasTrackConnector GNN_FASTRACK_CONNECTOR
struct GNN_FasTrackConnection GNN_FASTRACK_CONNECTION
std::map< int, std::vector< GNN_FASTRACK_CONNECTION * > > m_connMap
std::map< int, std::vector< struct LayerGroup > > m_layerGroups
GNN_FasTrackConnector(std::ifstream &, bool LRTmode)
std::vector< int > m_binTable
GNN_FasTrackConnection(unsigned int, unsigned int)
LayerGroup(unsigned int l1Key, const std::vector< const GNN_FASTRACK_CONNECTION * > &v)
std::vector< const GNN_FASTRACK_CONNECTION * > m_sources