#include <ostream>
#include "DataFormats/DetId/interface/DetId.h"
Go to the source code of this file.
Classes | |
class | CaloSamples |
Class which represents the charge/voltage measurements of an event/channel with the ADC decoding performed. More... | |
Defines | |
#define | CALOSAMPLES_H 1 |
Functions | |
std::ostream & | operator<< (std::ostream &s, const CaloSamples &samps) |
#define CALOSAMPLES_H 1 |
Definition at line 2 of file CaloSamples.h.
std::ostream& operator<< | ( | std::ostream & | s, | |
const CaloSamples & | samps | |||
) |
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 }