CMS 3D CMS Logo

CSCTFTBEventHeader.cc File Reference

#include <iostream>
#include <stdio.h>
#include "EventFilter/CSCTFRawToDigi/src/CSCTFTBEventHeader.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const CSCTFTBEventHeader &header)

Variables

static const char *const kIdString = "$Id: CSCTFTBEventHeader.cc,v 1.1 2007/04/26 23:39:19 kkotov Exp $"
static const char *const kTagString = "$Name: V02-15-07 $"


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const CSCTFTBEventHeader header 
)

Definition at line 131 of file CSCTFTBEventHeader.cc.

References lat::endl(), CSCTFTBEventHeader::getActiveDT(), CSCTFTBEventHeader::getActiveFront(), CSCTFTBEventHeader::getBXnum(), CSCTFTBEventHeader::getLvl1num(), CSCTFTBEventHeader::getNumActiveFront(), CSCTFTBEventHeader::getPtLutSpy(), CSCTFTBEventHeader::getZeroSupp(), CSCTFTBEventHeader::numBX(), CSCTFTBEventHeader::numLinks(), and CSCTFTBEventHeader::numMPC().

00131                                                                                 {
00132   stream << std::dec <<"Event Header for L1A " << header.getLvl1num()<<" :\n"
00133          << " BX " << header.getBXnum() << std::endl
00134          << " " << header.numMPC() << " MPC(s)" 
00135          << " with " << header.numLinks() << " links per MPC.\n"
00136          << " There are " << header.numBX() << " BX in this event." << std::endl;
00137   if(header.getZeroSupp()) stream << " Zero Suppression is active.\n";
00138   if(header.getActiveDT()) stream << " DT is active.\n";
00139   if(header.getPtLutSpy()) 
00140     stream << " PT LUT data present on link " << header.getPtLutSpy()<<".\n";
00141   if(header.getActiveFront())
00142     {
00143       stream << " There are "<<header.getNumActiveFront()<<" active front FPGAs." <<std::endl;
00144     }
00145   stream<<std::hex;
00146   return stream;
00147 }


Variable Documentation

const char* const kIdString = "$Id: CSCTFTBEventHeader.cc,v 1.1 2007/04/26 23:39:19 kkotov Exp $" [static]

Definition at line 97 of file CSCTFTBEventHeader.cc.

const char* const kTagString = "$Name: V02-15-07 $" [static]

Definition at line 98 of file CSCTFTBEventHeader.cc.


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