ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonLearning
MuonInference
src
SegmentTrackCandidateBuilderTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONINFERENCE_SEGMENTTRACKCANDIDATEBUILDERTOOL_H
5
#define MUONINFERENCE_SEGMENTTRACKCANDIDATEBUILDERTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
MuonInferenceInterfaces/ISegmentTrackCandidateBuilderTool.h
"
9
#include "Gaudi/Property.h"
10
11
namespace
MuonML
{
12
class
SegmentTrackCandidateBuilderTool
final :
public
extends<AthAlgTool, ISegmentTrackCandidateBuilderTool> {
13
public
:
14
using
base_class::base_class;
15
StatusCode
buildCandidates
(
const
EventContext& ctx,
16
const
SegmentEdgeGraph
& graph,
17
const
std::vector<SegmentEdgeScore>& scores,
18
std::vector<std::vector<unsigned>>& candidateIdsPerSegment)
const override
;
19
private
:
20
Gaudi::Property<float>
m_edgeThreshold
{
21
this
,
"EdgeThreshold"
, 0.25f,
22
"Loose edge probability threshold used for recall/recovery components"
};
23
24
Gaudi::Property<float>
m_overlapThreshold
{
25
this
,
"OverlapThreshold"
, 0.8f,
26
"High-purity edge probability threshold used to build core components"
};
27
28
Gaudi::Property<bool>
m_useRecoveryComponents
{
29
this
,
"UseRecoveryComponents"
,
true
,
30
"Add additional low-threshold connected components to recover true candidates missed by the high-purity core"
};
31
32
Gaudi::Property<bool>
m_symmetrizeDirectedEdges
{
33
this
,
"SymmetrizeDirectedEdges"
,
true
,
34
"Use max(score i->j, score j->i) for undirected segment association"
};
35
36
Gaudi::Property<bool>
m_addAllSegmentsRecoveryCandidate
{
37
this
,
"AddAllSegmentsRecoveryCandidate"
,
false
,
38
"Add one final candidate containing all graph nodes; use only for no-loss validation/debugging"
};
39
40
Gaudi::Property<bool>
m_keepIsolatedSegments
{
this
,
"KeepIsolatedSegments"
,
false
};
41
Gaudi::Property<unsigned>
m_minCandidateSize
{
this
,
"MinCandidateSize"
, 2};
42
};
43
}
44
#endif
AthAlgTool.h
ISegmentTrackCandidateBuilderTool.h
MuonML::SegmentTrackCandidateBuilderTool
Definition
SegmentTrackCandidateBuilderTool.h:12
MuonML::SegmentTrackCandidateBuilderTool::m_symmetrizeDirectedEdges
Gaudi::Property< bool > m_symmetrizeDirectedEdges
Definition
SegmentTrackCandidateBuilderTool.h:32
MuonML::SegmentTrackCandidateBuilderTool::m_overlapThreshold
Gaudi::Property< float > m_overlapThreshold
Definition
SegmentTrackCandidateBuilderTool.h:24
MuonML::SegmentTrackCandidateBuilderTool::m_minCandidateSize
Gaudi::Property< unsigned > m_minCandidateSize
Definition
SegmentTrackCandidateBuilderTool.h:41
MuonML::SegmentTrackCandidateBuilderTool::m_keepIsolatedSegments
Gaudi::Property< bool > m_keepIsolatedSegments
Definition
SegmentTrackCandidateBuilderTool.h:40
MuonML::SegmentTrackCandidateBuilderTool::m_useRecoveryComponents
Gaudi::Property< bool > m_useRecoveryComponents
Definition
SegmentTrackCandidateBuilderTool.h:28
MuonML::SegmentTrackCandidateBuilderTool::m_edgeThreshold
Gaudi::Property< float > m_edgeThreshold
Definition
SegmentTrackCandidateBuilderTool.h:20
MuonML::SegmentTrackCandidateBuilderTool::buildCandidates
StatusCode buildCandidates(const EventContext &ctx, const SegmentEdgeGraph &graph, const std::vector< SegmentEdgeScore > &scores, std::vector< std::vector< unsigned > > &candidateIdsPerSegment) const override
Definition
SegmentTrackCandidateBuilderTool.cxx:91
MuonML::SegmentTrackCandidateBuilderTool::m_addAllSegmentsRecoveryCandidate
Gaudi::Property< bool > m_addAllSegmentsRecoveryCandidate
Definition
SegmentTrackCandidateBuilderTool.h:36
MuonML
Definition
BucketGraphUtils.h:19
MuonML::SegmentEdgeGraph
Definition
SegmentEdgeData.h:15
Generated on
for ATLAS Offline Software by
1.17.0