#include <ostream>
#include "DataFormats/DetId/interface/DetId.h"
Go to the source code of this file.
Classes | |
class | IntegerCaloSamples |
Class which represents the linear charge/voltage measurements of an event/channel, but with defined resolution. More... | |
Defines | |
#define | INTEGERCALOSAMPLES_H 1 |
Functions | |
std::ostream & | operator<< (std::ostream &s, const IntegerCaloSamples &samps) |
#define INTEGERCALOSAMPLES_H 1 |
Definition at line 2 of file IntegerCaloSamples.h.
std::ostream& operator<< | ( | std::ostream & | s, | |
const IntegerCaloSamples & | samps | |||
) |
Definition at line 16 of file IntegerCaloSamples.cc.
References lat::endl(), i, IntegerCaloSamples::id(), DetId::rawId(), and IntegerCaloSamples::size().
00016 { 00017 s << "DetId=" << samples.id().rawId(); 00018 s << ", "<< samples.size() << "samples" << std::endl; 00019 for (int i=0; i<samples.size(); i++) 00020 s << i << ":" << samples[i] << std::endl; 00021 return s; 00022 }