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 ADD_CMODE(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
54 findOverlaps(columnar::Particle1Range cont1,
56 columnar::EventContextId eventContext) const override;
57
60 virtual StatusCode
61 internalFindOverlaps(columnar::Particle1Range jets,
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 {
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
static Double_t taus
the base class for all columnar components
AccessorTemplate< Particle1Def, CT, ColumnAccessMode::input, CM > Particle1Accessor
Definition ParticleDef.h:47
ObjectId< EventContextDef > EventContextId
ObjectRange< Particle2Def > Particle2Range
Definition ParticleDef.h:50
ObjectRange< Particle1Def > Particle1Range
Definition ParticleDef.h:44