ATLAS Offline Software
|
This class defined generic object to store operational info available during triggering online i.e. More...
#include <TrigOperationalInfo.h>
Public Member Functions | |
TrigOperationalInfo () | |
TrigOperationalInfo (const std::vector< std::string > &keys, const std::vector< float > &values) | |
unsigned int | defined (const std::string &name) const |
float | get (const std::string &name) const |
void | set (const std::string &name, float value) |
std::pair< std::vector< std::string >, std::vector< float > > | infos () const |
const std::vector< std::string > & | getKeys () const |
const std::vector< float > & | getValues () const |
void | updateAtLocation (unsigned int location, float value) |
Private Attributes | |
std::vector< std::string > | m_infoName |
std::vector< float > | m_infoValue |
This class defined generic object to store operational info available during triggering online i.e.
timing infomration. To avoid various problems reated to schema evolution this are just key: value pairs while value is always of type float (OK we can think about templating this for int and float maybe)
Definition at line 27 of file TrigOperationalInfo.h.
TrigOperationalInfo::TrigOperationalInfo | ( | ) |
Definition at line 10 of file TrigOperationalInfo.cxx.
TrigOperationalInfo::TrigOperationalInfo | ( | const std::vector< std::string > & | keys, |
const std::vector< float > & | values | ||
) |
Definition at line 14 of file TrigOperationalInfo.cxx.
unsigned int TrigOperationalInfo::defined | ( | const std::string & | name | ) | const |
Definition at line 21 of file TrigOperationalInfo.cxx.
float TrigOperationalInfo::get | ( | const std::string & | name | ) | const |
Definition at line 25 of file TrigOperationalInfo.cxx.
const std::vector< std::string > & TrigOperationalInfo::getKeys | ( | ) | const |
Definition at line 41 of file TrigOperationalInfo.cxx.
const std::vector< float > & TrigOperationalInfo::getValues | ( | ) | const |
Definition at line 45 of file TrigOperationalInfo.cxx.
std::pair< std::vector< std::string >, std::vector< float > > TrigOperationalInfo::infos | ( | ) | const |
Definition at line 37 of file TrigOperationalInfo.cxx.
void TrigOperationalInfo::set | ( | const std::string & | name, |
float | value | ||
) |
Definition at line 31 of file TrigOperationalInfo.cxx.
void TrigOperationalInfo::updateAtLocation | ( | unsigned int | location, |
float | value | ||
) |
Definition at line 49 of file TrigOperationalInfo.cxx.
|
private |
Definition at line 42 of file TrigOperationalInfo.h.
|
private |
Definition at line 43 of file TrigOperationalInfo.h.