CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/CalibFormats/CaloObjects/src/IntegerCaloSamples.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 16 of file IntegerCaloSamples.cc.

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