This class specifies which TKFEC boards are used and how they are addressed. More...
#include <PixelTKFECConfig.h>
Public Member Functions | |
unsigned int | addressFromTKFECID (std::string TKFECID) const |
unsigned int | crateFromTKFECID (std::string TKFECID) const |
unsigned int | getAddress (unsigned int i) const |
unsigned int | getCrate (unsigned int i) const |
unsigned int | getNTKFECBoards () const |
std::string | getTKFECID (unsigned int i) const |
std::string | getType (unsigned int i) const |
PixelTKFECConfig (std::string filename) | |
PixelTKFECConfig (std::vector< std::vector< std::string > > &tableMat) | |
std::string | typeFromTKFECID (std::string TKFECID) const |
void | writeASCII (std::string dir) const override |
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 |
~PixelTKFECConfig () 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 | |
std::vector< PixelTKFECParameters > | TKFECconfig_ |
This class specifies which TKFEC boards are used and how they are addressed.
" "
A longer explanation will be placed here later
Definition at line 27 of file PixelTKFECConfig.h.
PixelTKFECConfig::PixelTKFECConfig | ( | std::string | filename | ) |
Definition at line 87 of file PixelTKFECConfig.cc.
References gather_cfg::cout, TauDecayModes::dec, corrVsCorr::filename, recoMuon::in, AlCaHLTBitMon_QueryRunRegistry::string, TKFECconfig_, and createJobs::tmp.
PixelTKFECConfig::PixelTKFECConfig | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
EXTENSION_TABLE_NAME: TRACKER_FEC_PARAMETERS (VIEW: CONF_KEY_TRACKER_FEC_CONFIG_V)
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) TRKFEC_NAME NOT NULL VARCHAR2(200) CRATE_LABEL VARCHAR2(200) CRATE_NUMBER NOT NULL NUMBER(38) TYPE VARCHAR2(200) SLOT_NUMBER NUMBER(38) VME_ADDR NOT NULL VARCHAR2(200) I2CSPEED NUMBER(38)
Definition at line 18 of file PixelTKFECConfig.cc.
References c, dqmiodumpmetadata::n, alignCSCRings::r, AlCaHLTBitMon_QueryRunRegistry::string, TKFECconfig_, and createJobs::tmp.
|
override |
Definition at line 132 of file PixelTKFECConfig.cc.
unsigned int PixelTKFECConfig::addressFromTKFECID | ( | std::string | TKFECID | ) | const |
Definition at line 215 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, getAddress(), getTKFECID(), mps_fire::i, and TKFECconfig_.
unsigned int PixelTKFECConfig::crateFromTKFECID | ( | std::string | TKFECID | ) | const |
Definition at line 189 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, getCrate(), getTKFECID(), mps_fire::i, and TKFECconfig_.
Referenced by pos::PixelCalibConfiguration::getTKFECCrates().
unsigned int PixelTKFECConfig::getAddress | ( | unsigned int | i | ) | const |
Definition at line 184 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), mps_fire::i, and TKFECconfig_.
Referenced by addressFromTKFECID().
unsigned int PixelTKFECConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 174 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), mps_fire::i, and TKFECconfig_.
Referenced by crateFromTKFECID().
unsigned int PixelTKFECConfig::getNTKFECBoards | ( | ) | const |
Definition at line 167 of file PixelTKFECConfig.cc.
References TKFECconfig_.
std::string PixelTKFECConfig::getTKFECID | ( | unsigned int | i | ) | const |
Definition at line 169 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), mps_fire::i, and TKFECconfig_.
Referenced by addressFromTKFECID(), crateFromTKFECID(), and typeFromTKFECID().
std::string PixelTKFECConfig::getType | ( | unsigned int | i | ) | const |
Definition at line 179 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), mps_fire::i, and TKFECconfig_.
Referenced by typeFromTKFECID(), and writeASCII().
std::string PixelTKFECConfig::typeFromTKFECID | ( | std::string | TKFECID | ) | const |
Definition at line 202 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, getTKFECID(), getType(), mps_fire::i, and TKFECconfig_.
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 134 of file PixelTKFECConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, TauDecayModes::dec, DeadROC_duringRun::dir, corrVsCorr::filename, getType(), mps_fire::i, MillePedeFileConverter_cfg::out, and TKFECconfig_.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 272 of file PixelTKFECConfig.cc.
References TauDecayModes::dec, mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, and TKFECconfig_.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 229 of file PixelTKFECConfig.cc.
References gather_cfg::cout, 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 286 of file PixelTKFECConfig.cc.
References gather_cfg::cout, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 61 of file PixelTKFECConfig.h.
Referenced by addressFromTKFECID(), crateFromTKFECID(), getAddress(), getCrate(), getNTKFECBoards(), getTKFECID(), getType(), PixelTKFECConfig(), typeFromTKFECID(), writeASCII(), and writeXML().