![]() |
ATLAS Offline Software
|
#include <BDTHelper.h>
Public Member Functions | |
| BDTHelper () | |
| ~BDTHelper () | |
| StatusCode | initialize (const TString &weightFileName) |
| float | getGradBoostMVA (const std::map< TString, float > &availableVariables) const |
| float | getResponse (const std::map< TString, float * > &availableVariables) const |
| MVAUtils::BDT * | getBDT () const |
| 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 | |
| std::vector< TString > | parseString (const TString &str, const TString &delim=",") const |
| std::vector< float > | getInputVariables (const std::map< TString, float > &availableVariables) const |
| std::vector< float > | getInputVariables (const std::map< TString, float * > &availableVariables) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::unique_ptr< MVAUtils::BDT > | m_BDT |
| std::vector< TString > | m_inputVariableNames |
| 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 16 of file BDTHelper.h.
| tauRecTools::BDTHelper::BDTHelper | ( | ) |
Definition at line 14 of file BDTHelper.cxx.
| tauRecTools::BDTHelper::~BDTHelper | ( | ) |
Definition at line 20 of file BDTHelper.cxx.
|
inline |
Definition at line 27 of file BDTHelper.h.
| float tauRecTools::BDTHelper::getGradBoostMVA | ( | const std::map< TString, float > & | availableVariables | ) | const |
Definition at line 113 of file BDTHelper.cxx.
|
private |
Definition at line 96 of file BDTHelper.cxx.
|
private |
Definition at line 79 of file BDTHelper.cxx.
| float tauRecTools::BDTHelper::getResponse | ( | const std::map< TString, float * > & | availableVariables | ) | const |
Definition at line 126 of file BDTHelper.cxx.
| StatusCode tauRecTools::BDTHelper::initialize | ( | const TString & | weightFileName | ) |
Definition at line 23 of file BDTHelper.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.
|
private |
Definition at line 55 of file BDTHelper.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 |
Definition at line 36 of file BDTHelper.h.
|
mutableprivateinherited |
|
private |
Definition at line 37 of file BDTHelper.h.
|
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.