#include <HelperFunctions.h>
|  | 
| template<class T > | 
| static StatusCode | bindToolHandle (ToolHandle< T > &, std::string) | 
|  | 
|  | 
| std::string | m_name | 
|  | 
| 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... 
 | 
|  | 
◆ HelperFunctions()
  
  | 
        
          | PanTau::HelperFunctions::HelperFunctions | ( | const std::string & | name = "" | ) |  |  | inline | 
 
 
◆ ~HelperFunctions()
  
  | 
        
          | virtual PanTau::HelperFunctions::~HelperFunctions | ( |  | ) |  |  | inlinevirtual | 
 
 
◆ bindToolHandle()
template<class T > 
  
  | 
        
          | static StatusCode PanTau::HelperFunctions::bindToolHandle | ( | ToolHandle< T > & | , |  
          |  |  | std::string |  |  
          |  | ) |  |  |  | inlinestatic | 
 
 
◆ convertNumberToString()
  
  | 
        
          | std::string PanTau::HelperFunctions::convertNumberToString | ( | double | x | ) | const |  | virtual | 
 
 
◆ getBinIndex()
  
  | 
        
          | int PanTau::HelperFunctions::getBinIndex | ( | const std::vector< double > & | binEdges, |  
          |  |  | double | value |  
          |  | ) |  | const |  | virtual | 
 
 
◆ getName()
  
  | 
        
          | const std::string& PanTau::HelperFunctions::getName | ( |  | ) | const |  | inline | 
 
 
◆ initMessaging()
  
  | 
        
          | void AthMessaging::initMessaging | ( |  | ) | const |  | privateinherited | 
 
Initialize our message level and MessageSvc. 
This method should only be called once. 
Definition at line 39 of file AthMessaging.cxx.
 
 
◆ msg() [1/2]
  
  | 
        
          | MsgStream & asg::AsgMessaging::msg | ( |  | ) | const |  | inherited | 
 
The standard message stream. 
- Returns
- A reference to the default message stream of this object. 
Definition at line 49 of file AsgMessaging.cxx.
   50 #ifndef XAOD_STANDALONE 
   52 #else // not XAOD_STANDALONE 
   54 #endif // not XAOD_STANDALONE 
 
 
 
◆ msg() [2/2]
  
  | 
        
          | MsgStream & asg::AsgMessaging::msg | ( | const MSG::Level | lvl | ) | const |  | inherited | 
 
The standard message stream. 
- Parameters
- 
  
    | lvl | The message level to set the stream to |  
 
- Returns
- A reference to the default message stream, set to level "lvl" 
Definition at line 57 of file AsgMessaging.cxx.
   58 #ifndef XAOD_STANDALONE 
   60 #else // not XAOD_STANDALONE 
   63 #endif // not XAOD_STANDALONE 
 
 
 
◆ msgLvl()
  
  | 
        
          | bool asg::AsgMessaging::msgLvl | ( | const MSG::Level | lvl | ) | const |  | inherited | 
 
Test the output level of the object. 
- Parameters
- 
  
    | lvl | The message level to test against |  
 
- Returns
- boolean Indicting if messages at given level will be printed 
- 
trueIf messages at level "lvl" will be printed
Definition at line 41 of file AsgMessaging.cxx.
   42 #ifndef XAOD_STANDALONE 
   43       return ::AthMessaging::msgLvl( lvl );
 
   44 #else // not XAOD_STANDALONE 
   45       return m_msg.msgLevel( lvl );
 
   46 #endif // not XAOD_STANDALONE 
 
 
 
◆ setLevel()
  
  | 
        
          | void AthMessaging::setLevel | ( | MSG::Level | lvl | ) |  |  | inherited | 
 
 
◆ stddev()
  
  | 
        
          | double PanTau::HelperFunctions::stddev | ( | double | sumOfSquares, |  
          |  |  | double | sumOfValues, |  
          |  |  | int | numConsts |  
          |  | ) |  | const |  | virtual | 
 
Definition at line 30 of file Reconstruction/PanTau/PanTauAlgs/Root/HelperFunctions.cxx.
   34   if(numConsts == 1) 
return 0;
 
   35   double a = sumOfSquares / (
static_cast<double>(numConsts));
 
   36   double b = sumOfValues / (
static_cast<double>(numConsts));
 
   37   double stdDev = 
a - 
b*
b;
 
   38   if(stdDev < 0.) stdDev = 0;
 
   39   return std::sqrt(stdDev);
 
 
 
 
◆ ATLAS_THREAD_SAFE
  
  | 
        
          | std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |  | mutableprivateinherited | 
 
 
◆ m_imsg
  
  | 
        
          | std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |  | mutableprivateinherited | 
 
 
◆ m_lvl
  
  | 
        
          | std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |  | mutableprivateinherited | 
 
 
◆ m_msg_tls
  
  | 
        
          | boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |  | mutableprivateinherited | 
 
MsgStream instance (a std::cout like with print-out levels) 
Definition at line 132 of file AthMessaging.h.
 
 
◆ m_name
  
  | 
        
          | std::string PanTau::HelperFunctions::m_name |  | private | 
 
 
◆ m_nm
  
  | 
        
          | std::string AthMessaging::m_nm |  | privateinherited | 
 
 
The documentation for this class was generated from the following files: