ATLAS Offline Software
Trigger
TrigAnalysis
TriggerMatchingTool
TriggerMatchingTool
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
"
9
#include "
AsgTools/PropertyWrapper.h
"
10
#include "
TriggerMatchingTool/IMatchScoringTool.h
"
11
12
namespace
Trig
{
14
class
EgammaDRScoringTool
:
public
asg::AsgTool
,
virtual
public
IMatchScoringTool
15
{
16
ASG_TOOL_CLASS
(
EgammaDRScoringTool
,
IMatchScoringTool
)
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
:
28
bool
m_useClusterDecorator
;
29
30
};
//> end class EgammaDRScoringTool
31
}
//> end namespace Trig
32
33
#endif //> !TRIGGERMATCHINGTOOL_EGAMMADRSCORINGTOOL_H
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
PropertyWrapper.h
Trig::EgammaDRScoringTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition:
EgammaDRScoringTool.cxx:40
Trig::EgammaDRScoringTool::EgammaDRScoringTool
EgammaDRScoringTool(const std::string &name)
Definition:
EgammaDRScoringTool.cxx:33
Trig
The common trigger namespace for trigger analysis tools.
Definition:
LArCellMonAlg.h:33
Trig::EgammaDRScoringTool
Score pairs of particles based on their deltaR.
Definition:
EgammaDRScoringTool.h:15
offline
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
TileSynchronizeBch.online
online
Definition:
TileSynchronizeBch.py:88
IMatchScoringTool.h
Trig::IMatchScoringTool
Interface class for scoring pairs of particles for matching.
Definition:
IMatchScoringTool.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
Trig::EgammaDRScoringTool::~EgammaDRScoringTool
virtual ~EgammaDRScoringTool() override=default
AsgTool.h
Trig::EgammaDRScoringTool::score
virtual float score(const xAOD::IParticle &online, const xAOD::IParticle &offline) const override
Calculate the matching score for a pair of particles.
Definition:
EgammaDRScoringTool.cxx:45
Trig::EgammaDRScoringTool::m_useClusterDecorator
bool m_useClusterDecorator
Use decorated cluster information.
Definition:
EgammaDRScoringTool.h:28
Generated on Sun Dec 22 2024 21:09:47 for ATLAS Offline Software by
1.8.18