ATLAS Offline Software
Loading...
Searching...
No Matches
TauLooseMuOverlapTool.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_TAULOOSEMUOVERLAPTOOL_H
6#define ASSOCIATIONUTILS_TAULOOSEMUOVERLAPTOOL_H
7
8// Framework includes
9#include "AsgTools/AsgTool.h"
10
11// EDM includes
16
17// Local includes
21
22namespace ADD_CMODE(ORUtils)
23{
24
35 class TauLooseMuOverlapTool : public virtual IOverlapTool,
36 public BaseOverlapTool
37 {
38
41
42 public:
43
45 TauLooseMuOverlapTool(const std::string& name);
46
49 virtual StatusCode
50 findOverlaps(columnar::Particle1Range cont1,
52 columnar::EventContextId eventContext) const override;
53
56 virtual StatusCode
57 internalFindOverlaps(columnar::Particle1Range taus,
58 columnar::Particle2Range muons) const;
59
60 protected:
61
63 virtual StatusCode initializeDerived() override;
64
65 private:
66
67 //
68 // Configurable properties
69 //
70
72 float m_maxDR;
74 bool m_useRapidity;
75
77 float m_minMuPt;
79 float m_minTauPtMuComb;
80
82 struct Accessors final : columnar::ColumnarTool<>
83 {
84 columnar::Particle1Accessor<float> m_tauPtAcc {*this, "pt"};
85 columnar::Particle2Accessor<float> m_muPtAcc {*this, "pt"};
87 using ColumnarTool::ColumnarTool;
88 };
89 std::unique_ptr<Accessors> m_accessors {std::make_unique<Accessors> (this)};
90
91 //
92 // Utilities
93 //
94
96 std::unique_ptr<DeltaRMatcher> m_dRMatcher;
97
98 }; // class TauLooseMuOverlapTool
99
100} // namespace ADD_CMODE(ORUtils)
101
102#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
AccessorTemplate< Particle2Def, CT, ColumnAccessMode::input, CM > Particle2Accessor
Definition ParticleDef.h:53
ObjectRange< Particle2Def > Particle2Range
Definition ParticleDef.h:50
ObjectRange< Particle1Def > Particle1Range
Definition ParticleDef.h:44