CMS 3D CMS Logo

GctBlockHeader.h File Reference

#include <ostream>
#include <vector>

Go to the source code of this file.

Classes

class  GctBlockHeader
 Simple class for holding the basic attributes of an 32-bit block header. More...

Typedefs

typedef std::vector
< GctBlockHeader
GctBlockHeaderCollection

Functions

std::ostream & operator<< (std::ostream &os, const GctBlockHeader &h)


Typedef Documentation

typedef std::vector<GctBlockHeader> GctBlockHeaderCollection

Definition at line 78 of file GctBlockHeader.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const GctBlockHeader h 
)

Definition at line 18 of file GctBlockHeader.cc.

References GctBlockHeader::blockId(), GctBlockHeader::blockLength(), GctBlockHeader::bxId(), GctBlockHeader::eventId(), and GctBlockHeader::nSamples().

00019 {
00020   os << "ID " << std::hex << h.blockId() << " : Length : " << h.blockLength()
00021      << " : Samples " << h.nSamples() << " : BX "
00022      << h.bxId() << " : Event " << h.eventId() << std::dec;
00023   return os;
00024 }


Generated on Tue Jun 9 17:52:51 2009 for CMSSW by  doxygen 1.5.4