ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMonAlg.cxx File Reference
#include <iostream>
#include <sstream>
#include "AthenaKernel/errorcheck.h"
#include "TrigMonitoringEvent/TrigMonAlg.h"
#include "TrigMonitoringEvent/TrigMonRoi.h"
Include dependency graph for TrigMonAlg.cxx:

Go to the source code of this file.

Namespaces

namespace  AlgBits

Functions

std::string str (const TrigMonAlg &o)

Variables

const uint32_t AlgBits::maskCache = 0x80
const uint32_t AlgBits::maskPos = 0x7f

Function Documentation

◆ str()

std::string str ( const TrigMonAlg & o)

Definition at line 180 of file TrigMonAlg.cxx.

181{
182 std::stringstream s;
183 s << "TrigMonAlg: called=" << o.isCalled()
184 << " cached=" << o.isCached()
185 << " timer=" << o.elapsed()
186 << " rois=";
187
188 for(unsigned int i = 0; i < o.getNRoi(); ++i) {
189 s << " " << int(o.getRoiId(i)) << "\n";
190 }
191
192 return s.str();
193}
uint8_t getNRoi() const
uint8_t getRoiId(unsigned int i=0) const
bool isCached() const
double elapsed() const
Definition TrigMonAlg.h:57
bool isCalled() const