CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

71  {
72  s << "DetId=" << samples.id().rawId();
73  s << ", "<< samples.size() << "samples" << std::endl;
74  for (int i=0; i<samples.size(); i++)
75  s << i << ":" << samples[i] << std::endl;
76  return s;
77 }
int i
Definition: DBlmapReader.cc:9