CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 75 of file EcalTBEventHeader.cc.

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

75  {
76  s << "Run Number " << eventHeader.runNumber() << " Event Number " << eventHeader.eventNumber() << " Burst Number "
77  << eventHeader.burstNumber();
78  return s;
79 }
int eventNumber() const
Returns the event number.
short burstNumber() const
Returns the burst number.