CMS 3D CMS Logo

CaloSamples.cc File Reference

#include "CalibFormats/CaloObjects/interface/CaloSamples.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const CaloSamples &samples)


Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const CaloSamples samples 
)

Definition at line 25 of file CaloSamples.cc.

References lat::endl(), i, CaloSamples::id(), DetId::rawId(), and CaloSamples::size().

00025                                                                   {
00026   s << "DetId=" << samples.id().rawId();
00027   s << ", "<<  samples.size() << "samples" << std::endl;
00028   for (int i=0; i<samples.size(); i++)
00029     s << i << ":" << samples[i] << std::endl;
00030   return s;
00031 }


Generated on Tue Jun 9 17:51:04 2009 for CMSSW by  doxygen 1.5.4