ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetValidation
InDetTrackPerfMon
src
EFTrackMatchingTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETTRACKPERFMON_EFTrackMatchingTool_H
6
#define INDETTRACKPERFMON_EFTrackMatchingTool_H
7
14
16
#include "
AsgTools/AsgTool.h
"
17
19
#include "
ITrackMatchingTool.h
"
20
21
namespace
IDTPM
{
22
23
class
EFTrackMatchingTool
:
24
public
virtual
ITrackMatchingTool
,
25
public
asg::AsgTool
{
26
27
public
:
28
29
ASG_TOOL_CLASS
(
EFTrackMatchingTool
,
ITrackMatchingTool
);
30
32
EFTrackMatchingTool
(
const
std::string& name );
33
35
virtual
StatusCode
initialize
()
override
;
36
38
virtual
StatusCode
match
(
39
TrackAnalysisCollections
& trkAnaColls,
40
const
std::string& chainRoIName,
41
const
std::string& roiStr )
const override
;
42
44
46
virtual
StatusCode
match
(
47
const
std::vector< const xAOD::TrackParticle* >&,
48
const
std::vector< const xAOD::TrackParticle* >&,
49
ITrackMatchingLookup
& )
const override
;
50
52
virtual
StatusCode
match
(
53
const
std::vector< const xAOD::TrackParticle* >&,
54
const
std::vector< const xAOD::TruthParticle* >&,
55
ITrackMatchingLookup
& )
const override
56
{
57
ATH_MSG_DEBUG
(
"track -> truth matching disabled"
);
58
return
StatusCode::SUCCESS;
59
}
60
62
virtual
StatusCode
match
(
63
const
std::vector< const xAOD::TruthParticle* >&,
64
const
std::vector< const xAOD::TrackParticle* >&,
65
ITrackMatchingLookup
& )
const override
66
{
67
ATH_MSG_DEBUG
(
"truth -> track matching disabled"
);
68
return
StatusCode::SUCCESS;
69
}
70
71
private
:
72
73
FloatProperty
m_truthProbCut
{
74
this
,
"MatchingTruthProb"
, 0.5,
"Minimal truthProbability for valid matching"
};
75
76
};
// class EFTrackMatchingTool
77
78
}
// namespace IDTPM
79
80
#endif
// > !INDETTRACKPERFMON_EFTrackMatchingTool_H
AsgTool.h
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
ITrackMatchingTool.h
interface for track matching tools in this package
IDTPM::EFTrackMatchingTool::match
virtual StatusCode match(const std::vector< const xAOD::TruthParticle * > &, const std::vector< const xAOD::TrackParticle * > &, ITrackMatchingLookup &) const override
truth -> track matching (disabled)
Definition
EFTrackMatchingTool.h:62
IDTPM::EFTrackMatchingTool::m_truthProbCut
FloatProperty m_truthProbCut
Definition
EFTrackMatchingTool.h:73
IDTPM::EFTrackMatchingTool::initialize
virtual StatusCode initialize() override
Initialize.
Definition
EFTrackMatchingTool.cxx:31
IDTPM::EFTrackMatchingTool::match
virtual StatusCode match(const std::vector< const xAOD::TrackParticle * > &, const std::vector< const xAOD::TruthParticle * > &, ITrackMatchingLookup &) const override
track -> truth matching (disabled)
Definition
EFTrackMatchingTool.h:52
IDTPM::EFTrackMatchingTool::match
virtual StatusCode match(TrackAnalysisCollections &trkAnaColls, const std::string &chainRoIName, const std::string &roiStr) const override
General matching method, via TrackAnalysisCollections.
Definition
EFTrackMatchingTool.cxx:44
IDTPM::EFTrackMatchingTool::EFTrackMatchingTool
EFTrackMatchingTool(const std::string &name)
Constructor.
Definition
EFTrackMatchingTool.cxx:23
IDTPM::EFTrackMatchingTool::ASG_TOOL_CLASS
ASG_TOOL_CLASS(EFTrackMatchingTool, ITrackMatchingTool)
IDTPM::ITrackMatchingLookup
Definition
ITrackMatchingLookup.h:30
IDTPM::ITrackMatchingTool
Definition
InnerDetector/InDetValidation/InDetTrackPerfMon/src/ITrackMatchingTool.h:32
IDTPM::TrackAnalysisCollections
Definition
TrackAnalysisCollections.h:46
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
IDTPM
Athena include(s).
Definition
IPlotsDefinitionSvc.h:25
Generated on
for ATLAS Offline Software by
1.17.0