test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 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 }
int i
Definition: DBlmapReader.cc:9
const EcalTBTDCSample & sample(unsigned int i) const
unsigned int size() const
Get methods.