ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigAnalysis
TriggerMatchingTool
TriggerMatchingTool
IMatchingTool.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef IMATCHINGTOOL_H
8
#define IMATCHINGTOOL_H
9
10
11
// Framework include(s):
12
#include "
AsgTools/IAsgTool.h
"
13
#include <string_view>
14
#include <vector>
15
namespace
xAOD
{
16
class
IParticle
;
17
}
18
19
20
21
namespace
Trig
{
22
23
class
MatchingImplementation
;
24
25
class
IMatchingTool
:
virtual
public
asg::IAsgTool
{
26
ASG_TOOL_INTERFACE
(
IMatchingTool
)
27
public
:
28
30
virtual
bool
match
(
const
xAOD::IParticle
& recoObject, std::string_view chain,
double
matchThreshold=0.1,
bool
rerun=
false
)
const
= 0;
32
virtual
bool
match
(
const
std::vector<const xAOD::IParticle*>& recoObjects, std::string_view chain,
double
matchThreshold=0.1,
bool
rerun=
false
)
const
= 0;
33
34
protected
:
35
virtual
const
MatchingImplementation
*
impl
()
const
= 0;
36
};
37
38
}
39
40
#endif
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
IAsgTool.h
Trig::IMatchingTool
Definition
IMatchingTool.h:25
Trig::IMatchingTool::match
virtual bool match(const xAOD::IParticle &recoObject, std::string_view chain, double matchThreshold=0.1, bool rerun=false) const =0
single object trigger matching. matchThreshold is typically the deltaR requirement to obtain positive...
Trig::IMatchingTool::match
virtual bool match(const std::vector< const xAOD::IParticle * > &recoObjects, std::string_view chain, double matchThreshold=0.1, bool rerun=false) const =0
multi-object trigger matching
Trig::IMatchingTool::impl
virtual const MatchingImplementation * impl() const =0
Trig::MatchingImplementation
Definition
MatchingImplementation.h:33
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
Trig
The common trigger namespace for trigger analysis tools.
Definition
LArCellMonAlg.h:33
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.16.1