ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
AssociationUtils
AssociationUtils
EleJetOverlapTool.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_ELEJETOVERLAPTOOL_H
6
#define ASSOCIATIONUTILS_ELEJETOVERLAPTOOL_H
7
8
// Framework includes
9
#include "
AsgTools/AsgTool.h
"
10
11
// EDM includes
12
#include "
xAODEgamma/ElectronContainer.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/DeltaRMatcher.h
"
20
21
namespace
ORUtils
22
{
23
38
class
EleJetOverlapTool
:
public
virtual
IOverlapTool
,
39
public
BaseOverlapTool
40
{
41
43
ASG_TOOL_CLASS
(
EleJetOverlapTool
,
IOverlapTool
)
44
45
public
:
46
48
EleJetOverlapTool
(
const
std::string&
name
);
49
55
virtual
StatusCode
56
findOverlaps
(
const
xAOD::IParticleContainer
& cont1,
57
const
xAOD::IParticleContainer
& cont2)
const override
;
58
61
virtual
StatusCode
62
findOverlaps
(
const
xAOD::ElectronContainer
&
electrons
,
63
const
xAOD::JetContainer
&
jets
)
const
;
64
65
protected
:
66
68
virtual
StatusCode
initializeDerived
()
override
;
69
70
private
:
71
74
76
std::string
m_bJetLabel
;
77
79
double
m_maxElePtForBJetAwareOR
;
80
82
bool
m_applyPtRatio
;
84
double
m_eleJetPtRatio
;
85
87
float
m_innerDR
;
89
float
m_outerDR
;
90
92
bool
m_useSlidingDR
;
94
double
m_slidingDRC1
;
96
double
m_slidingDRC2
;
98
double
m_slidingDRMaxCone
;
99
101
bool
m_useRapidity
;
102
104
107
109
std::unique_ptr<BJetHelper>
m_bJetHelper
;
110
112
std::unique_ptr<IParticleAssociator>
m_dRMatchCone1
;
114
std::unique_ptr<IParticleAssociator>
m_dRMatchCone2
;
115
117
118
};
// class EleJetOverlapTool
119
120
}
// namespace ORUtils
121
122
#endif
ORUtils::EleJetOverlapTool::m_dRMatchCone2
std::unique_ptr< IParticleAssociator > m_dRMatchCone2
Delta-R matcher for the outer cone.
Definition:
EleJetOverlapTool.h:114
BJetHelper.h
ORUtils::EleJetOverlapTool::m_slidingDRMaxCone
double m_slidingDRMaxCone
Sliding cone max size.
Definition:
EleJetOverlapTool.h:98
ORUtils::EleJetOverlapTool::m_eleJetPtRatio
double m_eleJetPtRatio
Minimum e/jet pt ratio to remove a jet.
Definition:
EleJetOverlapTool.h:84
ORUtils::EleJetOverlapTool::m_bJetLabel
std::string m_bJetLabel
Input jet decoration which labels a bjet.
Definition:
EleJetOverlapTool.h:76
ORUtils
Definition:
AltMuJetOverlapTool.h:20
ORUtils::EleJetOverlapTool::EleJetOverlapTool
EleJetOverlapTool(const std::string &name)
Create proper constructor for Athena.
Definition:
EleJetOverlapTool.cxx:26
ElectronContainer.h
ORUtils::EleJetOverlapTool::findOverlaps
virtual StatusCode findOverlaps(const xAOD::IParticleContainer &cont1, const xAOD::IParticleContainer &cont2) const override
Identify overlapping electrons and jets.
Definition:
EleJetOverlapTool.cxx:102
ORUtils::EleJetOverlapTool
A tool implementing the recommended ele-jet overlap removal.
Definition:
EleJetOverlapTool.h:40
ORUtils::BaseOverlapTool
Common base class tool for overlap tools.
Definition:
BaseOverlapTool.h:38
ORUtils::EleJetOverlapTool::m_useSlidingDR
bool m_useSlidingDR
Activate sliding dR for the cone which removes electrons.
Definition:
EleJetOverlapTool.h:92
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ORUtils::EleJetOverlapTool::m_outerDR
float m_outerDR
Outer dR cone within which electrons get removed.
Definition:
EleJetOverlapTool.h:89
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
ORUtils::EleJetOverlapTool::m_dRMatchCone1
std::unique_ptr< IParticleAssociator > m_dRMatchCone1
Delta-R matcher for the inner cone.
Definition:
EleJetOverlapTool.h:112
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
DeltaRMatcher.h
ORUtils::EleJetOverlapTool::initializeDerived
virtual StatusCode initializeDerived() override
Initialize the tool.
Definition:
EleJetOverlapTool.cxx:56
JetContainer.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
ORUtils::EleJetOverlapTool::m_applyPtRatio
bool m_applyPtRatio
Toggle PT ratio criteria.
Definition:
EleJetOverlapTool.h:82
ORUtils::EleJetOverlapTool::m_slidingDRC2
double m_slidingDRC2
Sliding cone C2.
Definition:
EleJetOverlapTool.h:96
defineDB.jets
list jets
Definition:
JetTagCalibration/share/defineDB.py:24
ORUtils::EleJetOverlapTool::m_maxElePtForBJetAwareOR
double m_maxElePtForBJetAwareOR
Max electron PT for b-tag aware OR.
Definition:
EleJetOverlapTool.h:79
BaseOverlapTool.h
ORUtils::EleJetOverlapTool::m_slidingDRC1
double m_slidingDRC1
Sliding cone C1.
Definition:
EleJetOverlapTool.h:94
AsgTool.h
ORUtils::IOverlapTool
Interface class for overlap removal tools.
Definition:
IOverlapTool.h:27
ORUtils::EleJetOverlapTool::m_useRapidity
bool m_useRapidity
Calculate deltaR using rapidity.
Definition:
EleJetOverlapTool.h:101
ORUtils::EleJetOverlapTool::m_innerDR
float m_innerDR
Inner dR cone within which jets get removed.
Definition:
EleJetOverlapTool.h:87
InDetDD::electrons
@ electrons
Definition:
InDetDD_Defs.h:17
ORUtils::EleJetOverlapTool::m_bJetHelper
std::unique_ptr< BJetHelper > m_bJetHelper
BJet helper.
Definition:
EleJetOverlapTool.h:109
IOverlapTool.h
Generated on Thu Nov 7 2024 21:14:24 for ATLAS Offline Software by
1.8.18