ATLAS Offline Software
MuJetGhostDRMatcher.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_MUJETGHOSTMATCHER_H
6 #define ASSOCIATIONUTILS_MUJETGHOSTMATCHER_H
7 
8 // System includes
9 #include <memory>
10 
11 // Infrastructure includes
13 
14 // Local includes
16 
17 namespace ORUtils
18 {
19 
31  public asg::AsgMessaging
32  {
33 
34  public:
35 
37  MuJetGhostDRMatcher(double dR, bool useRapidity=true);
38 
40  virtual bool objectsMatch
41  (const xAOD::IParticle& mu, const xAOD::IParticle& jet) const override;
42 
43  private:
44 
46  std::unique_ptr<IParticleAssociator> m_drMatcher;
47 
48  }; // class MuJetGhostDRMatcher
49 
50 } // namespace ORUtils
51 
52 #endif
ORUtils::MuJetGhostDRMatcher::objectsMatch
virtual bool objectsMatch(const xAOD::IParticle &mu, const xAOD::IParticle &jet) const override
Check for a match via ghost association or delta-R.
Definition: MuJetGhostDRMatcher.cxx:32
ORUtils::MuJetGhostDRMatcher
Matches a muon to a jet via ghost association or a delta-R.
Definition: MuJetGhostDRMatcher.h:32
IObjectAssociator.h
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
ORUtils
Definition: AltMuJetOverlapTool.h:20
AsgMessaging.h
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
ORUtils::MuJetGhostDRMatcher::m_drMatcher
std::unique_ptr< IParticleAssociator > m_drMatcher
The delta-R matcher.
Definition: MuJetGhostDRMatcher.h:46
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
ORUtils::MuJetGhostDRMatcher::MuJetGhostDRMatcher
MuJetGhostDRMatcher(double dR, bool useRapidity=true)
Constructor takes same arguments as the DeltaRMatcher.
Definition: MuJetGhostDRMatcher.cxx:23
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
ORUtils::IParticleAssociator
Interface for a class which checks for a match between IParticles.
Definition: IObjectAssociator.h:19