#include "CalibFormats/CaloObjects/interface/CaloSamples.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const CaloSamples &samples) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const CaloSamples & | samples | |||
) |
Definition at line 25 of file CaloSamples.cc.
References lat::endl(), i, CaloSamples::id(), DetId::rawId(), and CaloSamples::size().
00025 { 00026 s << "DetId=" << samples.id().rawId(); 00027 s << ", "<< samples.size() << "samples" << std::endl; 00028 for (int i=0; i<samples.size(); i++) 00029 s << i << ":" << samples[i] << std::endl; 00030 return s; 00031 }