ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimGNNEdge.h
Go to the documentation of this file.
1// Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3#ifndef TRIGFPGATRACKSIMOBJECTS_FPGATRACKSIMGNNEDGE_H
4#define TRIGFPGATRACKSIMOBJECTS_FPGATRACKSIMGNNEDGE_H
5
12
14{
15public:
16
18 // Constructors
19
21 virtual ~FPGATrackSimGNNEdge() = default;
22
24 // Getters/Setters
25
26 // --- Edge Features ---
27 void setEdgeIndex1(int v) { m_edge_index_1 = v; }
28 void setEdgeIndex2(int v) { m_edge_index_2 = v; }
29 void setEdgeDR(float v) { m_edge_dr = v; }
30 void setEdgeDPhi(float v) { m_edge_dphi = v; }
31 void setEdgeDZ(float v) { m_edge_dz = v; }
32 void setEdgeDEta(float v) { m_edge_deta = v; }
33 void setEdgePhiSlope(float v) { m_edge_phislope = v; }
34 void setEdgeRPhiSlope(float v) { m_edge_rphislope = v; }
35 void setEdgeScore(float v) { m_edge_score = v; }
36
37 int getEdgeIndex1() const { return m_edge_index_1; }
38 int getEdgeIndex2() const { return m_edge_index_2; }
39 float getEdgeDR() const { return m_edge_dr; }
40 float getEdgeDPhi() const { return m_edge_dphi; }
41 float getEdgeDZ() const { return m_edge_dz; }
42 float getEdgeDEta() const { return m_edge_deta; }
43 float getEdgePhiSlope() const { return m_edge_phislope; }
44 float getEdgeRPhiSlope() const { return m_edge_rphislope; }
45 float getEdgeScore() const { return m_edge_score; }
46
47protected:
50 float m_edge_dr = 0.0;
51 float m_edge_dphi = 0.0;
52 float m_edge_dz = 0.0;
53 float m_edge_deta = 0.0;
54 float m_edge_phislope = 0.0;
55 float m_edge_rphislope = 0.0;
56 float m_edge_score = -1.0;
57
58};
59
60#endif // FPGATRACKSIMHIT_H
void setEdgePhiSlope(float v)
float getEdgeRPhiSlope() const
void setEdgeRPhiSlope(float v)
float getEdgePhiSlope() const
virtual ~FPGATrackSimGNNEdge()=default
FPGATrackSimGNNEdge()=default