CMS 3D CMS Logo

Functions
EcalTBTDCRawInfo.cc File Reference
#include "TBDataFormats/EcalTBObjects/interface/EcalTBTDCRawInfo.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const EcalTBTDCRawInfo &tdcInfo)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const EcalTBTDCRawInfo tdcInfo 
)

Definition at line 3 of file EcalTBTDCRawInfo.cc.

References mps_fire::i, alignCSCRings::s, EcalTBTDCRawInfo::sample(), and EcalTBTDCRawInfo::size().

3  {
4  s << "TDC has " << tdcInfo.size() << " samples " << std::endl;
5  for (unsigned int i = 0; i < tdcInfo.size(); i++)
6  s << " " << tdcInfo.sample(i) << std::endl;
7  return s;
8 }
unsigned int size() const
Get methods.
const EcalTBTDCSample & sample(unsigned int i) const