1 #ifndef PixelROCDACSettings_h 2 #define PixelROCDACSettings_h 51 virtual void writeXML(std::ofstream* out)
const;
54 void getDACs(std::vector<unsigned int>& dacs)
const;
55 void getDACs(std::map<std::string, unsigned int>& dacs)
const;
57 void setDAC(
unsigned int dacaddress,
unsigned int dacvalue);
58 void setDACs(std::map<std::string, unsigned int>& dacs);
60 void compareDACs(std::map<std::string, unsigned int>& dacs,
61 std::map<std::string, bool>& changes,
62 std::map<std::string, unsigned int>& previous);
void setVIbias_roc(bits8 vIbias_roc)
unsigned int getDac(std::string dacName) const
void setVwllPr_(bits8 vwllPr)
void setTempRange(bits8 tempRange)
void setVHldDel(bits8 vHldDel)
void setVwllSh(bits8 vwllSh)
void setVcThr(bits8 vcThr)
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
virtual void writeXMLTrailer(std::ofstream *out) const
std::string getConfigCommand()
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
void getDACs(std::vector< unsigned int > &dacs) const
int read(std::ifstream &in, const PixelROCName &rocid)
void setVrgSh(bits4 vrgSh)
void setDAC(unsigned int dacaddress, unsigned int dacvalue)
void setVbiasOp(bits8 vbiasOp)
void setControlRegister(bits8 controlregister)
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
void setVtrim(bits8 vtrim)
void setDACs(std::map< std::string, unsigned int > &dacs)
void setVnpix(bits8 vnpix)
std::string ToLower(std::string)
void setVcomp(bits4 vcomp)
bits8 getControlRegister() const
void setVIbias_sf(bits4 vIbias_sf)
void setVIbias_bus(bits8 vIbias_bus)
void setVsumCol(bits8 vsumCol)
void checkTag(std::string tag, std::string dacName, const PixelROCName &rocid)
void setVIbias_PH(bits8 vIbias_PH)
This class implements the configuration key which actually just is an integer.
PixelROCDACSettings(const PixelROCName &rocid)
void setVleak(bits8 vleak)
void compareDACs(std::map< std::string, unsigned int > &dacs, std::map< std::string, bool > &changes, std::map< std::string, unsigned int > &previous)
void setDac(std::string dacName, int value)
void setVOffsetRO(bits8 vOffsetRO)
void setVrgPr(bits4 vrgPr)
void writeBinary(std::ofstream &out) const
friend std::ostream & operator<<(std::ostream &s, const PixelROCDACSettings &dacs)
void setCalDel(bits8 calDel)
void setVIbias_DAC(bits8 vIbias_DAC)
int readBinary(std::ifstream &in, const PixelROCName &rocid)
void setVOffsetOp(bits8 vOffsetOp)
void setVIColOr(bits8 vIColOr)
PixelROCName getROCName() const
virtual ~PixelROCDACSettings()
This class stores the name and related hardware mappings for a ROC.
void writeASCII(std::ostream &out) const