CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
EcalTBEventHeader.cc File Reference
#include "TBDataFormats/EcalTBObjects/interface/EcalTBEventHeader.h"
#include <cstdio>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const EcalTBEventHeader &eventHeader)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EcalTBEventHeader eventHeader 
)

Definition at line 65 of file EcalTBEventHeader.cc.

References EcalTBEventHeader::burstNumber(), EcalTBEventHeader::eventNumber(), EcalTBEventHeader::runNumber(), and asciidump::s.

65  {
66  s << "Run Number " << eventHeader.runNumber() << " Event Number " << eventHeader.eventNumber() << " Burst Number " << eventHeader.burstNumber() ;
67  return s;
68 }
short burstNumber() const
Returns the burst number.
int runNumber() const
int eventNumber() const
Returns the event number.
string s
Definition: asciidump.py:422