ATLAS Offline Software
Loading...
Searching...
No Matches
ITracccTritonTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ITracccTritonTool_H
6#define ITracccTritonTool_H
7
8#include "GaudiKernel/IAlgTool.h"
10#include "TrkTrack/Track.h"
11#include <vector>
12
13class MsgStream;
14
15// model input
16struct TracccCell {
17
18 int64_t geometry_id = 0;
19 int64_t measurement_id = 0;
20 int64_t channel0 = 0;
21 int64_t channel1 = 0;
22 float timestamp = 0.f;
23 float value = 0.f;
24
25};
26
27// model output
29 float chi2;
30 float ndf;
31 float l0;
32 float l1;
33 float phi;
34 float theta;
35 float qop;
36 float time;
37};
39 std::vector<float> local_x;
40 std::vector<float> local_y;
41 std::vector<float> phi;
42 std::vector<float> theta;
43 std::vector<float> qop;
44 std::vector<float> time;
45 std::vector<float> covariances; // flattened 5x5 covariance matrix per measurement
46 std::vector<int64_t> athena_id;
47};
48
49
55class ITracccTritonTool : virtual public IAlgTool {
56public:
58
66
67 virtual StatusCode getTracks(
68 std::vector<TracccCell>& cells,
69 std::vector<TracccTrackParameters>& TracccTrackParameters,
70 std::vector<LocalMeasurementInfoInTracks>& TracccMeasurementInfoInTracks
71 ) const = 0;
72
73 // TODO: Add pipeline for combined GNN+traccc (should be nearly identical to getTracks)
74};
75
76#endif // ITracccTritonTool_H
Interface for tools that produce track candidates using traccc-based tracking via inference with the ...
virtual StatusCode getTracks(std::vector< TracccCell > &cells, std::vector< TracccTrackParameters > &TracccTrackParameters, std::vector< LocalMeasurementInfoInTracks > &TracccMeasurementInfoInTracks) const =0
Get track candidates from hits.
DeclareInterfaceID(ITracccTritonTool, 1, 0)
std::vector< int64_t > athena_id
std::vector< float > covariances
int64_t measurement_id
int64_t geometry_id