22 (
int)(
bins_[BINS_PER_HISTOGRAM*3+(bin%BINS_PER_HISTOGRAM)]);
31 s << digi.
id() << std::endl;
33 s <<
' ' << std::setw(2) <<
i;
34 for (
int capid=0; capid<4; capid++)
35 s << std::setw(6) << digi.
get(capid,i) <<
" ";
std::ostream & operator<<(std::ostream &s, const HcalHistogramDigi &digi)
static const int BINS_PER_HISTOGRAM
uint16_t bins_[BINS_PER_HISTOGRAM *4]
const HcalDetId & id() const
bin
set the eta bin as selection string.
uint16_t get(int capid, int bin) const
get the contents of the specified bin for the specified capid (0-3)
uint16_t * getArray(int capid)
get the array for the specified capid
int getSum(int bin) const
get the contents of the specified bin summed over capids