CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 18 of file GctBlockHeader.cc.

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

19 {
20  os << "ID " << std::hex << h.blockId() << " : Length : " << h.blockLength()
21  << " : Samples " << h.nSamples() << " : BX "
22  << h.bxId() << " : Event " << h.eventId() << std::dec;
23  return os;
24 }
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.