![]() |
ATLAS Offline Software
|
Matches a muon to a jet via ghost association or a delta-R. More...
#include <MuJetGhostDRMatcher.h>
Public Member Functions | |
| MuJetGhostDRMatcher (double dR, bool useRapidity=true) | |
| Constructor takes same arguments as the DeltaRMatcher. More... | |
| virtual bool | objectsMatch (const xAOD::IParticle &mu, const xAOD::IParticle &jet) const override |
| Check for a match via ghost association or delta-R. More... | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. More... | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. More... | |
Private Attributes | |
| std::unique_ptr< IParticleAssociator > | m_drMatcher |
| The delta-R matcher. More... | |
| std::string | m_nm |
| Message source name. More... | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More... | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More... | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More... | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More... | |
Matches a muon to a jet via ghost association or a delta-R.
Ghost association is done by looking for the muon's ID track in the jet's list of ghost tracks. The Delta-R matching is implemented via the DeltaRMatcher. The final result is a match if either the ghost association or the delta-R succeeds.
Definition at line 30 of file MuJetGhostDRMatcher.h.
| ORUtils::MuJetGhostDRMatcher::MuJetGhostDRMatcher | ( | double | dR, |
| bool | useRapidity = true |
||
| ) |
Constructor takes same arguments as the DeltaRMatcher.
Definition at line 23 of file MuJetGhostDRMatcher.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
| lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
| lvl | The message level to test against |
true If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.cxx.
|
overridevirtual |
Check for a match via ghost association or delta-R.
Implements ORUtils::IParticleAssociator.
Definition at line 32 of file MuJetGhostDRMatcher.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
The delta-R matcher.
Definition at line 46 of file MuJetGhostDRMatcher.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
1.8.18