ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimGNNHit.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_FPGATRACKSIMGNNHIT_H
4#define TRIGFPGATRACKSIMOBJECTS_FPGATRACKSIMGNNHIT_H
5
12
14{
15public:
16
18 // Constructors
19
20 FPGATrackSimGNNHit() = default;
21 virtual ~FPGATrackSimGNNHit() = default;
22
24 // Getters/Setters
25
26 // --- Hit Information ---
27 void setHitID(unsigned int hitID) { m_hitID = hitID; } // hit index position that relates it to the vector of FPGATrackSimHits
28 void setIdentifier(unsigned long int v) { m_identifier = v; } // 32 bit module identifier
29 void setRoadID(int v) { m_roadID = v; }
30 unsigned int getHitID() { return m_hitID; }
31 unsigned long int getIdentifier() { return m_identifier; }
32 int getRoadID() { return m_roadID; }
33
34 // --- SpacePoint Information ---
35 void setX(float v) { m_x = v; }
36 void setY(float v) { m_y = v; }
37 void setZ(float v) { m_z = v; }
38 void setR(float v) { m_r = v; }
39 void setPhi(float v) { m_phi = v; }
40 void setEta(float v) { m_eta = v; }
41 float getX() const { return m_x; }
42 float getY() const { return m_y; }
43 float getZ() const { return m_z; }
44 float getR() const { return m_r; }
45 float getPhi() const { return m_phi; }
46 float getEta() const { return m_eta; }
47
48
49 // --- Cluster Information ---
50 void setCluster1X(float v) { m_cluster1_x = v; }
51 void setCluster1Y(float v) { m_cluster1_y = v; }
52 void setCluster1Z(float v) { m_cluster1_z = v; }
53 void setCluster1R(float v) { m_cluster1_r = v; }
54 void setCluster1Phi(float v) { m_cluster1_phi = v; }
55 void setCluster1Eta(float v) { m_cluster1_eta = v; }
56 float getCluster1X() const { return m_cluster1_x; }
57 float getCluster1Y() const { return m_cluster1_y; }
58 float getCluster1Z() const { return m_cluster1_z; }
59 float getCluster1R() const { return m_cluster1_r; }
60 float getCluster1Phi() const { return m_cluster1_phi; }
61 float getCluster1Eta() const { return m_cluster1_eta; }
62
63 void setCluster2X(float v) { m_cluster2_x = v; }
64 void setCluster2Y(float v) { m_cluster2_y = v; }
65 void setCluster2Z(float v) { m_cluster2_z = v; }
66 void setCluster2R(float v) { m_cluster2_r = v; }
67 void setCluster2Phi(float v) { m_cluster2_phi = v; }
68 void setCluster2Eta(float v) { m_cluster2_eta = v; }
69 float getCluster2X() const { return m_cluster2_x; }
70 float getCluster2Y() const { return m_cluster2_y; }
71 float getCluster2Z() const { return m_cluster2_z; }
72 float getCluster2R() const { return m_cluster2_r; }
73 float getCluster2Phi() const { return m_cluster2_phi; }
74 float getCluster2Eta() const { return m_cluster2_eta; }
75
76protected:
77
78 // --- Hit Information ---
79 unsigned int m_hitID = 0; // hit index position that relates it to the vector of FPGATrackSimHits
80 unsigned long int m_identifier = 0; // Global module ID, from offline (32 bit variant)
81 int m_roadID = -1; // road ID derived from the label generated by our RoadMakerTool
82
83 // --- SpacePoint Information ---
84 float m_x = 0;
85 float m_y = 0;
86 float m_z = 0;
87 float m_r = 0;
88 float m_phi = 0;
89 float m_eta = 0;
90
91 // --- Cluster Information ---
92 float m_cluster1_x = 0;
93 float m_cluster1_y = 0;
94 float m_cluster1_z = 0;
95 float m_cluster1_r = 0;
96 float m_cluster1_phi = 0;
97 float m_cluster1_eta = 0;
98
99 float m_cluster2_x = 0;
100 float m_cluster2_y = 0;
101 float m_cluster2_z = 0;
102 float m_cluster2_r = 0;
103 float m_cluster2_phi = 0;
104 float m_cluster2_eta = 0;
105
106};
107
108#endif // FPGATRACKSIMGNNHIT_H
float getCluster2X() const
unsigned int getHitID()
void setCluster2Phi(float v)
float getCluster1Eta() const
void setCluster1X(float v)
void setCluster2X(float v)
float getCluster2Phi() const
virtual ~FPGATrackSimGNNHit()=default
void setCluster2Z(float v)
void setCluster1Y(float v)
float getCluster1X() const
void setCluster1Z(float v)
float getCluster1R() const
float getCluster2Eta() const
void setCluster1R(float v)
unsigned long int getIdentifier()
void setHitID(unsigned int hitID)
void setCluster2R(float v)
float getCluster2Y() const
void setCluster1Phi(float v)
float getCluster2R() const
float getCluster2Z() const
void setCluster2Y(float v)
FPGATrackSimGNNHit()=default
float getCluster1Phi() const
void setCluster1Eta(float v)
unsigned long int m_identifier
void setCluster2Eta(float v)
void setIdentifier(unsigned long int v)
float getCluster1Y() const
float getCluster1Z() const