CMS 3D CMS Logo

Classes | Typedefs | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/EventFilter/GctRawToDigi/src/GctBlockHeader.h File Reference

#include <ostream>
#include <stdint.h>
#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

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().

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