ATLAS Offline Software
IMatchScoringTool.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TRIGGERMATCHINGTOOL_IMATCHSCORINGTOOL_H
6 #define TRIGGERMATCHINGTOOL_IMATCHSCORINGTOOL_H
7 
8 #include "AsgTools/IAsgTool.h"
9 
10 namespace xAOD {
11  class IParticle;
12 }
13 
14 namespace Trig {
16  class IMatchScoringTool : virtual public asg::IAsgTool {
17  public:
23  virtual float score(
24  const xAOD::IParticle &online,
25  const xAOD::IParticle &offline) const = 0;
26  }; //> end class IMatchScoringTool
27 } //> end namespace Trig
28 
29 #endif //> !TRIGGERMATCHINGTOOL_IMATCHSCORINGTOOL_H
Trig
The common trigger namespace for trigger analysis tools.
Definition: CaloTowerVecMon.h:44
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
offline
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
TileSynchronizeBch.online
online
Definition: TileSynchronizeBch.py:88
Trig::IMatchScoringTool
Interface class for scoring pairs of particles for matching.
Definition: IMatchScoringTool.h:16
IAsgTool.h
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
Trig::IMatchScoringTool::score
virtual float score(const xAOD::IParticle &online, const xAOD::IParticle &offline) const =0
Calculate the matching score for a pair of particles.