ATLAS Offline Software
FasTrackConnector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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 FasTrackConnection {
13 
14  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 FasTrackConnector {
24 
25  public:
26 
27  struct LayerGroup {
28  LayerGroup(unsigned int l1Key, const std::vector<const 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 FASTRACK_CONNECTION*> m_sources;//the source layers of the group
32  };
33 
34  public:
35 
36  FasTrackConnector(std::ifstream&);
38 
39  float m_etaBin;
40 
41  std::map<int, std::vector<struct LayerGroup> > m_layerGroups;
42  std::map<int, std::vector<FASTRACK_CONNECTION*> > m_connMap;
43 
45 
46 #endif
FasTrackConnector
Definition: FasTrackConnector.h:23
FasTrackConnection::~FasTrackConnection
~FasTrackConnection()
Definition: FasTrackConnector.h:15
FasTrackConnection
Definition: FasTrackConnector.h:12
FasTrackConnection::m_binTable
std::vector< int > m_binTable
Definition: FasTrackConnector.h:18
FasTrackConnection::FasTrackConnection
FasTrackConnection(unsigned int, unsigned int)
Definition: FasTrackConnector.cxx:13
FASTRACK_CONNECTOR
class FasTrackConnector FASTRACK_CONNECTOR
FASTRACK_CONNECTION
struct FasTrackConnection FASTRACK_CONNECTION
FasTrackConnector::LayerGroup::m_dst
unsigned int m_dst
Definition: FasTrackConnector.h:28
FasTrackConnector::LayerGroup::m_sources
std::vector< const FASTRACK_CONNECTION * > m_sources
Definition: FasTrackConnector.h:31
FasTrackConnector::FasTrackConnector
FasTrackConnector(std::ifstream &)
Definition: FasTrackConnector.cxx:17
FasTrackConnector::m_connMap
std::map< int, std::vector< FASTRACK_CONNECTION * > > m_connMap
Definition: FasTrackConnector.h:42
FasTrackConnector::m_etaBin
float m_etaBin
Definition: FasTrackConnector.h:39
FasTrackConnector::LayerGroup::LayerGroup
LayerGroup(unsigned int l1Key, const std::vector< const FASTRACK_CONNECTION * > &v)
Definition: FasTrackConnector.h:28
python.PyAthena.v
v
Definition: PyAthena.py:157
FasTrackConnection::m_src
unsigned int m_src
Definition: FasTrackConnector.h:15
FasTrackConnector::~FasTrackConnector
~FasTrackConnector()
Definition: FasTrackConnector.cxx:173
FasTrackConnector::m_layerGroups
std::map< int, std::vector< struct LayerGroup > > m_layerGroups
Definition: FasTrackConnector.h:41
FasTrackConnector::LayerGroup
Definition: FasTrackConnector.h:27
FasTrackConnection::m_dst
unsigned int m_dst
Definition: FasTrackConnector.h:17