#include <vector>
#include <iosfwd>
#include <string>
Go to the source code of this file.
Classes | |
class | LumiSummary::HLT |
class | LumiSummary::L1 |
class | LumiSummary |
Functions | |
std::ostream & | operator<< (std::ostream &s, const LumiSummary &lumiSummary) |
std::ostream& operator<< | ( | std::ostream & | s, |
const LumiSummary & | lumiSummary | ||
) |
Definition at line 173 of file LumiSummary.cc.
References LumiSummary::avgInsDelLumi(), LumiSummary::avgInsDelLumiErr(), LumiSummary::avgInsRecLumi(), LumiSummary::avgInsRecLumiErr(), LumiSummary::deadcount(), LumiSummary::deadFrac(), LumiSummary::hltinfo(), i, LumiSummary::isValid(), LumiSummary::l1info(), LumiSummary::liveFrac(), LumiSummary::lsNumber(), LumiSummary::lumiSecQual(), LumiSummary::lumiVersion(), LumiSummary::nHLTPath(), LumiSummary::nTriggerLine(), LumiSummary::numOrbit(), and LumiSummary::startOrbit().
{ s << "\nDumping LumiSummary\n\n"; if(!lumiSummary.isValid()){ s << " === Invalid Lumi values === \n"; } s << " lumiVersion = " << lumiSummary.lumiVersion() << "\n"; s << " avgInsDelLumi = " << lumiSummary.avgInsDelLumi() << "\n"; s << " avgInsDelLumiErr = " << lumiSummary.avgInsDelLumiErr() << "\n"; s << " lumiSecQual = " << lumiSummary.lumiSecQual() << "\n"; s << " deadCount = " << lumiSummary.deadcount() << "\n"; s << " deadFrac = " << (float)lumiSummary.deadFrac() << "\n"; s << " liveFrac = " << (float)lumiSummary.liveFrac() << "\n"; s << " lsNumber = " << lumiSummary.lsNumber() << "\n"; s << " startOrbit = " << lumiSummary.startOrbit() <<"\n"; s << " numOrbit = " << lumiSummary.numOrbit() <<"\n"; s << " avgInsRecLumi = " << lumiSummary.avgInsRecLumi() << "\n"; s << " avgInsRecLumiErr = " << lumiSummary.avgInsRecLumiErr() << "\n\n"; s << std::setw(15) << "l1name"; s << std::setw(15) << "l1count"; s << std::setw(15) << "l1prescale"; s << "\n"; size_t nTriggers=lumiSummary.nTriggerLine(); size_t nHLTPath=lumiSummary.nHLTPath(); for(unsigned int i = 0; i < nTriggers; ++i) { s << std::setw(15); s << lumiSummary.l1info(i).triggername; s << std::setw(15); s << lumiSummary.l1info(i).ratecount; s << std::setw(15); s << lumiSummary.l1info(i).prescale; s<<"\n"; } s << std::setw(15) << "hltpath"; s << std::setw(15) << "hltcount"; s << std::setw(15) << "hltprescale"; s << std::setw(15) << "hltinput"; s << "\n"; for(unsigned int i = 0; i < nHLTPath; ++i) { s << std::setw(15); s << lumiSummary.hltinfo(i).pathname; s << std::setw(15); s << lumiSummary.hltinfo(i).ratecount; s << std::setw(15); s << lumiSummary.hltinfo(i).prescale; s << std::setw(15); s << lumiSummary.hltinfo(i).inputcount; s << "\n"; } return s << "\n"; }