CMS 3D CMS Logo

Classes | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibFormats/CaloObjects/interface/CaloSamples.h File Reference

#include <ostream>
#include "DataFormats/DetId/interface/DetId.h"

Go to the source code of this file.

Classes

class  CaloSamples

Functions

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

Function Documentation

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

Definition at line 50 of file CaloSamples.cc.

References i, CaloSamples::id(), DetId::rawId(), asciidump::s, and CaloSamples::size().

                                                                  {
  s << "DetId=" << samples.id().rawId();
  s << ", "<<  samples.size() << "samples" << std::endl;
  for (int i=0; i<samples.size(); i++)
    s << i << ":" << samples[i] << std::endl;
  return s;
}