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 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 |
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 90 of file PixelFECConfig.cc.
References gather_cfg::cout, TauDecayModes::dec, fecconfig_, recoMuon::in, pos::PixelFECParameters::setFECParameters(), AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::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 18 of file PixelFECConfig.cc.
References c, fecconfig_, dqmiodumpmetadata::n, alignCSCRings::r, and createJobs::tmp.
unsigned int PixelFECConfig::crateFromFECNumber | ( | unsigned int | fecnumber | ) | const |
Definition at line 159 of file PixelFECConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, fecconfig_, getCrate(), getFECNumber(), mps_fire::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 61 of file PixelFECConfig.h.
References cms::cuda::assert().
Referenced by FECSlotFromFECNumber(), and getFECSlot().
unsigned int PixelFECConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 149 of file PixelFECConfig.cc.
References cms::cuda::assert(), fecconfig_, and mps_fire::i.
Referenced by crateFromFECNumber().
unsigned int PixelFECConfig::getFECNumber | ( | unsigned int | i | ) | const |
Definition at line 144 of file PixelFECConfig.cc.
References cms::cuda::assert(), fecconfig_, and mps_fire::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 142 of file PixelFECConfig.cc.
References fecconfig_.
unsigned int PixelFECConfig::getVMEBaseAddress | ( | unsigned int | i | ) | const |
Definition at line 154 of file PixelFECConfig.cc.
References cms::cuda::assert(), fecconfig_, and mps_fire::i.
Referenced by getFECSlot(), and VMEBaseAddressFromFECNumber().
unsigned int PixelFECConfig::VMEBaseAddressFromFECNumber | ( | unsigned int | fecnumber | ) | const |
Definition at line 173 of file PixelFECConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, fecconfig_, getFECNumber(), getVMEBaseAddress(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FECSlotFromFECNumber().
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 188 of file PixelFECConfig.cc.
References TauDecayModes::dec, fecconfig_, lut2db_cfg::filename, mps_fire::i, submitPVResolutionJobs::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 243 of file PixelFECConfig.cc.
References TauDecayModes::dec, fecconfig_, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 204 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.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 259 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().