#include "DataFormats/HcalDigi/interface/HcalHistogramDigi.h"
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const HcalHistogramDigi &digi) |
std::ostream& operator<< | ( | std::ostream & | s, | |
const HcalHistogramDigi & | digi | |||
) |
Definition at line 30 of file HcalHistogramDigi.cc.
References HcalHistogramDigi::BINS_PER_HISTOGRAM, lat::endl(), HcalHistogramDigi::get(), i, and HcalHistogramDigi::id().
00030 { 00031 s << digi.id() << std::endl; 00032 for (int i=0; i<HcalHistogramDigi::BINS_PER_HISTOGRAM; i++) { 00033 s << ' ' << std::setw(2) << i; 00034 for (int capid=0; capid<4; capid++) 00035 s << std::setw(6) << digi.get(capid,i) << " "; 00036 s << std::endl; 00037 } 00038 return s; 00039 }