ATLAS Offline Software
Loading...
Searching...
No Matches
GbtsTrainingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRK_GBTSTRAININGALG_H
6#define ACTSTRK_GBTSTRAININGALG_H 1
7
8// ACTS packages
9#include "Acts/Seeding/GbtsLayerConnectionTool.hpp"
10
11// Athena packages
14
15namespace ActsTrk {
16
18
19 using AthReentrantAlgorithm::AthReentrantAlgorithm;
20
21 public:
22 StatusCode initialize() override;
23 StatusCode execute(const EventContext& ctx) const override;
24 StatusCode finalize() override;
25
26 private:
27 ToolHandle<TruthTrackBuilderTool> m_truthTrackBuilderTool{
28 this, "TruthTrackBuilderTool",
29 "ActsTrk::TruthTrackBuilderTool/TruthTrackBuilderTool",
30 "Tool used to build ordered truth tracks"};
31
32 mutable std::mutex m_gbtsTrainingToolMutex;
33 mutable std::optional<Acts::Experimental::GbtsLayerConnectionTool>
34 m_layerConnectionTool ATLAS_THREAD_SAFE;
35 Acts::Experimental::GbtsLayerConnectionTool::Config m_config;
36
37 std::unique_ptr<const Acts::Logger> m_logger;
38
39 // config settings for connection table
40 Gaudi::Property<std::string> m_geometryFile{
41 this, "geometryFile", "",
42 "Input GBTS detector-layer geometry description file"};
43 Gaudi::Property<std::string> m_outputConnectionTable{
44 this, "outputConnectionTable", "gbts_connection_table.txt",
45 "Output GBTS connection table"};
46 Gaudi::Property<float> m_zMinTol{this, "zMinTol", 0.2340,
47 "Tolerance subtracted from layer z-min"};
48 Gaudi::Property<float> m_zMaxTol{this, "zMaxTol", 0.2340,
49 "Tolerance added to layer z-max"};
50 Gaudi::Property<float> m_rMinTol{this, "rMinTol", 2.5337,
51 "Tolerance subtracted from layer r-min"};
52 Gaudi::Property<float> m_rMaxTol{this, "rMaxTol", 2.5337,
53 "Tolerance added to layer r-max"};
54 Gaudi::Property<bool> m_doSymmetrization{this, "doSymmetrization", false,
55 "Symmetrize GBTS connection table"};
56 Gaudi::Property<bool> m_useOldFormatting{
57 this, "useOldFormatting", false,
58 "Write connection table using old formatting"};
59 Gaudi::Property<float> m_probThreshold{
60 this, "probThreshold", -1.0,
61 "Minimum transition probability; -1 keeps all non-zero transitions"};
62
64
65 const Acts::Logger& logger() const { return *m_logger; }
66
67 // applies configuration to algorithms
68 void applyConfiguration();
69};
70
71} // namespace ActsTrk
72
73#endif
Acts::Experimental::GbtsLayerConnectionTool::Config m_config
std::unique_ptr< const Acts::Logger > m_logger
StatusCode initialize() override
Gaudi::Property< float > m_zMinTol
Gaudi::Property< float > m_zMaxTol
Gaudi::Property< std::string > m_outputConnectionTable
std::optional< Acts::Experimental::GbtsLayerConnectionTool > m_layerConnectionTool ATLAS_THREAD_SAFE
Gaudi::Property< float > m_rMinTol
ToolHandle< TruthTrackBuilderTool > m_truthTrackBuilderTool
Gaudi::Property< std::string > m_geometryFile
Gaudi::Property< float > m_rMaxTol
StatusCode execute(const EventContext &ctx) const override
StatusCode finalize() override
Gaudi::Property< bool > m_useOldFormatting
const Acts::Logger & logger() const
private member functions
Gaudi::Property< bool > m_doSymmetrization
Gaudi::Property< float > m_probThreshold
An algorithm that can be simultaneously executed in multiple threads.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...