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_, HltBtagPostValidation_cff::c, beam_dqm_sourceclient-live_cfg::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_, HltBtagPostValidation_cff::c, gather_cfg::cout, mps_fire::i, recoMuon::in, rocid_, singlemode_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and createJobs::tmp.
|
inline |
Definition at line 32 of file PixelTBMSettings.h.
|
inlineoverride |
Definition at line 34 of file PixelTBMSettings.h.
References DeadROC_duringRun::dir, generateConfiguration(), EcalCondDBWriter_cfi::physics, AlCaHLTBitMon_QueryRunRegistry::string, writeASCII(), and writeBinary().
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().
Referenced by ~PixelTBMSettings().
|
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 |
Definition at line 70 of file PixelTBMSettings.h.
References rocid_, setTBMGenericValue(), AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
void PixelTBMSettings::setTBMGenericValue | ( | std::string | what, |
int | value | ||
) |
Definition at line 189 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 217 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, corrVsCorr::filename, createfilelist::int, 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 205 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 45 of file PixelTBMSettings.h.
References crabWrapper::key, MillePedeFileConverter_cfg::out, PointingDoubleMultiSkim_cfg::out1, PointingDoubleMultiSkim_cfg::out2, castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, BeamSplash_cfg::version, writeXMLHeader(), and writeXMLTrailer().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 354 of file PixelTBMSettings.cc.
References analogInputBias_, analogOutputBias_, analogOutputGain_, createfilelist::int, 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(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 373 of file PixelTBMSettings.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
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().