CMS 3D CMS Logo

Classes | Typedefs | Functions
L1AcceptBunchCrossing.h File Reference
#include <ostream>
#include <vector>

Go to the source code of this file.

Classes

class  L1AcceptBunchCrossing
 

Typedefs

typedef std::vector< L1AcceptBunchCrossingL1AcceptBunchCrossingCollection
 

Functions

std::ostream & operator<< (std::ostream &s, const L1AcceptBunchCrossing &c)
 Pretty-print operator for L1AcceptBunchCrossings. More...
 

Typedef Documentation

Definition at line 83 of file L1AcceptBunchCrossing.h.

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1AcceptBunchCrossing c 
)

Pretty-print operator for L1AcceptBunchCrossings.

Pretty-print operator for L1AcceptBunchCrossings.

Definition at line 31 of file L1AcceptBunchCrossing.cc.

References L1AcceptBunchCrossing::bunchCrossing(), L1AcceptBunchCrossing::eventType(), L1AcceptBunchCrossing::l1AcceptOffset(), mps_splice::line, L1AcceptBunchCrossing::orbitNumber(), and alignCSCRings::s.

31  {
32  char line[128];
33 
34  sprintf(line,
35  "L1AcceptBC Offset:%2d Orbit:%10d [0x%8.8X] BC:%4d [0x%3.3X] EvtTyp:%d",
36  c.l1AcceptOffset(),
37  c.orbitNumber(),
38  c.orbitNumber(),
39  c.bunchCrossing(),
40  c.bunchCrossing(),
41  c.eventType());
42  s << line << std::endl;
43 
44  return s;
45 }
unsigned int bunchCrossing() const
unsigned int eventType() const
unsigned int orbitNumber() const