1 #ifndef DATAFORMATS_HCALDIGI_HCALHISTOGRAMDIGI_H 2 #define DATAFORMATS_HCALDIGI_HCALHISTOGRAMDIGI_H 1 5 #include <boost/cstdint.hpp> 21 uint16_t
get(
int capid,
int bin)
const;
31 uint16_t
bins_[BINS_PER_HISTOGRAM*4];
HcalDetId key_type
For the sorted collection.
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.
std::ostream & operator<<(std::ostream &, const HcalHistogramDigi &digi)
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