CMS 3D CMS Logo

Functions
GctBlockHeader.cc File Reference
#include "EventFilter/GctRawToDigi/src/GctBlockHeader.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 12 of file GctBlockHeader.cc.

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

12  {
13  os << "ID " << std::hex << h.blockId() << " : Length : " << h.blockLength() << " : Samples " << h.nSamples()
14  << " : BX " << h.bxId() << " : Event " << h.eventId() << std::dec;
15  return os;
16 }
uint32_t bxId() const
Get the bunch crossing ID.
uint32_t eventId() const
Get the event ID.
uint32_t blockLength() const
Get the fundamental block length (for 1 time sample)
uint32_t blockId() const
Get the block ID.
uint32_t nSamples() const
Get the number of time samples.