ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsTruth
src
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
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "
TruthTrackBuilderTool.h
"
14
15
namespace
ActsTrk
{
16
17
class
GbtsTrainingAlg
final :
public
AthReentrantAlgorithm
{
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
AthReentrantAlgorithm.h
TruthTrackBuilderTool.h
ActsTrk::GbtsTrainingAlg
Definition
GbtsTrainingAlg.h:17
ActsTrk::GbtsTrainingAlg::m_config
Acts::Experimental::GbtsLayerConnectionTool::Config m_config
Definition
GbtsTrainingAlg.h:35
ActsTrk::GbtsTrainingAlg::m_logger
std::unique_ptr< const Acts::Logger > m_logger
Definition
GbtsTrainingAlg.h:37
ActsTrk::GbtsTrainingAlg::initialize
StatusCode initialize() override
Definition
GbtsTrainingAlg.cxx:112
ActsTrk::GbtsTrainingAlg::m_zMinTol
Gaudi::Property< float > m_zMinTol
Definition
GbtsTrainingAlg.h:46
ActsTrk::GbtsTrainingAlg::m_zMaxTol
Gaudi::Property< float > m_zMaxTol
Definition
GbtsTrainingAlg.h:48
ActsTrk::GbtsTrainingAlg::m_outputConnectionTable
Gaudi::Property< std::string > m_outputConnectionTable
Definition
GbtsTrainingAlg.h:43
ActsTrk::GbtsTrainingAlg::ATLAS_THREAD_SAFE
std::optional< Acts::Experimental::GbtsLayerConnectionTool > m_layerConnectionTool ATLAS_THREAD_SAFE
Definition
GbtsTrainingAlg.h:34
ActsTrk::GbtsTrainingAlg::m_rMinTol
Gaudi::Property< float > m_rMinTol
Definition
GbtsTrainingAlg.h:50
ActsTrk::GbtsTrainingAlg::m_truthTrackBuilderTool
ToolHandle< TruthTrackBuilderTool > m_truthTrackBuilderTool
Definition
GbtsTrainingAlg.h:27
ActsTrk::GbtsTrainingAlg::m_geometryFile
Gaudi::Property< std::string > m_geometryFile
Definition
GbtsTrainingAlg.h:40
ActsTrk::GbtsTrainingAlg::m_gbtsTrainingToolMutex
std::mutex m_gbtsTrainingToolMutex
Definition
GbtsTrainingAlg.h:32
ActsTrk::GbtsTrainingAlg::applyConfiguration
void applyConfiguration()
Definition
GbtsTrainingAlg.cxx:177
ActsTrk::GbtsTrainingAlg::m_rMaxTol
Gaudi::Property< float > m_rMaxTol
Definition
GbtsTrainingAlg.h:52
ActsTrk::GbtsTrainingAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition
GbtsTrainingAlg.cxx:133
ActsTrk::GbtsTrainingAlg::finalize
StatusCode finalize() override
Definition
GbtsTrainingAlg.cxx:161
ActsTrk::GbtsTrainingAlg::m_useOldFormatting
Gaudi::Property< bool > m_useOldFormatting
Definition
GbtsTrainingAlg.h:56
ActsTrk::GbtsTrainingAlg::logger
const Acts::Logger & logger() const
private member functions
Definition
GbtsTrainingAlg.h:65
ActsTrk::GbtsTrainingAlg::m_doSymmetrization
Gaudi::Property< bool > m_doSymmetrization
Definition
GbtsTrainingAlg.h:54
ActsTrk::GbtsTrainingAlg::m_probThreshold
Gaudi::Property< float > m_probThreshold
Definition
GbtsTrainingAlg.h:59
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
Generated on
for ATLAS Offline Software by
1.17.0