![]() |
ATLAS Offline Software
|
#include <MatchingImplementation.h>
Public Member Functions | |
| MatchingImplementation (MatchingTool &mt, double threshold=0.4) | |
| const Trig::TrigDecisionTool * | tdt () const |
| bool | matchDistanceMatrix (const std::vector< std::vector< double > > &matrix, const Trig::MatchingStrategy::Strategy strategy=Trig::MatchingStrategy::MinimalSum, double threshold=0.0) const |
| void | setThreshold (double in) |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
Private Member Functions | |
| bool | assocIsMatched (const IAssociationStrategy::index_assignment_t &association, const std::vector< std::vector< double > > &matrix, double threshold) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| MatchingTool & | m_tool |
| std::map< Trig::MatchingStrategy::Strategy, std::unique_ptr< IAssociationStrategy > > | m_strategies |
| double | m_threshold |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels). | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging). | |
Definition at line 33 of file MatchingImplementation.h.
| Trig::MatchingImplementation::MatchingImplementation | ( | MatchingTool & | mt, |
| double | threshold = 0.4 ) |
Definition at line 12 of file MatchingImplementation.cxx.
|
private |
Definition at line 20 of file MatchingImplementation.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| bool Trig::MatchingImplementation::matchDistanceMatrix | ( | const std::vector< std::vector< double > > & | matrix, |
| const Trig::MatchingStrategy::Strategy | strategy = Trig::MatchingStrategy::MinimalSum, | ||
| double | threshold = 0.0 ) const |
Definition at line 35 of file MatchingImplementation.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.
|
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.
|
inline |
Definition at line 38 of file MatchingImplementation.h.
| const Trig::TrigDecisionTool * Trig::MatchingImplementation::tdt | ( | ) | const |
Definition at line 16 of file MatchingImplementation.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
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.
|
private |
Definition at line 42 of file MatchingImplementation.h.
|
private |
Definition at line 43 of file MatchingImplementation.h.
|
private |
Definition at line 41 of file MatchingImplementation.h.