ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
#include "
ColumnarCore/ColumnAccessor.h
"
15
#include "
ColumnarTau/TauJetDef.h
"
16
#include "
ColumnarJet/JetDef.h
"
17
18
// Local includes
19
#include "
AssociationUtils/IOverlapTool.h
"
20
#include "
AssociationUtils/BaseOverlapTool.h
"
21
#include "
AssociationUtils/IObjectAssociator.h
"
22
23
namespace
ADD_CMODE(ORUtils)
24
{
25
40
class
TauJetOverlapTool
:
public
virtual
IOverlapTool
,
41
public
BaseOverlapTool
42
{
43
45
ASG_TOOL_CLASS
(
TauJetOverlapTool
,
IOverlapTool
)
46
47
public
:
48
50
TauJetOverlapTool
(
const
std::string& name);
51
53
virtual
StatusCode
54
findOverlaps(
columnar::Particle1Range
cont1,
55
columnar::Particle2Range
cont2,
56
columnar::EventContextId
eventContext)
const override
;
57
60
virtual
StatusCode
61
internalFindOverlaps(
columnar::Particle1Range
jets,
62
columnar::Particle2Range
taus
)
const
;
63
64
protected
:
65
67
virtual
StatusCode initializeDerived()
override
;
68
69
private
:
70
73
75
std::string m_bJetLabel;
76
78
float
m_dR;
80
bool
m_useRapidity;
81
83
86
88
struct
Accessors final :
columnar::ColumnarTool
<>
89
{
91
columnar::Particle1Accessor<char>
m_bJetAcc;
92
using
ColumnarTool::ColumnarTool;
93
};
94
std::unique_ptr<Accessors> m_accessors {std::make_unique<Accessors> (
this
)};
95
97
std::unique_ptr<IParticleAssociator> m_dRMatcher;
98
100
101
};
// class TauJetOverlapTool
102
103
}
// namespace ADD_CMODE(ORUtils)
104
105
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
BaseOverlapTool.h
ColumnAccessor.h
IObjectAssociator.h
IOverlapTool.h
JetContainer.h
JetDef.h
taus
static Double_t taus
Definition
LArPhysWaveHECTool.cxx:37
TauJetContainer.h
TauJetDef.h
BaseOverlapTool
Definition
BaseOverlapTool.h:28
IOverlapTool
Definition
IOverlapTool.h:19
TauJetOverlapTool
Definition
TauJetOverlapTool.h:23
columnar::ColumnarTool
the base class for all columnar components
Definition
ColumnAccessorDataArray.h:17
columnar::Particle1Accessor
AccessorTemplate< Particle1Def, CT, ColumnAccessMode::input, CM > Particle1Accessor
Definition
ParticleDef.h:47
columnar::EventContextId
ObjectId< EventContextDef > EventContextId
Definition
ContainerId.h:212
columnar::Particle2Range
ObjectRange< Particle2Def > Particle2Range
Definition
ParticleDef.h:50
columnar::Particle1Range
ObjectRange< Particle1Def > Particle1Range
Definition
ParticleDef.h:44
Generated on
for ATLAS Offline Software by
1.17.0