ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
AssociationUtils
AssociationUtils
TauJetOverlapTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ASSOCIATIONUTILS_TAUJETOVERLAPTOOL_H
6
#define ASSOCIATIONUTILS_TAUJETOVERLAPTOOL_H
7
8
// Framework includes
9
#include "
AsgTools/AsgTool.h
"
10
11
// EDM includes
12
#include "
xAODTau/TauJetContainer.h
"
13
#include "
xAODJet/JetContainer.h
"
14
15
// Local includes
16
#include "
AssociationUtils/IOverlapTool.h
"
17
#include "
AssociationUtils/BaseOverlapTool.h
"
18
#include "
AssociationUtils/BJetHelper.h
"
19
#include "
AssociationUtils/IObjectAssociator.h
"
20
21
namespace
ORUtils
22
{
23
38
class
TauJetOverlapTool
:
public
virtual
IOverlapTool
,
39
public
BaseOverlapTool
40
{
41
43
ASG_TOOL_CLASS
(
TauJetOverlapTool
,
IOverlapTool
)
44
45
public
:
46
48
TauJetOverlapTool
(
const
std::string&
name
);
49
51
virtual
StatusCode
52
findOverlaps
(
const
xAOD::IParticleContainer
& cont1,
53
const
xAOD::IParticleContainer
& cont2)
const override
;
54
57
virtual
StatusCode
58
findOverlaps
(
const
xAOD::JetContainer
&
jets
,
59
const
xAOD::TauJetContainer
& taus)
const
;
60
61
protected
:
62
64
virtual
StatusCode
initializeDerived
()
override
;
65
66
private
:
67
70
72
std::string
m_bJetLabel
;
73
75
float
m_dR
;
77
bool
m_useRapidity
;
78
80
83
85
std::unique_ptr<BJetHelper>
m_bJetHelper
;
86
88
std::unique_ptr<IParticleAssociator>
m_dRMatcher
;
89
91
92
};
// class TauJetOverlapTool
93
94
}
// namespace ORUtils
95
96
#endif
BJetHelper.h
ORUtils::TauJetOverlapTool::initializeDerived
virtual StatusCode initializeDerived() override
Initialize the tool.
Definition:
TauJetOverlapTool.cxx:34
IObjectAssociator.h
ORUtils::TauJetOverlapTool
A tool implementing the recommended tau-jet overlap removal.
Definition:
TauJetOverlapTool.h:40
ORUtils
Definition:
AltMuJetOverlapTool.h:20
ORUtils::BaseOverlapTool
Common base class tool for overlap tools.
Definition:
BaseOverlapTool.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ORUtils::TauJetOverlapTool::m_bJetLabel
std::string m_bJetLabel
Input jet decoration which labels a bjet.
Definition:
TauJetOverlapTool.h:72
TauJetContainer.h
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
ORUtils::TauJetOverlapTool::m_useRapidity
bool m_useRapidity
Calculate deltaR using rapidity.
Definition:
TauJetOverlapTool.h:77
ORUtils::TauJetOverlapTool::findOverlaps
virtual StatusCode findOverlaps(const xAOD::IParticleContainer &cont1, const xAOD::IParticleContainer &cont2) const override
Identify overlapping taus and jets.
Definition:
TauJetOverlapTool.cxx:52
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
JetContainer.h
ORUtils::TauJetOverlapTool::m_dR
float m_dR
Flat delta-R cone for matching objects.
Definition:
TauJetOverlapTool.h:75
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
ORUtils::TauJetOverlapTool::m_bJetHelper
std::unique_ptr< BJetHelper > m_bJetHelper
BJet helper.
Definition:
TauJetOverlapTool.h:85
ORUtils::TauJetOverlapTool::TauJetOverlapTool
TauJetOverlapTool(const std::string &name)
Create proper constructor for Athena.
Definition:
TauJetOverlapTool.cxx:21
defineDB.jets
list jets
Definition:
JetTagCalibration/share/defineDB.py:24
BaseOverlapTool.h
AsgTool.h
ORUtils::IOverlapTool
Interface class for overlap removal tools.
Definition:
IOverlapTool.h:27
ORUtils::TauJetOverlapTool::m_dRMatcher
std::unique_ptr< IParticleAssociator > m_dRMatcher
Delta-R matcher.
Definition:
TauJetOverlapTool.h:88
IOverlapTool.h
Generated on Thu Nov 7 2024 21:27:03 for ATLAS Offline Software by
1.8.18