ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfVar.h File Reference
#include "AthenaKernel/CLASS_DEF.h"
#include "CxxUtils/checker_macros.h"
#include <iostream>
#include <string>
#include <vector>
#include "TrigMonitoringEvent/TrigMonVar.h"
Include dependency graph for TrigConfVar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrigConfVar

Namespaces

namespace  Trig
 The common trigger namespace for trigger analysis tools.

Functions

std::string str (const TrigConfVar &)
uint16_t ReserveVarId Trig::ATLAS_NOT_THREAD_SAFE (const std::string &name)
uint16_t ReserveVarId Trig::ATLAS_NOT_THREAD_SAFE (const std::string &name, uint16_t id)
bool FindVarId Trig::ATLAS_NOT_THREAD_SAFE (const std::string &name, uint16_t &id)
bool FindVarName Trig::ATLAS_NOT_THREAD_SAFE (const uint16_t id, std::string &name)
std::vector< TrigConfVar > GetCurrentTrigConfVarVector Trig::ATLAS_NOT_THREAD_SAFE ()
bool operator== (const TrigConfVar &lhs, const TrigConfVar &rhs)
bool operator== (const TrigConfVar &key, const std::string &str)
bool operator== (const std::string &str, const TrigConfVar &key)
bool operator== (const TrigConfVar &key, const unsigned int id)
bool operator== (const unsigned int id, const TrigConfVar &key)
bool operator== (const TrigConfVar &key, const TrigMonVar &var)
bool operator== (const TrigMonVar &var, const TrigConfVar &key)

Function Documentation

◆ operator==() [1/7]

bool operator== ( const std::string & str,
const TrigConfVar & key )
inline

Definition at line 75 of file TrigConfVar.h.

75 {
76 return str == key.getName();
77}

◆ operator==() [2/7]

bool operator== ( const TrigConfVar & key,
const std::string & str )
inline

Definition at line 72 of file TrigConfVar.h.

72 {
73 return key.getName() == str;
74}

◆ operator==() [3/7]

bool operator== ( const TrigConfVar & key,
const TrigMonVar & var )
inline

Definition at line 85 of file TrigConfVar.h.

85 {
86 return key.getId() == var.getId();
87}

◆ operator==() [4/7]

bool operator== ( const TrigConfVar & key,
const unsigned int id )
inline

Definition at line 78 of file TrigConfVar.h.

78 {
79 return key.getId() == id;
80}

◆ operator==() [5/7]

bool operator== ( const TrigConfVar & lhs,
const TrigConfVar & rhs )
inline

Definition at line 69 of file TrigConfVar.h.

69 {
70 return lhs.getId() == rhs.getId() || lhs.getName() == rhs.getName();
71}
uint32_t getId() const
Definition TrigConfVar.h:40
const std::string & getName() const
Definition TrigConfVar.h:37

◆ operator==() [6/7]

bool operator== ( const TrigMonVar & var,
const TrigConfVar & key )
inline

Definition at line 88 of file TrigConfVar.h.

88 {
89 return key.getId() == var.getId();
90}

◆ operator==() [7/7]

bool operator== ( const unsigned int id,
const TrigConfVar & key )
inline

Definition at line 81 of file TrigConfVar.h.

81 {
82 return id == key.getId();
83}

◆ str()

std::string str ( const TrigConfVar & o)

Definition at line 38 of file TrigConfVar.cxx.

39{
40 std::stringstream s;
41 s << "TrigConfVar: " << o.name() << "=" << o.id();
42
43 return s.str();
44}
uint32_t id() const
Definition TrigConfVar.h:39
const std::string & name() const
Definition TrigConfVar.h:36