ATLAS Offline Software
Loading...
Searching...
No Matches
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
15#include "ITracccTritonTool.h"
16
24
25class TracccTritonTool : public extends<AthAlgTool, ITracccTritonTool> {
26public:
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
48private:
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
Gaudi::Property< int > m_maxEventsToSave
virtual StatusCode initialize() override
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.
ToolHandle< AthInfer::IAthInferenceTool > m_TracccTritonTool
Gaudi::Property< bool > m_saveEventsToCSV
TracccTritonTool(const std::string &type, const std::string &name, const IInterface *parent)
std::atomic< int > m_eventCounter