![]() |
![]() |
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 |
![]() | |
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, FCDTask_cfi::crate, TauDecayModes::dec, fecconfig_, corrVsCorr::filename, recoMuon::in, 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 HltBtagPostValidation_cff::c, FCDTask_cfi::crate, fecconfig_, dqmiodumpmetadata::n, and createJobs::tmp.
unsigned int pos::PixelFECConfig::crateFromFECNumber | ( | unsigned int | fecnumber | ) | const |
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 pos::PixelFECConfig::getCrate | ( | unsigned int | i | ) | const |
unsigned int pos::PixelFECConfig::getFECNumber | ( | unsigned int | i | ) | const |
|
inline |
Definition at line 39 of file PixelFECConfig.h.
References FECSlotFromVMEBaseAddress(), getVMEBaseAddress(), and mps_fire::i.
unsigned int pos::PixelFECConfig::getNFECBoards | ( | ) | const |
unsigned int pos::PixelFECConfig::getVMEBaseAddress | ( | unsigned int | i | ) | const |
Referenced by getFECSlot().
unsigned int pos::PixelFECConfig::VMEBaseAddressFromFECNumber | ( | unsigned int | fecnumber | ) | const |
Referenced by FECSlotFromFECNumber().
|
overridevirtual |
Implements pos::PixelConfigBase.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
|
private |
Definition at line 72 of file PixelFECConfig.h.
Referenced by PixelFECConfig().