CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/CalibFormats/CaloObjects/interface/IntegerCaloSamples.h File Reference

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

Go to the source code of this file.

Classes

class  IntegerCaloSamples

Functions

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

Function Documentation

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

Definition at line 16 of file IntegerCaloSamples.cc.

References i, IntegerCaloSamples::id(), DetId::rawId(), asciidump::s, and IntegerCaloSamples::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;
}