1 #ifndef PixelROCTrimBits_h
2 #define PixelROCTrimBits_h
20 class PixelROCTrimBits;
21 std::ostream&
operator<<(std::ostream&
s,
const PixelROCTrimBits& trimbits);
37 unsigned int trim(
unsigned int col,
unsigned int row)
const;
39 void setTrim(
unsigned int col,
unsigned int row,
unsigned int trim);
44 void writeXML(std::ofstream* out)
const;
int read(PixelROCName rocid, std::string in)
void setROCTrimBits(PixelROCName rocid, std::string bits)
friend std::ostream & operator<<(std::ostream &s, const PixelROCTrimBits &trimbits)
void writeBinary(std::ofstream &out) const
int readBinary(PixelROCName rocid, std::ifstream &in)
unsigned int trim(unsigned int col, unsigned int row) const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
void writeXML(std::ofstream *out) const
PixelROCName name() const
void setTrim(unsigned int col, unsigned int row, unsigned int trim)
unsigned char bits_[2080]
void writeASCII(std::ofstream &out) const
This class stores the name and related hardware mappings for a ROC.