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 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
52 columnar::EventContextId eventContext) const override;
53
56 virtual StatusCode
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;
75
77 float m_minMuPt;
80
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 ORUtils
101
102#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.
bool m_useRapidity
Calculate delta-R using rapidity.
virtual StatusCode internalFindOverlaps(columnar::Particle1Range taus, columnar::Particle2Range muons) const
Identify overlapping taus and loose muons.
float m_minTauPtMuComb
Tau PT threshold to compare to combined muons only.
std::unique_ptr< Accessors > m_accessors
virtual StatusCode findOverlaps(columnar::Particle1Range cont1, columnar::Particle2Range cont2, columnar::EventContextId eventContext) const override
Identify overlapping taus and loose muons.
std::unique_ptr< DeltaRMatcher > m_dRMatcher
Delta-R matcher.
TauLooseMuOverlapTool(const std::string &name)
Create proper constructor for Athena.
float m_maxDR
Maximum dR for objects flagged as overlap.
float m_minMuPt
Minimum muon PT to reject a tau.
virtual StatusCode initializeDerived() override
Initialize the tool.
the base class for all columnar components
AccessorTemplate< ContainerId::particle2, CT, ColumnAccessMode::input, CM > Particle2Accessor
Definition ParticleDef.h:56
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< float > m_tauPtAcc
columnar::Particle2Accessor< float > m_muPtAcc
columnar::Particle2Accessor< columnar::RetypeColumn< xAOD::Muon::MuonType, std::uint16_t > > m_muonTypeAcc