CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CalibFormats/CaloObjects/src/CaloSamples.cc File Reference

#include "CalibFormats/CaloObjects/interface/CaloSamples.h"
#include <math.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 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;
}