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
16{
17public:
18
20 // Constructors
21
22 FPGATrackSimGNNHit() = default;
23 virtual ~FPGATrackSimGNNHit() = default;
24
26 // Getters/Setters
27
28 // --- Hit Information ---
29 void setHitID(unsigned int hitID) { m_hitID = hitID; } // hit index position that relates it to the vector of FPGATrackSimHits
30 void setIdentifierHash(unsigned v) { m_Identifier = v; } // 16 bit module hash from offline
32 void setEventIndex(long v) { m_eventindex = v; }
33 void setRoadID(int v) { m_roadID = v; }
34 unsigned int getHitID() { return m_hitID; }
35 unsigned getIdentifierHash() { return m_Identifier; }
37 long getEventIndex() const { return m_eventindex; }
38 int getRoadID() { return m_roadID; }
39
40 // --- SpacePoint Information ---
41 void setX(float v) { m_x = v; }
42 void setY(float v) { m_y = v; }
43 void setZ(float v) { m_z = v; }
44 void setR(float v) { m_r = v; }
45 void setPhi(float v) { m_phi = v; }
46 void setEta(float v) { m_eta = v; }
47 float getX() const { return m_x; }
48 float getY() const { return m_y; }
49 float getZ() const { return m_z; }
50 float getR() const { return m_r; }
51 float getPhi() const { return m_phi; }
52 float getEta() const { return m_eta; }
53
54
55 // --- Cluster Information ---
56 void setCluster1X(float v) { m_cluster1_x = v; }
57 void setCluster1Y(float v) { m_cluster1_y = v; }
58 void setCluster1Z(float v) { m_cluster1_z = v; }
59 void setCluster1R(float v) { m_cluster1_r = v; }
60 void setCluster1Phi(float v) { m_cluster1_phi = v; }
61 void setCluster1Eta(float v) { m_cluster1_eta = v; }
62 float getCluster1X() const { return m_cluster1_x; }
63 float getCluster1Y() const { return m_cluster1_y; }
64 float getCluster1Z() const { return m_cluster1_z; }
65 float getCluster1R() const { return m_cluster1_r; }
66 float getCluster1Phi() const { return m_cluster1_phi; }
67 float getCluster1Eta() const { return m_cluster1_eta; }
68
69 void setCluster2X(float v) { m_cluster2_x = v; }
70 void setCluster2Y(float v) { m_cluster2_y = v; }
71 void setCluster2Z(float v) { m_cluster2_z = v; }
72 void setCluster2R(float v) { m_cluster2_r = v; }
73 void setCluster2Phi(float v) { m_cluster2_phi = v; }
74 void setCluster2Eta(float v) { m_cluster2_eta = v; }
75 float getCluster2X() const { return m_cluster2_x; }
76 float getCluster2Y() const { return m_cluster2_y; }
77 float getCluster2Z() const { return m_cluster2_z; }
78 float getCluster2R() const { return m_cluster2_r; }
79 float getCluster2Phi() const { return m_cluster2_phi; }
80 float getCluster2Eta() const { return m_cluster2_eta; }
81
82protected:
83
84 // --- Hit Information ---
85 unsigned int m_hitID = 0; // hit index position that relates it to the vector of FPGATrackSimHits
86 unsigned m_Identifier = 0; // module hash, 16 bit from offline
87 long m_eventindex = 0; // athena event index assigned to this channel
89 int m_roadID = -1; // road ID derived from the label generated by our RoadMakerTool
90
91 // --- SpacePoint Information ---
92 float m_x = 0;
93 float m_y = 0;
94 float m_z = 0;
95 float m_r = 0;
96 float m_phi = 0;
97 float m_eta = 0;
98
99 // --- Cluster Information ---
100 float m_cluster1_x = 0;
101 float m_cluster1_y = 0;
102 float m_cluster1_z = 0;
103 float m_cluster1_r = 0;
104 float m_cluster1_phi = 0;
105 float m_cluster1_eta = 0;
106
107 float m_cluster2_x = 0;
108 float m_cluster2_y = 0;
109 float m_cluster2_z = 0;
110 float m_cluster2_r = 0;
111 float m_cluster2_phi = 0;
112 float m_cluster2_eta = 0;
113
114};
115
116#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)
HepMcParticleLink::barcode_type getUniqueID() const
float getCluster1R() const
float getCluster2Eta() const
void setUniqueID(const HepMcParticleLink::barcode_type &v)
void setIdentifierHash(unsigned v)
void setCluster1R(float v)
void setHitID(unsigned int hitID)
void setCluster2R(float v)
float getCluster2Y() const
void setCluster1Phi(float v)
HepMcParticleLink::barcode_type m_uniqueID
float getCluster2R() const
float getCluster2Z() const
void setCluster2Y(float v)
FPGATrackSimGNNHit()=default
float getCluster1Phi() const
void setCluster1Eta(float v)
void setCluster2Eta(float v)
float getCluster1Y() const
float getCluster1Z() const