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 |
virtual void | writeASCII (std::string dir) const |
virtual 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 | ~PixelTKFECConfig () |
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 93 of file PixelTKFECConfig.cc.
References gather_cfg::cout, recoMuon::in, pos::PixelTKFECParameters::setTKFECParameters(), TKFECconfig_, and 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 19 of file PixelTKFECConfig.cc.
References trackerHits::c, n, alignCSCRings::r, pos::PixelTKFECParameters::setTKFECParameters(), TKFECconfig_, and tmp.
|
virtual |
Definition at line 146 of file PixelTKFECConfig.cc.
unsigned int PixelTKFECConfig::addressFromTKFECID | ( | std::string | TKFECID | ) | const |
Definition at line 248 of file PixelTKFECConfig.cc.
References gather_cfg::cout, getAddress(), getTKFECID(), i, and TKFECconfig_.
unsigned int PixelTKFECConfig::crateFromTKFECID | ( | std::string | TKFECID | ) | const |
Definition at line 220 of file PixelTKFECConfig.cc.
References gather_cfg::cout, getCrate(), getTKFECID(), i, and TKFECconfig_.
Referenced by pos::PixelCalibConfiguration::getTKFECCrates().
unsigned int PixelTKFECConfig::getAddress | ( | unsigned int | i | ) | const |
Definition at line 212 of file PixelTKFECConfig.cc.
References i, and TKFECconfig_.
Referenced by addressFromTKFECID().
unsigned int PixelTKFECConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 198 of file PixelTKFECConfig.cc.
References i, and TKFECconfig_.
Referenced by crateFromTKFECID().
unsigned int PixelTKFECConfig::getNTKFECBoards | ( | ) | const |
Definition at line 184 of file PixelTKFECConfig.cc.
References TKFECconfig_.
std::string PixelTKFECConfig::getTKFECID | ( | unsigned int | i | ) | const |
Definition at line 190 of file PixelTKFECConfig.cc.
References i, and TKFECconfig_.
Referenced by addressFromTKFECID(), crateFromTKFECID(), and typeFromTKFECID().
std::string PixelTKFECConfig::getType | ( | unsigned int | i | ) | const |
Definition at line 205 of file PixelTKFECConfig.cc.
References i, and TKFECconfig_.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getDaughterObjects(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectRef(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getShortType(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties(), typeFromTKFECID(), and writeASCII().
std::string PixelTKFECConfig::typeFromTKFECID | ( | std::string | TKFECID | ) | const |
Definition at line 234 of file PixelTKFECConfig.cc.
References gather_cfg::cout, getTKFECID(), getType(), i, and TKFECconfig_.
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 148 of file PixelTKFECConfig.cc.
References gather_cfg::cout, lut2db_cfg::filename, getType(), i, dbtoconf::out, and TKFECconfig_.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 308 of file PixelTKFECConfig.cc.
References i, and TKFECconfig_.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 263 of file PixelTKFECConfig.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), and pos::PixelTimeFormatter::getTime().
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 324 of file PixelTKFECConfig.cc.
References gather_cfg::cout.
|
private |
Definition at line 65 of file PixelTKFECConfig.h.
Referenced by addressFromTKFECID(), crateFromTKFECID(), getAddress(), getCrate(), getNTKFECBoards(), getTKFECID(), getType(), PixelTKFECConfig(), typeFromTKFECID(), writeASCII(), and writeXML().