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 22 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, EnergyCorrector::c, MessageLogger_cfi::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_, EnergyCorrector::c, gather_cfg::cout, mps_fire::i, recoMuon::in, rocid_, singlemode_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and tmp.
|
inline |
Definition at line 34 of file PixelTBMSettings.h.
|
inlineoverride |
Definition at line 36 of file PixelTBMSettings.h.
References dir, generateConfiguration(), AlCaHLTBitMon_QueryRunRegistry::string, writeASCII(), and writeBinary().
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().
Referenced by ~PixelTBMSettings().
|
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 ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, and singlemode_.
|
inline |
Definition at line 75 of file PixelTBMSettings.h.
References rocid_, setTBMGenericValue(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
void PixelTBMSettings::setTBMGenericValue | ( | std::string | what, |
int | value | ||
) |
Definition at line 203 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, electrons_cff::bool, gather_cfg::cout, and singlemode_.
Referenced by setROCName().
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 231 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, corrVsCorr::filename, createfilelist::int, python.rootplot.argparse::module, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), singlemode_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~PixelTBMSettings().
void PixelTBMSettings::writeBinary | ( | std::string | filename | ) | const |
Definition at line 216 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, MillePedeFileConverter_cfg::out, rocid_, pos::PixelROCName::rocname(), and singlemode_.
Referenced by ~PixelTBMSettings().
|
inlineoverridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 46 of file PixelTBMSettings.h.
References crabWrapper::key, MillePedeFileConverter_cfg::out, callgraph::path, AlCaHLTBitMon_QueryRunRegistry::string, jets_cff::version, writeXMLHeader(), and writeXMLTrailer().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 377 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, createfilelist::int, python.rootplot.argparse::module, rocid_, pos::PixelROCName::rocname(), singlemode_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 336 of file PixelTBMSettings.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 400 of file PixelTBMSettings.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
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().