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

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

Definition at line 4 of file EcalTBTDCRawInfo.cc.

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

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