ATLAS Offline Software
Namespaces | Functions | Variables
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

 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 }
TrigMonAlg::isCached
bool isCached() const
Definition: TrigMonAlg.cxx:136
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TrigMonAlg::getRoiId
uint8_t getRoiId(unsigned int i=0) const
Definition: TrigMonAlg.cxx:116
TrigMonAlg::getNRoi
uint8_t getNRoi() const
Definition: TrigMonAlg.cxx:107
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
TrigMonAlg::elapsed
double elapsed() const
Definition: TrigMonAlg.h:57
lumiFormat.i
int i
Definition: lumiFormat.py:85
TrigMonAlg::isCalled
bool isCalled() const
Definition: TrigMonAlg.cxx:145