CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_0/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 71 of file CaloSamples.cc.

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