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