ATLAS Offline Software
IMatchingTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 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 
14 namespace xAOD{
15  class IParticle;
16 }
17 
18 
19 
20 namespace Trig {
21 
22 class MatchingImplementation;
23 
24 class IMatchingTool : virtual public asg::IAsgTool {
26 public:
27 
29  virtual bool match(const xAOD::IParticle& recoObject, const std::string& chain, double matchThreshold=0.1, bool rerun=false) const = 0;
31  virtual bool match(const std::vector<const xAOD::IParticle*>& recoObjects, const std::string& chain, double matchThreshold=0.1, bool rerun=false) const = 0;
32 
33 protected:
34  virtual const MatchingImplementation* impl() const = 0;
35 };
36 
37 }
38 
39 #endif
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
Trig
The common trigger namespace for trigger analysis tools.
Definition: LArCellMonAlg.h:33
Trig::IMatchingTool::match
virtual bool match(const std::vector< const xAOD::IParticle * > &recoObjects, const std::string &chain, double matchThreshold=0.1, bool rerun=false) const =0
multi-object trigger matching
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
Trig::MatchingImplementation
Definition: MatchingImplementation.h:33
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
Trig::IMatchingTool::impl
virtual const MatchingImplementation * impl() const =0
Trig::IMatchingTool::match
virtual bool match(const xAOD::IParticle &recoObject, const std::string &chain, double matchThreshold=0.1, bool rerun=false) const =0
single object trigger matching. matchThreshold is typically the deltaR requirement to obtain positive...
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
Trig::IMatchingTool
Definition: IMatchingTool.h:24