1 #ifndef PixelROCMaskBits_h 2 #define PixelROCMaskBits_h 16 class PixelROCMaskBits;
17 std::ostream&
operator<<(std::ostream&
s,
const PixelROCMaskBits& maskbits);
36 unsigned int mask(
unsigned int col,
unsigned int row)
const;
38 void setMask(
unsigned int col,
unsigned int row,
unsigned int mask);
void setROCMaskBits(PixelROCName &rocid, std::string bits)
int read(const PixelROCName &rocid, std::string in)
PixelROCName name() const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
void writeBinary(std::ofstream &out) const
void writeASCII(std::ofstream &out) const
void setMask(unsigned int col, unsigned int row, unsigned int mask)
void writeXML(std::ofstream *out) const
friend std::ostream & operator<<(std::ostream &s, const PixelROCMaskBits &maskbits)
unsigned int mask(unsigned int col, unsigned int row) const
This class stores the name and related hardware mappings for a ROC.
int readBinary(const PixelROCName &rocid, std::ifstream &in)