CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_9/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;
}