ATLAS Offline Software
Loading...
Searching...
No Matches
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
16#include "ColumnarJet/JetDef.h"
17
18// Local includes
22
23namespace ORUtils
24{
25
40 class TauJetOverlapTool : public virtual IOverlapTool,
41 public BaseOverlapTool
42 {
43
46
47 public:
48
50 TauJetOverlapTool(const std::string& name);
51
53 virtual StatusCode
56 columnar::EventContextId eventContext) const override;
57
60 virtual StatusCode
63
64 protected:
65
67 virtual StatusCode initializeDerived() override;
68
69 private:
70
73
75 std::string m_bJetLabel;
76
78 float m_dR;
81
83
86
89 {
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 ORUtils
104
105#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
static Double_t taus
BaseOverlapTool(const std::string &name)
Create proper constructor for Athena.
Interface class for overlap removal tools.
virtual StatusCode findOverlaps(columnar::Particle1Range cont1, columnar::Particle2Range cont2, columnar::EventContextId eventContext) const override
Identify overlapping taus and jets.
float m_dR
Flat delta-R cone for matching objects.
bool m_useRapidity
Calculate deltaR using rapidity.
virtual StatusCode initializeDerived() override
Initialize the tool.
std::string m_bJetLabel
Input jet decoration which labels a bjet.
virtual StatusCode internalFindOverlaps(columnar::Particle1Range jets, columnar::Particle2Range taus) const
Identify overlapping taus and jets.
std::unique_ptr< Accessors > m_accessors
TauJetOverlapTool(const std::string &name)
Create proper constructor for Athena.
std::unique_ptr< IParticleAssociator > m_dRMatcher
Delta-R matcher.
the base class for all columnar components
ObjectId< ContainerId::eventContext > EventContextId
ObjectRange< ContainerId::particle2 > Particle2Range
Definition ParticleDef.h:53
ObjectRange< ContainerId::particle1 > Particle1Range
Definition ParticleDef.h:47
AccessorTemplate< ContainerId::particle1, CT, ColumnAccessMode::input, CM > Particle1Accessor
Definition ParticleDef.h:50
columnar::Particle1Accessor< char > m_bJetAcc
BJet helper.