ATLAS Offline Software
InnerDetector/InDetValidation/InDetTrackPerfMon/src/ITrackMatchingTool.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_ITRACKMATCHINGTOOL_H
6 #define INDETTRACKPERFMON_ITRACKMATCHINGTOOL_H
7 
15 #include "AsgTools/IAsgTool.h"
17 
21 
23 #include <string>
24 
25 
26 namespace IDTPM {
27 
29  class TrackAnalysisCollections;
30  class ITrackMatchingLookup;
31 
32  class ITrackMatchingTool : virtual public asg::IAsgTool {
33 
34  public:
35 
37 
39  virtual StatusCode match(
40  TrackAnalysisCollections& trkAnaColls,
41  const std::string& chainRoIName,
42  const std::string& roiStr ) const = 0;
43 
47 
49  virtual StatusCode match(
50  const std::vector< const xAOD::TrackParticle* >& vTest,
51  const std::vector< const xAOD::TrackParticle* >& vRef,
52  ITrackMatchingLookup& matches ) const = 0;
53 
55  virtual StatusCode match(
56  const std::vector< const xAOD::TrackParticle* >& vTest,
57  const std::vector< const xAOD::TruthParticle* >& vRef,
58  ITrackMatchingLookup& matches ) const = 0;
59 
61  virtual StatusCode match(
62  const std::vector< const xAOD::TruthParticle* >& vTest,
63  const std::vector< const xAOD::TrackParticle* >& vRef,
64  ITrackMatchingLookup& matches ) const = 0;
65 
66  };
67 
68 } // namespace IDTPM
69 
70 #endif // > !INDETTRACKPERFMON_ITRACKMATCHINGTOOL_H
IDTPM::ITrackMatchingTool::match
virtual StatusCode match(const std::vector< const xAOD::TruthParticle * > &vTest, const std::vector< const xAOD::TrackParticle * > &vRef, ITrackMatchingLookup &matches) const =0
truth -> track matching
IDTPM::TrackAnalysisCollections
Definition: TrackAnalysisCollections.h:41
IDTPM::ITrackMatchingTool
Definition: InnerDetector/InDetValidation/InDetTrackPerfMon/src/ITrackMatchingTool.h:32
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
IDTPM::ITrackMatchingTool::match
virtual StatusCode match(TrackAnalysisCollections &trkAnaColls, const std::string &chainRoIName, const std::string &roiStr) const =0
General matching method, via TrackAnalysisCollections.
IDTPM::ITrackMatchingTool::ASG_TOOL_INTERFACE
ASG_TOOL_INTERFACE(IDTPM::ITrackMatchingTool)
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IDTPM::ITrackMatchingTool::match
virtual StatusCode match(const std::vector< const xAOD::TrackParticle * > &vTest, const std::vector< const xAOD::TruthParticle * > &vRef, ITrackMatchingLookup &matches) const =0
track -> truth matching
IDTPM::ITrackMatchingTool::match
virtual StatusCode match(const std::vector< const xAOD::TrackParticle * > &vTest, const std::vector< const xAOD::TrackParticle * > &vRef, ITrackMatchingLookup &matches) const =0
Specific matching methods, via test/reference vectors -> Could be used independently of the TrackAnal...
IAsgTool.h
TrackParticle.h
IDTPM::ITrackMatchingLookup
Definition: ITrackMatchingLookup.h:30
IDTPM
Athena include(s).
Definition: IPlotsDefinitionSvc.h:25
TruthParticle.h