ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaDRScoringTool.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef TRIGGERMATCHINGTOOL_EGAMMADRSCORINGTOOL_H
6#define TRIGGERMATCHINGTOOL_EGAMMADRSCORINGTOOL_H
7
8#include "AsgTools/AsgTool.h"
10#include <string>
11
12namespace xAOD{
13 class IParticle;
14}
15
16namespace Trig {
18 class EgammaDRScoringTool : public asg::AsgTool, virtual public IMatchScoringTool
19 {
21 public:
22 EgammaDRScoringTool(const std::string &name);
23 virtual ~EgammaDRScoringTool() override = default;
24
25 virtual StatusCode initialize() override;
26 virtual float score(
27 const xAOD::IParticle &online,
28 const xAOD::IParticle &offline) const override;
29
30 private:
33
34 }; //> end class EgammaDRScoringTool
35} //> end namespace Trig
36
37#endif //> !TRIGGERMATCHINGTOOL_EGAMMADRSCORINGTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
virtual float score(const xAOD::IParticle &online, const xAOD::IParticle &offline) const override
Calculate the matching score for a pair of particles.
EgammaDRScoringTool(const std::string &name)
bool m_useClusterDecorator
Use decorated cluster information.
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
virtual ~EgammaDRScoringTool() override=default
Interface class for scoring pairs of particles for matching.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
Class providing the definition of the 4-vector interface.
The common trigger namespace for trigger analysis tools.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.