ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaDRScoringTool.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_EGAMMADRSCORINGTOOL_H
6#define TRIGGERMATCHINGTOOL_EGAMMADRSCORINGTOOL_H
7
8#include "AsgTools/AsgTool.h"
11
12namespace Trig {
14 class EgammaDRScoringTool : public asg::AsgTool, virtual public IMatchScoringTool
15 {
17 public:
18 EgammaDRScoringTool(const std::string &name);
19 virtual ~EgammaDRScoringTool() override = default;
20
21 virtual StatusCode initialize() override;
22 virtual float score(
23 const xAOD::IParticle &online,
24 const xAOD::IParticle &offline) const override;
25
26 private:
29
30 }; //> end class EgammaDRScoringTool
31} //> end namespace Trig
32
33#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.