1 #ifndef DATAFORMATS_SIPIXELCALIBDIGI_SIPIXELCALIBDIGI_H 2 #define DATAFORMATS_SIPIXELCALIBDIGI_SIPIXELCALIBDIGI_H 21 void setrowcol(uint16_t row, uint16_t col);
25 uint32_t
getsum(uint32_t ipoint)
const {
34 std::vector<uint32_t>
getsum()
const;
64 return output <<
"this pixel (row " << digi.
row() <<
", col " << digi.
col() <<
" has " << digi.
getnpoints()
65 <<
" calibration points.";
void init(uint16_t row, uint16_t col, uint16_t npoints)
std::vector< uint32_t > getsum() const
std::pair< uint16_t, uint16_t > row_and_col() const
virtual ~SiPixelCalibDigi()
SiPixelCalibDigi(int packed_value, uint16_t row, uint16_t col)
std::vector< uint8_t > getnentries() const
uint32_t getsum(uint32_t ipoint) const
SiPixelCalibDigi(int packed_value)
void setrowcol(uint16_t row, uint16_t col)
std::pair< uint16_t, uint16_t > m_row_and_column
std::ostream & operator<<(std::ostream &output, const SiPixelCalibDigi &digi)
uint32_t getnentries(uint32_t ipoint) const
std::vector< datacontainer > m_data
uint32_t getsumsquares(uint32_t ipoint) const
std::vector< uint32_t > getsumsquares() const
uint32_t getnpoints() const
void fill(uint32_t ipoint, uint32_t adcval)
bool operator<(const SiPixelCalibDigi &one, const SiPixelCalibDigi &other)