This is the documentation about PixelTBMSettings... More...
#include <PixelTBMSettings.h>
Public Member Functions | |
void | generateConfiguration (PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, bool physics=false, bool doResets=true) const |
unsigned char | getAnalogInputBias () const |
unsigned char | getAnalogOutputBias () const |
unsigned char | getAnalogOutputGain () const |
bool | getMode (void) const |
PixelROCName const & | getROCName () const |
PixelTBMSettings (std::vector< std::vector< std::string > > &tableMat) | |
PixelTBMSettings (std::string filename) | |
PixelTBMSettings () | |
void | setAnalogInputBias (unsigned char analogInputBias) |
void | setAnalogOutputBias (unsigned char analogOutputBias) |
void | setAnalogOutputGain (unsigned char analogOutputGain) |
void | setMode (bool mode) |
void | setROCName (std::string rocname) |
void | setTBMGenericValue (std::string, int) |
void | writeASCII (std::string dir) const override |
void | writeBinary (std::string filename) const |
void | writeXML (pos::PixelConfigKey key, int version, std::string path) const override |
void | writeXML (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override |
void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override |
void | writeXMLTrailer (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override |
~PixelTBMSettings () override | |
Public Member Functions inherited from pos::PixelConfigBase | |
std::string | creator () |
std::string | date () |
std::string | description () |
std::string | getAuthor () const |
std::string | getComment () const |
PixelConfigBase (std::string description, std::string creator, std::string date) | |
void | setAuthor (std::string author) |
void | setComment (std::string comment) |
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 | ~PixelConfigBase () |
Private Attributes | |
unsigned char | analogInputBias_ |
unsigned char | analogOutputBias_ |
unsigned char | analogOutputGain_ |
PixelModuleName | moduleId_ |
PixelROCName | rocid_ |
bool | singlemode_ |
This is the documentation about PixelTBMSettings...
" "
A longer explanation will be placed here later
Definition at line 27 of file PixelTBMSettings.h.
PixelTBMSettings::PixelTBMSettings | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
EXTENSION_TABLE_NAME: (VIEW:)
CONFIG_KEY NOT NULL VARCHAR2(80) KEY_TYPE NOT NULL VARCHAR2(80) KEY_ALIAS NOT NULL VARCHAR2(80) VERSION VARCHAR2(40) KIND_OF_COND NOT NULL VARCHAR2(40) TBM_NAME VARCHAR2(200) MODULE_NAME NOT NULL VARCHAR2(200) HUB_ADDRS NUMBER(38) TBM_MODE VARCHAR2(200) ANLG_INBIAS_ADDR NUMBER(38) ANLG_INBIAS_VAL NOT NULL NUMBER(38) ANLG_OUTBIAS_ADDR NUMBER(38) ANLG_OUTBIAS_VAL NOT NULL NUMBER(38) ANLG_OUTGAIN_ADDR NUMBER(38) ANLG_OUTGAIN_VAL NOT NULL NUMBER(38)
N.B.: Here we should (MUST) get a single row referring to a particula module for a particula version.
Definition at line 20 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, cms::cuda::assert(), c, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, cuy::ins, dqmiodumpmetadata::n, rocid_, singlemode_, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
PixelTBMSettings::PixelTBMSettings | ( | std::string | filename | ) |
Definition at line 101 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, cms::cuda::assert(), c, gather_cfg::cout, corrVsCorr::filename, mps_fire::i, recoMuon::in, rocid_, singlemode_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and createJobs::tmp.
|
inline |
Definition at line 32 of file PixelTBMSettings.h.
|
inlineoverride |
Definition at line 34 of file PixelTBMSettings.h.
void PixelTBMSettings::generateConfiguration | ( | PixelFECConfigInterface * | pixelFEC, |
PixelNameTranslation * | trans, | ||
bool | physics = false , |
||
bool | doResets = true |
||
) | const |
Definition at line 239 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, pos::PixelFECConfigInterface::callatencycount(), pos::PixelFECConfigInterface::disableexttrigger(), pos::PixelFECConfigInterface::enablecallatency(), pos::PixelNameTranslation::getHdwAddress(), pos::PixelHdwAddress::hubaddress(), pos::PixelFECConfigInterface::injectrstroc(), pos::PixelFECConfigInterface::injectrsttbm(), pos::PixelFECConfigInterface::injecttrigger(), pos::PixelHdwAddress::mfec(), pos::PixelHdwAddress::mfecchannel(), rocid_, singlemode_, and pos::PixelFECConfigInterface::tbmcmd().
|
inline |
Definition at line 57 of file PixelTBMSettings.h.
References analogInputBias_.
Referenced by pos::operator<<().
|
inline |
Definition at line 60 of file PixelTBMSettings.h.
References analogOutputBias_.
Referenced by pos::operator<<().
|
inline |
Definition at line 63 of file PixelTBMSettings.h.
References analogOutputGain_.
Referenced by pos::operator<<().
|
inline |
Definition at line 67 of file PixelTBMSettings.h.
References singlemode_.
Referenced by pos::operator<<().
|
inline |
Definition at line 69 of file PixelTBMSettings.h.
References rocid_.
Referenced by pos::operator<<().
|
inline |
Definition at line 58 of file PixelTBMSettings.h.
References analogInputBias_.
|
inline |
Definition at line 61 of file PixelTBMSettings.h.
References analogOutputBias_.
|
inline |
Definition at line 64 of file PixelTBMSettings.h.
References analogOutputGain_.
|
inline |
Definition at line 68 of file PixelTBMSettings.h.
References ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and singlemode_.
|
inline |
void PixelTBMSettings::setTBMGenericValue | ( | std::string | what, |
int | value | ||
) |
Definition at line 189 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, cms::cuda::assert(), electrons_cff::bool, gather_cfg::cout, and singlemode_.
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 217 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, DeadROC_duringRun::dir, corrVsCorr::filename, createfilelist::int, callgraph::module, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), singlemode_, and AlCaHLTBitMon_QueryRunRegistry::string.
void PixelTBMSettings::writeBinary | ( | std::string | filename | ) | const |
Definition at line 205 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, corrVsCorr::filename, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), and singlemode_.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 354 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, createfilelist::int, callgraph::module, rocid_, pos::PixelROCName::rocname(), singlemode_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 313 of file PixelTBMSettings.cc.
References gather_cfg::cout, contentValuesFiles::fullPath, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 373 of file PixelTBMSettings.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 80 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogInputBias(), PixelTBMSettings(), setAnalogInputBias(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 81 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogOutputBias(), PixelTBMSettings(), setAnalogOutputBias(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 82 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogOutputGain(), PixelTBMSettings(), setAnalogOutputGain(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 78 of file PixelTBMSettings.h.
|
private |
Definition at line 77 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getROCName(), PixelTBMSettings(), setROCName(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 83 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getMode(), PixelTBMSettings(), setMode(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().