You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ad57ddf
Browse filesBrowse the repository at this point in the historyBrowse files
// Tables for full inference of GNN-based b-jet tagger (including track origin, vertex predictions)
171
171
namespacejetgnnindex
172
172
{
173
-
DECLARE_SOA_INDEX_COLUMN(JTrack, track); //! index in JTracks of this GNN input track (not the parent AOD Tracks index)
174
-
DECLARE_SOA_COLUMN(TrackIndex, trackIndex, uint32_t); //! node index in the GNN input after track selection/truncation; need not match the constituent-array position
173
+
DECLARE_SOA_INDEX_COLUMN(JTrack, track); //! index in JTracks of this GNN input track (not the parent AOD Tracks index)
174
+
DECLARE_SOA_COLUMN(TrackIndex, trackIndex, uint8_t); //! node index (0..255) in the GNN input after track selection/truncation; need not match the constituent-array position
175
175
// DECLARE_SOA_COLUMN(EdgeIndex, edgeIndex, uint8_t); //! unique in-jet edge index for the (i,j) constituent-track pair, i<j, triangular order i*(2N-i-1)/2+(j-i-1)
176
176
// DECLARE_SOA_DYNAMIC_COLUMN(TrackIds, trackIds, //! inverse of the triangular edge indexing above: for n constituent tracks, recovers the (i,j) in-jet track index pair (i<j) this edge connects
177
177
// [](uint8_t edgeIndex, int n) -> std::pair<uint8_t, uint8_t> {
@@ -188,55 +188,54 @@ DECLARE_SOA_COLUMN(TrackIndex, trackIndex, uint32_t); //! node index in the GNN
188
188
189
189
namespacejetgnnlabel
190
190
{
191
-
DECLARE_SOA_COLUMN(Origin, origin, uint8_t); //! trkOrigin from vertexClustering() (0: non-physical primary, 1: charm, 2: beauty, 3: primary vertex, 4: other secondary)
192
-
DECLARE_SOA_COLUMN(VertexIndex, vertexIndex, uint8_t); //! trkVtxIndex from vertexClustering() (0: primary vertex, >0: secondary vertex, ranked by distance to PV)
191
+
DECLARE_SOA_COLUMN(Origin, origin, uint8_t); //! trkOrigin from vertexClustering() (0: non-physical primary, 1: charm, 2: beauty, 3: primary vertex, 4: other secondary)
192
+
DECLARE_SOA_COLUMN(VertexIndex, vertexIndex, int8_t); //! trkVtxIndex from vertexClustering() (-1: unassigned, 0: primary vertex, >0: secondary vertex, ranked by distance to PV)
193
193
// DECLARE_SOA_COLUMN(SameVertex, sameVertex, bool); //! true if the (i,j) constituent-track pair of this edge share the same in-jet vertex cluster (same trkVtxIndex from vertexClustering())
194
194
} // namespace jetgnnlabel
195
195
196
196
namespacejetgnnscore
197
197
{
198
-
DECLARE_SOA_COLUMN(ScoreML, scoreML, float); //! GNN prediction score (track/node level, or edge level symmetrised e.g. averaged from the N*N GNN edge matrix)
199
-
DECLARE_SOA_COLUMN(OriginScores, originScores, std::vector<float>); //! one score per origin class, in jetgnnlabel::Origin order (0..4); producer defines logits/probabilities
198
+
DECLARE_SOA_COLUMN(ScoreML, scoreML, float); //! GNN discriminant: one track-origin D_b per GnnTracks row
200
199
} // namespace jetgnnscore
201
200
202
-
//GNNTrack has one row per evaluated (jet, track) pair. Its jet and track indices
201
+
//GnnTracks has one row per evaluated (jet, track) pair. Its jet and track indices
203
202
// identify the pair independently of the ordering in JetConstituents.
204
-
//GNNTrackIndices is a positional jet extension: write one row for every jet in
203
+
//GnnTrackIds is a positional jet extension: write one row for every jet in
205
204
// Jets order, including an empty array for jets without evaluated tracks. Store
206
-
//GNNTrack row indices (e.g. the backbone producer's lastIndex()), not JTrackIds.
0 commit comments