ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
EFTracking
TracccTritonClient
src
TracccTritonTool.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 TracccTritonTool_H
6
#define TracccTritonTool_H
7
8
// System include(s).
9
#include <iostream>
10
#include <list>
11
#include <memory>
12
13
#include "
AthOnnxInterfaces/IAthInferenceTool.h
"
14
#include "
AthenaBaseComps/AthAlgTool.h
"
15
#include "
ITracccTritonTool.h
"
16
24
25
class
TracccTritonTool
:
public
extends<AthAlgTool, ITracccTritonTool> {
26
public
:
27
TracccTritonTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
28
virtual
StatusCode
initialize
()
override
;
29
31
// Main methods for remote track finding asked by the ITracccTritonTool
33
42
virtual
StatusCode
getTracks
(
43
std::vector<TracccCell>& cells,
44
std::vector<TracccTrackParameters>&
TracccTrackParameters
,
45
std::vector<LocalMeasurementInfoInTracks>& TracccMeasurementsInfoInTracks)
const override
;
46
47
48
private
:
49
ToolHandle<AthInfer::IAthInferenceTool>
m_TracccTritonTool
{
50
this
,
"TritonTool"
,
"AthInfer::TritonTool"
};
51
52
Gaudi::Property<bool>
m_saveEventsToCSV
{
53
this
,
"SaveEventsToCSV"
,
false
,
54
"Whether to save input/output of each event to CSV files for debugging"
};
55
56
Gaudi::Property<int>
m_maxEventsToSave
{
57
this
,
"MaxEventsToSave"
, 10,
58
"Maximum number of events to save to CSV files if SaveEventsToCSV is true"
};
59
60
mutable
std::atomic<int>
m_eventCounter
{0};
61
62
// TODO: add variable to specify which pipeline to run
63
};
64
65
#endif
// TracccTritonTool_H
AthAlgTool.h
IAthInferenceTool.h
ITracccTritonTool.h
TracccTritonTool::m_maxEventsToSave
Gaudi::Property< int > m_maxEventsToSave
Definition
TracccTritonTool.h:56
TracccTritonTool::initialize
virtual StatusCode initialize() override
Definition
TracccTritonTool.cxx:23
TracccTritonTool::getTracks
virtual StatusCode getTracks(std::vector< TracccCell > &cells, std::vector< TracccTrackParameters > &TracccTrackParameters, std::vector< LocalMeasurementInfoInTracks > &TracccMeasurementsInfoInTracks) const override
Get track candidates from a list of space points.
Definition
TracccTritonTool.cxx:30
TracccTritonTool::m_TracccTritonTool
ToolHandle< AthInfer::IAthInferenceTool > m_TracccTritonTool
Definition
TracccTritonTool.h:49
TracccTritonTool::m_saveEventsToCSV
Gaudi::Property< bool > m_saveEventsToCSV
Definition
TracccTritonTool.h:52
TracccTritonTool::TracccTritonTool
TracccTritonTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TracccTritonTool.cxx:17
TracccTritonTool::m_eventCounter
std::atomic< int > m_eventCounter
Definition
TracccTritonTool.h:60
type
TracccTrackParameters
Definition
ITracccTritonTool.h:28
Generated on
for ATLAS Offline Software by
1.17.0