![]()  | 
  
    ATLAS Offline Software
    
   | 
 
Caches and propagates event data to be used by monitoring algorithms. More...
#include <CostROSData.h>
Public Member Functions | |
| void | initialize (const std::map< std::string, std::vector< uint32_t >> &rosToRobMap) | 
| Create object based on ROS to ROB mapping.  More... | |
| int | getBinForROS (const std::string &rosName) const | 
| Return cached bin for given ROS name.  More... | |
| std::string | getROSForROB (uint32_t robId) const | 
| Return ROS name for given ROB.  More... | |
| std::vector< uint32_t > | getROBForROS (const std::string &rosName) const | 
| Return list of ROBs name for given ROS.  More... | |
| std::string | getROBName (uint32_t robId) const | 
| Create ROB name in hex string format.  More... | |
| unsigned | getNROS () const | 
| Return number of saved unique ROSes.  More... | |
| const std::map< std::string, std::vector< uint32_t > > & | getROStoROBMap () const | 
| Return ROS name to ROB ids map.  More... | |
| const std::map< uint32_t, std::string > & | getROBtoROSMap () const | 
| Return ROB id to ROS name map.  More... | |
| MsgStream & | msg () const | 
| Logging.  More... | |
| MsgStream & | msg (const MSG::Level lvl) const | 
| Logging on a given level.  More... | |
| bool | msgLvl (const MSG::Level lvl) const | 
| Returns if requested level is same or higher than logging level.  More... | |
Private Attributes | |
| std::map< std::string, std::vector< uint32_t > > | m_rosToRob | 
| Mapping of ROS corresponding to ROB requests.  More... | |
| std::map< uint32_t, std::string > | m_robToRos | 
| Mapping of ROB corresponding to ROS.  More... | |
| std::map< std::string, int > | m_rosIdToBin | 
| Cached mapping of ros id to bin in ROS histograms.  More... | |
| boost::thread_specific_ptr< MsgStream > | m_msgStream | 
Caches and propagates event data to be used by monitoring algorithms.
The cache is created on passed rosToRob map
Definition at line 24 of file CostROSData.h.
| int CostROSData::getBinForROS | ( | const std::string & | rosName | ) | const | 
Return cached bin for given ROS name.
| [in] | rosName | ROS name | 
Definition at line 26 of file CostROSData.cxx.
      
  | 
  inline | 
Return number of saved unique ROSes.
Definition at line 64 of file CostROSData.h.
| std::vector< uint32_t > CostROSData::getROBForROS | ( | const std::string & | rosName | ) | const | 
Return list of ROBs name for given ROS.
| [in] | rosName | ROS name | 
Definition at line 45 of file CostROSData.cxx.
| std::string CostROSData::getROBName | ( | uint32_t | robId | ) | const | 
Create ROB name in hex string format.
| [in] | robId | ROB id | 
Definition at line 54 of file CostROSData.cxx.
      
  | 
  inline | 
Return ROB id to ROS name map.
Definition at line 76 of file CostROSData.h.
| std::string CostROSData::getROSForROB | ( | uint32_t | robId | ) | const | 
Return ROS name for given ROB.
| [in] | robId | ROB id | 
Definition at line 36 of file CostROSData.cxx.
      
  | 
  inline | 
Return ROS name to ROB ids map.
Definition at line 70 of file CostROSData.h.
| void CostROSData::initialize | ( | const std::map< std::string, std::vector< uint32_t >> & | rosToRobMap | ) | 
| MsgStream & CostROSData::msg | ( | ) | const | 
| MsgStream & CostROSData::msg | ( | const MSG::Level | lvl | ) | const | 
Logging on a given level.
| [in] | lvl | Verbosity level | 
Definition at line 64 of file CostROSData.cxx.
| bool CostROSData::msgLvl | ( | const MSG::Level | lvl | ) | const | 
Returns if requested level is same or higher than logging level.
| [in] | lvl | Verbosity level | 
Definition at line 68 of file CostROSData.cxx.
      
  | 
  mutableprivate | 
Definition at line 103 of file CostROSData.h.
      
  | 
  private | 
Mapping of ROB corresponding to ROS.
Definition at line 100 of file CostROSData.h.
      
  | 
  private | 
Cached mapping of ros id to bin in ROS histograms.
Definition at line 101 of file CostROSData.h.
      
  | 
  private | 
Mapping of ROS corresponding to ROB requests.
Definition at line 99 of file CostROSData.h.
 1.8.18