This class implements.. More...
#include "interface/PixelROCDACSettings.h"
Public Member Functions | |
void | checkTag (std::string tag, std::string dacName, const PixelROCName &rocid) |
void | compareDACs (std::map< std::string, unsigned int > &dacs, std::map< std::string, bool > &changes, std::map< std::string, unsigned int > &previous) |
bits8 | getCalDel () |
std::string | getConfigCommand () |
bits8 | getControlRegister () const |
unsigned int | getDac (std::string dacName) const |
void | getDACs (std::map< std::string, unsigned int > &dacs) const |
void | getDACs (std::vector< unsigned int > &dacs) const |
PixelROCName | getROCName () const |
bits8 | getTempRange () |
bits8 | getVana () |
bits8 | getVbiasOp () |
bits8 | getVcal () |
bits4 | getVcomp () |
bits8 | getVcThr () |
bits4 | getVdd () |
bits8 | getVHldDel () |
bits8 | getVIbias_bus () |
bits8 | getVIbias_DAC () |
bits8 | getVIbias_PH () |
bits8 | getVIbias_roc () |
bits4 | getVIbias_sf () |
bits8 | getVIColOr () |
bits8 | getVIon () |
bits8 | getVleak () |
bits8 | getVnpix () |
bits8 | getVOffsetOp () |
bits8 | getVOffsetRO () |
bits4 | getVrgPr () |
bits4 | getVrgSh () |
bits8 | getVsf () |
bits8 | getVsumCol () |
bits8 | getVtrim () |
bits8 | getVwllPr () |
bits8 | getVwllSh () |
bits8 | getWBC () |
PixelROCDACSettings () | |
PixelROCDACSettings (const PixelROCName &rocid) | |
int | read (std::ifstream &in, const PixelROCName &rocid) |
int | read (std::istringstream &in, const PixelROCName &rocid) |
int | readBinary (std::ifstream &in, const PixelROCName &rocid) |
void | setCalDel (bits8 calDel) |
void | setControlRegister (bits8 controlregister) |
void | setDac (std::string dacName, int value) |
void | setDAC (unsigned int dacaddress, unsigned int dacvalue) |
void | setDACs (std::map< std::string, unsigned int > &dacs) |
void | setTempRange (bits8 tempRange) |
void | setVana (bits8 vana) |
void | setVbiasOp (bits8 vbiasOp) |
void | setVcal (bits8 vcal) |
void | setVcomp (bits4 vcomp) |
void | setVcThr (bits8 vcThr) |
void | setVdd (bits4 vdd) |
void | setVHldDel (bits8 vHldDel) |
void | setVIbias_bus (bits8 vIbias_bus) |
void | setVIbias_DAC (bits8 vIbias_DAC) |
void | setVIbias_PH (bits8 vIbias_PH) |
void | setVIbias_roc (bits8 vIbias_roc) |
void | setVIbias_sf (bits4 vIbias_sf) |
void | setVIColOr (bits8 vIColOr) |
void | setVIon (bits8 vIon) |
void | setVleak (bits8 vleak) |
void | setVnpix (bits8 vnpix) |
void | setVOffsetOp (bits8 vOffsetOp) |
void | setVOffsetRO (bits8 vOffsetRO) |
void | setVrgPr (bits4 vrgPr) |
void | setVrgSh (bits4 vrgSh) |
void | setVsf (bits8 vsf) |
void | setVsumCol (bits8 vsumCol) |
void | setVtrim (bits8 vtrim) |
void | setVwllPr_ (bits8 vwllPr) |
void | setVwllSh (bits8 vwllSh) |
void | setWBC (bits8 wbc) |
void | writeASCII (std::ostream &out) const |
void | writeBinary (std::ofstream &out) const |
void | writeXML (pos::PixelConfigKey key, int version, std::string path) const |
virtual void | writeXML (std::ofstream *out) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const |
virtual void | writeXMLTrailer (std::ofstream *out) const |
virtual | ~PixelROCDACSettings () |
Private Member Functions | |
std::string | ToLower (std::string) |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PixelROCDACSettings &dacs) |
This class implements..
A longer explanation will be placed here later
Definition at line 30 of file PixelROCDACSettings.h.
PixelROCDACSettings::PixelROCDACSettings | ( | ) |
Definition at line 17 of file PixelROCDACSettings.cc.
|
inlinevirtual |
Definition at line 33 of file PixelROCDACSettings.h.
|
inline |
void PixelROCDACSettings::checkTag | ( | std::string | tag, |
std::string | dacName, | ||
const PixelROCName & | rocid | ||
) |
Definition at line 511 of file PixelROCDACSettings.cc.
References cms::cuda::assert(), gather_cfg::cout, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
void PixelROCDACSettings::compareDACs | ( | std::map< std::string, unsigned int > & | dacs, |
std::map< std::string, bool > & | changes, | ||
std::map< std::string, unsigned int > & | previous | ||
) |
Definition at line 120 of file PixelROCDACSettings.cc.
References pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, pos::k_DACName_WBC, and callgraph::previous.
|
inline |
string PixelROCDACSettings::getConfigCommand | ( | ) |
Definition at line 808 of file PixelROCDACSettings.cc.
References alignCSCRings::s.
|
inline |
unsigned int PixelROCDACSettings::getDac | ( | std::string | dacName | ) | const |
Definition at line 915 of file PixelROCDACSettings.cc.
References cms::cuda::assert(), gather_cfg::cout, pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, and pos::k_DACName_WBC.
void PixelROCDACSettings::getDACs | ( | std::map< std::string, unsigned int > & | dacs | ) | const |
Definition at line 53 of file PixelROCDACSettings.cc.
References pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, and pos::k_DACName_WBC.
void PixelROCDACSettings::getDACs | ( | std::vector< unsigned int > & | dacs | ) | const |
Definition at line 19 of file PixelROCDACSettings.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int pos::PixelROCDACSettings::read | ( | std::ifstream & | in, |
const PixelROCName & | rocid | ||
) |
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCDACSettings::read | ( | std::istringstream & | in, |
const PixelROCName & | rocid | ||
) |
Definition at line 522 of file PixelROCDACSettings.cc.
References gather_cfg::cout, first, recoMuon::in, pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, pos::k_DACName_WBC, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and createJobs::tmp.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
int PixelROCDACSettings::readBinary | ( | std::ifstream & | in, |
const PixelROCName & | rocid | ||
) |
|
inline |
|
inline |
void PixelROCDACSettings::setDac | ( | std::string | dacName, |
int | value | ||
) |
Definition at line 849 of file PixelROCDACSettings.cc.
References cms::cuda::assert(), gather_cfg::cout, pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, and pos::k_DACName_WBC.
void PixelROCDACSettings::setDAC | ( | unsigned int | dacaddress, |
unsigned int | dacvalue | ||
) |
Definition at line 271 of file PixelROCDACSettings.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
void PixelROCDACSettings::setDACs | ( | std::map< std::string, unsigned int > & | dacs | ) |
Definition at line 87 of file PixelROCDACSettings.cc.
References pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, and pos::k_DACName_WBC.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 980 of file PixelROCDACSettings.cc.
References mps_fire::i, and mps_fire::result.
void PixelROCDACSettings::writeASCII | ( | std::ostream & | out | ) | const |
Definition at line 437 of file PixelROCDACSettings.cc.
References createfilelist::int, pos::k_DACName_CalDel, pos::k_DACName_ChipContReg, pos::k_DACName_TempRange, pos::k_DACName_Vana, pos::k_DACName_VbiasOp, pos::k_DACName_Vcal, pos::k_DACName_Vcomp, pos::k_DACName_VcThr, pos::k_DACName_Vdd, pos::k_DACName_VHldDel, pos::k_DACName_VIbias_bus, pos::k_DACName_VIbias_DAC, pos::k_DACName_VIbias_PH, pos::k_DACName_VIbias_roc, pos::k_DACName_VIbias_sf, pos::k_DACName_VIColOr, pos::k_DACName_VIon, pos::k_DACName_Vleak, pos::k_DACName_Vnpix, pos::k_DACName_VOffsetOp, pos::k_DACName_VOffsetRO, pos::k_DACName_VrgPr, pos::k_DACName_VrgSh, pos::k_DACName_Vsf, pos::k_DACName_VsumCol, pos::k_DACName_Vtrim, pos::k_DACName_VwllPr, pos::k_DACName_VwllSh, pos::k_DACName_WBC, and MillePedeFileConverter_cfg::out.
void PixelROCDACSettings::writeBinary | ( | std::ofstream & | out | ) | const |
|
inline |
Definition at line 49 of file PixelROCDACSettings.h.
|
virtual |
Definition at line 472 of file PixelROCDACSettings.cc.
References createfilelist::int, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 50 of file PixelROCDACSettings.h.
|
inlinevirtual |
Definition at line 52 of file PixelROCDACSettings.h.
|
friend |
|
private |
Definition at line 191 of file PixelROCDACSettings.h.
Referenced by getCalDel(), and setCalDel().
|
private |
Definition at line 194 of file PixelROCDACSettings.h.
Referenced by getControlRegister(), and setControlRegister().
|
private |
Definition at line 162 of file PixelROCDACSettings.h.
Referenced by getROCName(), and PixelROCDACSettings().
|
private |
Definition at line 192 of file PixelROCDACSettings.h.
Referenced by getTempRange(), and setTempRange().
|
private |
Definition at line 167 of file PixelROCDACSettings.h.
|
private |
Definition at line 181 of file PixelROCDACSettings.h.
Referenced by getVbiasOp(), and setVbiasOp().
|
private |
Definition at line 190 of file PixelROCDACSettings.h.
|
private |
Definition at line 169 of file PixelROCDACSettings.h.
Referenced by getVcomp(), and setVcomp().
|
private |
Definition at line 177 of file PixelROCDACSettings.h.
Referenced by getVcThr(), and setVcThr().
|
private |
Definition at line 166 of file PixelROCDACSettings.h.
|
private |
Definition at line 175 of file PixelROCDACSettings.h.
Referenced by getVHldDel(), and setVHldDel().
|
private |
Definition at line 178 of file PixelROCDACSettings.h.
Referenced by getVIbias_bus(), and setVIbias_bus().
|
private |
Definition at line 185 of file PixelROCDACSettings.h.
Referenced by getVIbias_DAC(), and setVIbias_DAC().
|
private |
Definition at line 184 of file PixelROCDACSettings.h.
Referenced by getVIbias_PH(), and setVIbias_PH().
|
private |
Definition at line 186 of file PixelROCDACSettings.h.
Referenced by getVIbias_roc(), and setVIbias_roc().
|
private |
Definition at line 179 of file PixelROCDACSettings.h.
Referenced by getVIbias_sf(), and setVIbias_sf().
|
private |
Definition at line 187 of file PixelROCDACSettings.h.
Referenced by getVIColOr(), and setVIColOr().
|
private |
Definition at line 183 of file PixelROCDACSettings.h.
|
private |
Definition at line 170 of file PixelROCDACSettings.h.
Referenced by getVleak(), and setVleak().
|
private |
Definition at line 188 of file PixelROCDACSettings.h.
Referenced by getVnpix(), and setVnpix().
|
private |
Definition at line 180 of file PixelROCDACSettings.h.
Referenced by getVOffsetOp(), and setVOffsetOp().
|
private |
Definition at line 182 of file PixelROCDACSettings.h.
Referenced by getVOffsetRO(), and setVOffsetRO().
|
private |
Definition at line 171 of file PixelROCDACSettings.h.
Referenced by getVrgPr(), and setVrgPr().
|
private |
Definition at line 173 of file PixelROCDACSettings.h.
Referenced by getVrgSh(), and setVrgSh().
|
private |
Definition at line 168 of file PixelROCDACSettings.h.
|
private |
Definition at line 189 of file PixelROCDACSettings.h.
Referenced by getVsumCol(), and setVsumCol().
|
private |
Definition at line 176 of file PixelROCDACSettings.h.
Referenced by getVtrim(), and setVtrim().
|
private |
Definition at line 172 of file PixelROCDACSettings.h.
Referenced by getVwllPr(), and setVwllPr_().
|
private |
Definition at line 174 of file PixelROCDACSettings.h.
Referenced by getVwllSh(), and setVwllSh().
|
private |
Definition at line 193 of file PixelROCDACSettings.h.