This class specifies which FEC boards are used and how they are addressed. More...
#include <PixelFECConfig.h>
Public Member Functions | |
unsigned int | crateFromFECNumber (unsigned int fecnumber) const |
unsigned int | FECSlotFromFECNumber (unsigned int fecnumber) |
unsigned int | getCrate (unsigned int i) const |
unsigned int | getFECNumber (unsigned int i) const |
unsigned int | getFECSlot (unsigned int i) |
unsigned int | getNFECBoards () const |
unsigned int | getVMEBaseAddress (unsigned int i) const |
PixelFECConfig (std::string filename) | |
PixelFECConfig (std::vector< std::vector< std::string > > &tableMat) | |
unsigned int | VMEBaseAddressFromFECNumber (unsigned int fecnumber) const |
void | writeASCII (std::string dir="") 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 |
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 Member Functions | |
unsigned int | FECSlotFromVMEBaseAddress (unsigned int VMEBaseAddress) |
Private Attributes | |
std::vector< PixelFECParameters > | fecconfig_ |
This class specifies which FEC boards are used and how they are addressed.
" "
Definition at line 24 of file PixelFECConfig.h.
PixelFECConfig::PixelFECConfig | ( | std::string | filename | ) |
Definition at line 96 of file PixelFECConfig.cc.
References gather_cfg::cout, TauDecayModes::dec, fecconfig_, recoMuon::in, pos::PixelFECParameters::setFECParameters(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
PixelFECConfig::PixelFECConfig | ( | 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) PIXFEC_NAME NOT NULL VARCHAR2(200) CRATE_NUMBER NOT NULL NUMBER(38) SLOT_NUMBER NUMBER(38) VME_ADDR NOT NULL VARCHAR2(200)
Definition at line 20 of file PixelFECConfig.cc.
References EnergyCorrector::c, fecconfig_, gen::n, alignCSCRings::r, and tmp.
unsigned int PixelFECConfig::crateFromFECNumber | ( | unsigned int | fecnumber | ) | const |
Definition at line 185 of file PixelFECConfig.cc.
References assert(), gather_cfg::cout, fecconfig_, getCrate(), getFECNumber(), i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pos::PixelCalibConfiguration::getFECCrates().
|
inline |
Definition at line 40 of file PixelFECConfig.h.
References FECSlotFromVMEBaseAddress(), and VMEBaseAddressFromFECNumber().
|
inlineprivate |
Definition at line 64 of file PixelFECConfig.h.
References assert().
Referenced by FECSlotFromFECNumber(), and getFECSlot().
unsigned int PixelFECConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 169 of file PixelFECConfig.cc.
References assert(), fecconfig_, and i.
Referenced by crateFromFECNumber().
unsigned int PixelFECConfig::getFECNumber | ( | unsigned int | i | ) | const |
Definition at line 161 of file PixelFECConfig.cc.
References assert(), fecconfig_, and i.
Referenced by crateFromFECNumber(), and VMEBaseAddressFromFECNumber().
|
inline |
Definition at line 39 of file PixelFECConfig.h.
References FECSlotFromVMEBaseAddress(), and getVMEBaseAddress().
unsigned int PixelFECConfig::getNFECBoards | ( | ) | const |
Definition at line 155 of file PixelFECConfig.cc.
References fecconfig_.
unsigned int PixelFECConfig::getVMEBaseAddress | ( | unsigned int | i | ) | const |
Definition at line 177 of file PixelFECConfig.cc.
References assert(), fecconfig_, and i.
Referenced by getFECSlot(), and VMEBaseAddressFromFECNumber().
unsigned int PixelFECConfig::VMEBaseAddressFromFECNumber | ( | unsigned int | fecnumber | ) | const |
Definition at line 200 of file PixelFECConfig.cc.
References assert(), gather_cfg::cout, fecconfig_, getFECNumber(), getVMEBaseAddress(), i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FECSlotFromFECNumber().
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 216 of file PixelFECConfig.cc.
References TauDecayModes::dec, fecconfig_, lut2db_cfg::filename, i, dbtoconf::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 274 of file PixelFECConfig.cc.
References TauDecayModes::dec, fecconfig_, i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 234 of file PixelFECConfig.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 293 of file PixelFECConfig.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 72 of file PixelFECConfig.h.
Referenced by crateFromFECNumber(), getCrate(), getFECNumber(), getNFECBoards(), getVMEBaseAddress(), PixelFECConfig(), VMEBaseAddressFromFECNumber(), writeASCII(), and writeXML().