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 |
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_ |
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_, assert(), EnergyCorrector::c, ecal_dqm_sourceclient-live_cfg::cerr, cuy::ins, gen::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_, assert(), 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 , |
||
bool | doResets = true |
||
) | 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 62 of file PixelTBMSettings.h.
References analogInputBias_.
Referenced by pos::operator<<().
|
inline |
Definition at line 65 of file PixelTBMSettings.h.
References analogOutputBias_.
Referenced by pos::operator<<().
|
inline |
Definition at line 68 of file PixelTBMSettings.h.
References analogOutputGain_.
Referenced by pos::operator<<().
|
inline |
Definition at line 72 of file PixelTBMSettings.h.
References singlemode_.
Referenced by pos::operator<<().
|
inline |
Definition at line 74 of file PixelTBMSettings.h.
References rocid_.
Referenced by pos::operator<<().
|
inline |
Definition at line 63 of file PixelTBMSettings.h.
References analogInputBias_.
|
inline |
Definition at line 66 of file PixelTBMSettings.h.
References analogOutputBias_.
|
inline |
Definition at line 69 of file PixelTBMSettings.h.
References analogOutputGain_.
|
inline |
Definition at line 73 of file PixelTBMSettings.h.
References universalConfigTemplate::mode, and singlemode_.
|
inline |
Definition at line 75 of file PixelTBMSettings.h.
void PixelTBMSettings::setTBMGenericValue | ( | std::string | what, |
int | value | ||
) |
Definition at line 203 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, assert(), 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, fileinputsource_cfi::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, fileinputsource_cfi::out, rocid_, pos::PixelROCName::rocname(), and singlemode_.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 377 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 336 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 400 of file PixelTBMSettings.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 86 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogInputBias(), PixelTBMSettings(), setAnalogInputBias(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 87 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogOutputBias(), PixelTBMSettings(), setAnalogOutputBias(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 88 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getAnalogOutputGain(), PixelTBMSettings(), setAnalogOutputGain(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 84 of file PixelTBMSettings.h.
|
private |
Definition at line 83 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getROCName(), PixelTBMSettings(), setROCName(), writeASCII(), writeBinary(), and writeXML().
|
private |
Definition at line 89 of file PixelTBMSettings.h.
Referenced by generateConfiguration(), getMode(), PixelTBMSettings(), setMode(), setTBMGenericValue(), writeASCII(), writeBinary(), and writeXML().