1 #ifndef DATAFORMATS_SIPIXELCALIBDIGI_SIPIXELCALIBDIGI_H 2 #define DATAFORMATS_SIPIXELCALIBDIGI_SIPIXELCALIBDIGI_H 34 std::vector<uint32_t>
getsum()
const;
55 return one.getnpoints() <
other.getnpoints();
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< uint8_t > getnentries() const
uint32_t getsum(uint32_t ipoint) const
uint32_t getnentries(uint32_t ipoint) const
virtual ~SiPixelCalibDigi()
SiPixelCalibDigi(int packed_value, uint16_t row, uint16_t col)
uint32_t getnpoints() const
std::vector< uint32_t > getsum() 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)
std::pair< uint16_t, uint16_t > row_and_col() const
std::vector< datacontainer > m_data
std::vector< uint32_t > getsumsquares() const
uint32_t getsumsquares(uint32_t ipoint) const
void fill(uint32_t ipoint, uint32_t adcval)
bool operator<(const SiPixelCalibDigi &one, const SiPixelCalibDigi &other)