CMS 3D CMS Logo

Classes | Typedefs | Functions

/data/refman/pasoursint/CMSSW_5_2_9/src/DataFormats/Scalers/interface/L1AcceptBunchCrossing.h File Reference

#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 Documentation

Definition at line 90 of file L1AcceptBunchCrossing.h.


Function Documentation

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

Pretty-print operator for L1AcceptBunchCrossings.

Definition at line 43 of file L1AcceptBunchCrossing.cc.

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

{
  char line[128];

  sprintf(line, 
  "L1AcceptBC Offset:%2d  Orbit:%10d [0x%8.8X]  BC:%4d [0x%3.3X]  EvtTyp:%d", 
          c.l1AcceptOffset(),
          c.orbitNumber(), 
          c.orbitNumber(), 
          c.bunchCrossing(), 
          c.bunchCrossing(), 
          c.eventType());
  s << line << std::endl;

  return s;
}