|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCOSTANALYSIS_COSTROSDATA_H
6 #define TRIGCOSTANALYSIS_COSTROSDATA_H 1
11 #include <boost/thread/tss.hpp>
30 void initialize(
const std::map<std::string, std::vector<uint32_t>>& rosToRobMap);
51 std::vector<uint32_t>
getROBForROS(
const std::string& rosName)
const;
82 MsgStream&
msg()
const;
99 std::map<std::string, std::vector<uint32_t>>
m_rosToRob ;
106 #endif // TRIGCOSTANALYSIS_COSTROSDATA_H
std::map< std::string, int > m_rosIdToBin
Cached mapping of ros id to bin in ROS histograms.
void initialize(const std::map< std::string, std::vector< uint32_t >> &rosToRobMap)
Create object based on ROS to ROB mapping.
int getBinForROS(const std::string &rosName) const
Return cached bin for given ROS name.
std::map< std::string, std::vector< uint32_t > > m_rosToRob
Mapping of ROS corresponding to ROB requests.
unsigned getNROS() const
Return number of saved unique ROSes.
std::vector< uint32_t > getROBForROS(const std::string &rosName) const
Return list of ROBs name for given ROS.
std::string getROBName(uint32_t robId) const
Create ROB name in hex string format.
const std::map< std::string, std::vector< uint32_t > > & getROStoROBMap() const
Return ROS name to ROB ids map.
Caches and propagates event data to be used by monitoring algorithms.
const std::map< uint32_t, std::string > & getROBtoROSMap() const
Return ROB id to ROS name map.
MsgStream & msg() const
Logging.
boost::thread_specific_ptr< MsgStream > m_msgStream
bool msgLvl(const MSG::Level lvl) const
Returns if requested level is same or higher than logging level.
std::map< uint32_t, std::string > m_robToRos
Mapping of ROB corresponding to ROS.
std::string getROSForROB(uint32_t robId) const
Return ROS name for given ROB.