This is the documentation about PixelTBMSettings... More...
#include <PixelTBMSettings.h>
Public Member Functions | |
void | generateConfiguration (PixelFECConfigInterface *pixelFEC, PixelNameTranslation *trans, bool physics=false) const |
unsigned char | getAnalogInputBias () |
unsigned char | getAnalogOutputBias () |
unsigned char | getAnalogOutputGain () |
bool | getMode (void) |
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 |
void | writeBinary (std::string filename) const |
void | writeXML (pos::PixelConfigKey key, int version, std::string path) const |
virtual void | writeXML (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual void | writeXMLTrailer (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual | ~PixelTBMSettings () |
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_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PixelTBMSettings &mask) |
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 22 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, EnergyCorrector::c, dtNoiseDBValidation_cfg::cerr, cuy::ins, n, rocid_, singlemode_, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
PixelTBMSettings::PixelTBMSettings | ( | std::string | filename | ) |
Definition at line 104 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, EnergyCorrector::c, gather_cfg::cout, i, recoMuon::in, rocid_, singlemode_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
|
inline |
Definition at line 34 of file PixelTBMSettings.h.
|
inlinevirtual |
Definition at line 36 of file PixelTBMSettings.h.
void PixelTBMSettings::generateConfiguration | ( | PixelFECConfigInterface * | pixelFEC, |
PixelNameTranslation * | trans, | ||
bool | physics = false |
||
) | const |
Definition at line 254 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 64 of file PixelTBMSettings.h.
References analogInputBias_.
|
inline |
Definition at line 67 of file PixelTBMSettings.h.
References analogOutputBias_.
|
inline |
Definition at line 70 of file PixelTBMSettings.h.
References analogOutputGain_.
|
inline |
|
inline |
Definition at line 65 of file PixelTBMSettings.h.
References analogInputBias_.
|
inline |
Definition at line 68 of file PixelTBMSettings.h.
References analogOutputBias_.
|
inline |
Definition at line 71 of file PixelTBMSettings.h.
References analogOutputGain_.
|
inline |
|
inline |
Definition at line 76 of file PixelTBMSettings.h.
void PixelTBMSettings::setTBMGenericValue | ( | std::string | what, |
int | value | ||
) |
Definition at line 203 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, hitfit::char, gather_cfg::cout, and singlemode_.
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 231 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, lut2db_cfg::filename, python.rootplot.argparse::module, dbtoconf::out, rocid_, pos::PixelROCName::rocname(), singlemode_, and AlCaHLTBitMon_QueryRunRegistry::string.
void PixelTBMSettings::writeBinary | ( | std::string | filename | ) | const |
Definition at line 216 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, hitfit::char, dbtoconf::out, rocid_, pos::PixelROCName::rocname(), and singlemode_.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 375 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, python.rootplot.argparse::module, rocid_, pos::PixelROCName::rocname(), singlemode_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 334 of file PixelTBMSettings.cc.
References gather_cfg::cout, contentValuesFiles::fullPath, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 398 of file PixelTBMSettings.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
friend |
|
private |
Definition at line 87 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogInputBias(), PixelTBMSettings(), setAnalogInputBias(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 88 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogOutputBias(), PixelTBMSettings(), setAnalogOutputBias(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 89 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogOutputGain(), PixelTBMSettings(), setAnalogOutputGain(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 85 of file PixelTBMSettings.h.
|
private |
Definition at line 84 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), PixelTBMSettings(), setROCName(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 90 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getMode(), PixelTBMSettings(), setMode(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().