#include <ostream>
#include <vector>
Go to the source code of this file.
Classes | |
class | L1AcceptBunchCrossing |
Typedefs | |
typedef std::vector < L1AcceptBunchCrossing > | L1AcceptBunchCrossingCollection |
Functions | |
std::ostream & | operator<< (std::ostream &s, const L1AcceptBunchCrossing &c) |
Pretty-print operator for L1AcceptBunchCrossings. |
typedef std::vector<L1AcceptBunchCrossing> L1AcceptBunchCrossingCollection |
Definition at line 90 of file L1AcceptBunchCrossing.h.
std::ostream& operator<< | ( | std::ostream & | s, | |
const L1AcceptBunchCrossing & | c | |||
) |
Pretty-print operator for L1AcceptBunchCrossings.
Definition at line 42 of file L1AcceptBunchCrossing.cc.
References L1AcceptBunchCrossing::bunchCrossing(), lat::endl(), L1AcceptBunchCrossing::eventType(), L1AcceptBunchCrossing::l1AcceptOffset(), parsecf::pyparsing::line(), and L1AcceptBunchCrossing::orbitNumber().
00043 { 00044 char line[128]; 00045 00046 sprintf(line, 00047 "L1AcceptBC Offset:%2d Orbit:%10d [0x%8.8X] BC:%4d [0x%3.3X] EvtTyp:%d", 00048 c.l1AcceptOffset(), 00049 c.orbitNumber(), 00050 c.orbitNumber(), 00051 c.bunchCrossing(), 00052 c.bunchCrossing(), 00053 c.eventType()); 00054 s << line << std::endl; 00055 00056 return s; 00057 }