5#ifndef TRIGINDETPATTRECOTOOLS_GNN_DATA_STORAGE_H
6#define TRIGINDETPATTRECOTOOLS_GNN_DATA_STORAGE_H
13#define MAX_SEG_PER_NODE 1000
22 inline float x()
const {
return m_x;}
23 inline float y()
const {
return m_y;}
26 inline float z()
const {
return m_z;}
27 inline float r()
const {
return m_r;}
36 unsigned int m_idx{std::numeric_limits<unsigned int>::max()};
47 return n1->phi() < n2->
phi();
71 std::vector<const TrigFTF_GNN_Node*>
m_vn;
73 std::vector<std::vector<unsigned int> >
m_in;
95 if(idx >=
static_cast<int>(
m_etaBins.size())) idx = idx-1;
102 const std::vector<std::array<float, 5> >&
m_mlLUT;
std::vector< TrigFTF_GNN_EtaBin > m_etaBins
void generatePhiIndexing(float)
TrigFTF_GNN_EtaBin & getEtaBin(int idx)
unsigned int numberOfNodes() const
void initializeNodes(bool)
const TrigFTF_GNN_Geometry & m_geo
const std::vector< std::array< float, 5 > > & m_mlLUT
TrigFTF_GNN_DataStorage(const TrigFTF_GNN_Geometry &, const std::vector< std::array< float, 5 > > &)
int loadStripGraphNodes(short, const std::vector< TrigFTF_GNN_Node > &)
~TrigFTF_GNN_DataStorage()
int loadPixelGraphNodes(short, const std::vector< TrigFTF_GNN_Node > &, bool)
unsigned int m_vNei[N_SEG_CONNS]
const TrigFTF_GNN_Node * m_n1
TrigFTF_GNN_Edge(const TrigFTF_GNN_Node *n1, const TrigFTF_GNN_Node *n2, float p1, float p2, float p3)
const TrigFTF_GNN_Node * m_n2
std::vector< const TrigFTF_GNN_Node * > m_vn
float getMinBinRadius() const
float getMaxBinRadius() const
void generatePhiIndexing(float)
std::vector< std::vector< unsigned int > > m_in
std::vector< std::pair< float, unsigned int > > m_vPhiNodes
std::vector< std::array< float, 5 > > m_params
bool operator()(const TrigFTF_GNN_Edge *pE1, const TrigFTF_GNN_Edge *pE2)
bool operator()(const TrigFTF_GNN_Node *n1, const TrigFTF_GNN_Node *n2)
float localPositionY() const
unsigned short layer() const
TrigFTF_GNN_Node(unsigned short l)
float pixelClusterWidth() const