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);
43 void writeXML(std::ofstream* out)
const;
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 writeASCII(std::ofstream &out) const
void setMask(unsigned int col, unsigned int row, unsigned int mask)
unsigned int mask(unsigned int col, unsigned int row) const
void writeXML(std::ofstream *out) const
void writeBinary(std::ofstream &out) const
friend std::ostream & operator<<(std::ostream &s, const PixelROCMaskBits &maskbits)
This class stores the name and related hardware mappings for a ROC.
int readBinary(const PixelROCName &rocid, std::ifstream &in)