|
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::vector< unsigned int > &dacs) const |
|
void | getDACs (std::map< std::string, 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 (unsigned int dacaddress, unsigned int dacvalue) |
|
void | setDac (std::string dacName, int value) |
|
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 () |
|
This class implements..
A longer explanation will be placed here later
Definition at line 30 of file PixelROCDACSettings.h.
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 124 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.
Referenced by writeXMLTrailer().
const std::string k_DACName_VcThr
const std::string k_DACName_VrgPr
const std::string k_DACName_ChipContReg
const std::string k_DACName_Vsf
const std::string k_DACName_CalDel
const std::string k_DACName_TempRange
const std::string k_DACName_VIbias_sf
const std::string k_DACName_Vtrim
const std::string k_DACName_VIbias_DAC
const std::string k_DACName_VwllSh
const std::string k_DACName_Vnpix
const std::string k_DACName_Vleak
const std::string k_DACName_VIbias_PH
const std::string k_DACName_VOffsetRO
const std::string k_DACName_VIbias_bus
const std::string k_DACName_VIColOr
const std::string k_DACName_VOffsetOp
const std::string k_DACName_VbiasOp
const std::string k_DACName_VIbias_roc
const std::string k_DACName_Vcal
const std::string k_DACName_VrgSh
const std::string k_DACName_VIon
const std::string k_DACName_Vcomp
const std::string k_DACName_WBC
const std::string k_DACName_Vdd
const std::string k_DACName_VHldDel
const std::string k_DACName_VsumCol
const std::string k_DACName_Vana
const std::string k_DACName_VwllPr
unsigned int PixelROCDACSettings::getDac |
( |
std::string |
dacName | ) |
const |
Definition at line 765 of file PixelROCDACSettings.cc.
References 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.
Referenced by writeXMLTrailer().
855 cout <<
"ERROR in PixelROCDACSettings::getDac: DAC name " << dacName <<
" does not exist." << endl;
const std::string k_DACName_VcThr
const std::string k_DACName_VrgPr
const std::string k_DACName_ChipContReg
const std::string k_DACName_Vsf
const std::string k_DACName_CalDel
const std::string k_DACName_TempRange
const std::string k_DACName_VIbias_sf
const std::string k_DACName_Vtrim
const std::string k_DACName_VIbias_DAC
const std::string k_DACName_VwllSh
const std::string k_DACName_Vnpix
const std::string k_DACName_Vleak
const std::string k_DACName_VIbias_PH
const std::string k_DACName_VOffsetRO
const std::string k_DACName_VIbias_bus
const std::string k_DACName_VIColOr
const std::string k_DACName_VOffsetOp
const std::string k_DACName_VbiasOp
const std::string k_DACName_VIbias_roc
const std::string k_DACName_Vcal
const std::string k_DACName_VrgSh
const std::string k_DACName_VIon
const std::string k_DACName_Vcomp
const std::string k_DACName_WBC
const std::string k_DACName_Vdd
const std::string k_DACName_VHldDel
const std::string k_DACName_VsumCol
const std::string k_DACName_Vana
const std::string k_DACName_VwllPr
int PixelROCDACSettings::read |
( |
std::istringstream & |
in, |
|
|
const PixelROCName & |
rocid |
|
) |
| |
Definition at line 395 of file PixelROCDACSettings.cc.
References gather_cfg::cout, plotBeamSpotDB::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, read(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
Referenced by edmIntegrityCheck.PublishToFileSystem::get(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::goto(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::setFilterBranches().
397 std::string mthn =
"[PixelROCDACSettings::read()]\t\t\t\t " ;
485 static bool first=
true;
487 cout << __LINE__ <<
"]\t" << mthn <<
"**********************************************" << endl;
488 cout << __LINE__ <<
"]\t" << mthn <<
"Did not find TempRange setting in DAC settings" << endl;
489 cout << __LINE__ <<
"]\t" << mthn <<
"Will use a default value of 4." << endl;
490 cout << __LINE__ <<
"]\t" << mthn <<
"This message will only be printed out once" << endl;
491 cout << __LINE__ <<
"]\t" << mthn <<
"**********************************************" << endl;
const std::string k_DACName_VcThr
const std::string k_DACName_VrgPr
const std::string k_DACName_ChipContReg
const std::string k_DACName_Vsf
const std::string k_DACName_CalDel
const std::string k_DACName_TempRange
const std::string k_DACName_VIbias_sf
const std::string k_DACName_Vtrim
const std::string k_DACName_VIbias_DAC
const std::string k_DACName_VwllSh
const std::string k_DACName_Vnpix
const std::string k_DACName_Vleak
const std::string k_DACName_VIbias_PH
const std::string k_DACName_VOffsetRO
const std::string k_DACName_VIbias_bus
const std::string k_DACName_VIColOr
const std::string k_DACName_VOffsetOp
const std::string k_DACName_VbiasOp
const std::string k_DACName_VIbias_roc
const std::string k_DACName_Vcal
const std::string k_DACName_VrgSh
const std::string k_DACName_VIon
const std::string k_DACName_Vcomp
void checkTag(std::string tag, std::string dacName, const PixelROCName &rocid)
const std::string k_DACName_WBC
const std::string k_DACName_Vdd
const std::string k_DACName_VHldDel
const std::string k_DACName_VsumCol
std::vector< std::vector< double > > tmp
const std::string k_DACName_Vana
const std::string k_DACName_VwllPr
void PixelROCDACSettings::setDac |
( |
std::string |
dacName, |
|
|
int |
value |
|
) |
| |
Definition at line 669 of file PixelROCDACSettings.cc.
References 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.
Referenced by writeXMLTrailer().
759 cout <<
"ERROR in PixelROCDACSettings::setDac: DAC name " << dacName <<
" does not exist." << endl;
const std::string k_DACName_VcThr
const std::string k_DACName_VrgPr
const std::string k_DACName_ChipContReg
const std::string k_DACName_Vsf
const std::string k_DACName_CalDel
const std::string k_DACName_TempRange
const std::string k_DACName_VIbias_sf
const std::string k_DACName_Vtrim
const std::string k_DACName_VIbias_DAC
const std::string k_DACName_VwllSh
const std::string k_DACName_Vnpix
const std::string k_DACName_Vleak
const std::string k_DACName_VIbias_PH
const std::string k_DACName_VOffsetRO
const std::string k_DACName_VIbias_bus
const std::string k_DACName_VIColOr
const std::string k_DACName_VOffsetOp
std::string ToLower(std::string)
const std::string k_DACName_VbiasOp
const std::string k_DACName_VIbias_roc
const std::string k_DACName_Vcal
const std::string k_DACName_VrgSh
const std::string k_DACName_VIon
const std::string k_DACName_Vcomp
const std::string k_DACName_WBC
const std::string k_DACName_Vdd
const std::string k_DACName_VHldDel
const std::string k_DACName_VsumCol
const std::string k_DACName_Vana
const std::string k_DACName_VwllPr
void PixelROCDACSettings::writeASCII |
( |
std::ostream & |
out | ) |
const |
Definition at line 303 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, and pos::k_DACName_WBC.
Referenced by PixelROCDACSettings().
const std::string k_DACName_VcThr
const std::string k_DACName_VrgPr
const std::string k_DACName_ChipContReg
const std::string k_DACName_Vsf
const std::string k_DACName_CalDel
const std::string k_DACName_TempRange
const std::string k_DACName_VIbias_sf
const std::string k_DACName_Vtrim
const std::string k_DACName_VIbias_DAC
const std::string k_DACName_VwllSh
const std::string k_DACName_Vnpix
const std::string k_DACName_Vleak
const std::string k_DACName_VIbias_PH
const std::string k_DACName_VOffsetRO
std::string rocname() const
const std::string k_DACName_VIbias_bus
const std::string k_DACName_VIColOr
const std::string k_DACName_VOffsetOp
const std::string k_DACName_VbiasOp
const std::string k_DACName_VIbias_roc
const std::string k_DACName_Vcal
const std::string k_DACName_VrgSh
const std::string k_DACName_VIon
const std::string k_DACName_Vcomp
const std::string k_DACName_WBC
const std::string k_DACName_Vdd
const std::string k_DACName_VHldDel
const std::string k_DACName_VsumCol
const std::string k_DACName_Vana
const std::string k_DACName_VwllPr