|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ACTSTRKFINDING_SCOREBASEDAMBIGUITYRESOLUTIONALG_H
6 #define ACTSTRKFINDING_SCOREBASEDAMBIGUITYRESOLUTIONALG_H 1
12 #include "Gaudi/Property.h"
13 #include "GaudiKernel/ToolHandle.h"
16 #include "Acts/AmbiguityResolution/ScoreBasedAmbiguityResolution.hpp"
17 #include "Acts/Definitions/Units.hpp"
18 #include "Acts/Utilities/Logger.hpp"
41 ISvcLocator *pSvcLocator);
47 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
50 this,
"TrackingGeometryTool",
""};
53 this,
"TracksLocation",
"",
"Input track collection"};
56 this,
"ResolvedTracksLocation",
"",
57 "Ambiguity resolved output track collection"};
59 Gaudi::Property<double>
m_minScore{
this,
"MinScore", 0.0,
60 "Minimum score for track selection."};
62 this,
"MinScoreSharedTracks", 0.0,
63 "Minimum score for shared track selection."};
65 this,
"MaxSharedTracksPerMeasurement", 10,
66 "Maximum number of shared tracks per measurement."};
68 this,
"MaxShared", 5,
"Maximum number of shared hit per track."};
71 "Minimum transverse momentum."};
73 "Maximum transverse momentum."};
75 Gaudi::Property<double>
m_phiMin{
this,
"PhiMin",
77 "Minimum azimuthal angle."};
78 Gaudi::Property<double>
m_phiMax{
this,
"PhiMax",
80 "Maximum azimuthal angle."};
82 Gaudi::Property<double>
m_etaMin{
this,
"EtaMin", -5,
83 "Minimum pseudorapidity."};
84 Gaudi::Property<double>
m_etaMax{
this,
"EtaMax", 5,
85 "Maximum pseudorapidity."};
88 this,
"UseAmbiguityFunction",
false,
89 "Flag to enable/disable ambiguity function."};
92 this,
"jsonFileName",
"ScoreBasedAmbiguity_Config.json",
93 "Name of the JSON file that contains the config file."};
95 std::unique_ptr<Acts::ScoreBasedAmbiguityResolution>
m_ambi {
nullptr};
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< GenericMonitoringTool > m_monTool
Gaudi::Property< std::string > m_jsonFileName
Gaudi::Property< double > m_etaMax
Gaudi::Property< double > m_phiMax
Gaudi::Property< double > m_phiMin
Gaudi::Property< bool > m_useAmbiguityFunction
ScoreBasedAmbiguityResolutionAlg(const std::string &name, ISvcLocator *pSvcLocator)
ActsTrk::MutableTrackContainerHandlesHelper m_resolvedTracksBackendHandles
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< ActsTrk::TrackContainer > m_tracksKey
An algorithm that can be simultaneously executed in multiple threads.
std::unique_ptr< Acts::ScoreBasedAmbiguityResolution > m_ambi
Gaudi::Property< double > m_minScore
::StatusCode StatusCode
StatusCode definition for legacy code.
Property holding a SG store/key/clid from which a WriteHandle is made.
ToolHandle< IActsTrackingGeometryTool > m_trackingGeometryTool
Gaudi::Property< double > m_pTMin
Gaudi::Property< double > m_minScoreSharedTracks
Gaudi::Property< std::size_t > m_maxShared
Gaudi::Property< double > m_etaMin
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Gaudi::Property< std::size_t > m_maxSharedTracksPerMeasurement
SG::WriteHandleKey< ActsTrk::TrackContainer > m_resolvedTracksKey
virtual StatusCode initialize() override
Gaudi::Property< double > m_pTMax