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 setVIbias_roc(bits8 vIbias_roc)
void setVwllPr_(bits8 vwllPr)
unsigned int getDac(std::string dacName) const
void setTempRange(bits8 tempRange)
void setVHldDel(bits8 vHldDel)
void setVwllSh(bits8 vwllSh)
void setVcThr(bits8 vcThr)
std::string getConfigCommand()
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
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 setVtrim(bits8 vtrim)
void setDACs(std::map< std::string, unsigned int > &dacs)
virtual void writeXMLTrailer(std::ofstream *out) const
PixelROCName getROCName() const
void setVnpix(bits8 vnpix)
std::string ToLower(std::string)
void writeASCII(std::ostream &out) const
void setVcomp(bits4 vcomp)
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)
bits8 getControlRegister() const
void setVIbias_PH(bits8 vIbias_PH)
This class implements the configuration key which actually just is an integer.
PixelROCDACSettings(const PixelROCName &rocid)
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
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 writeXML(pos::PixelConfigKey key, int version, std::string path) const
void setDac(std::string dacName, int value)
void setVOffsetRO(bits8 vOffsetRO)
void setVrgPr(bits4 vrgPr)
friend std::ostream & operator<<(std::ostream &s, const PixelROCDACSettings &dacs)
void setCalDel(bits8 calDel)
void setVIbias_DAC(bits8 vIbias_DAC)
void getDACs(std::vector< unsigned int > &dacs) const
int readBinary(std::ifstream &in, const PixelROCName &rocid)
void writeBinary(std::ofstream &out) const
void setVOffsetOp(bits8 vOffsetOp)
void setVIColOr(bits8 vIColOr)
virtual ~PixelROCDACSettings()
This class stores the name and related hardware mappings for a ROC.