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 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 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 dir, FECSlotFromVMEBaseAddress(), AlCaHLTBitMon_QueryRunRegistry::string, VMEBaseAddressFromFECNumber(), and writeASCII().
|
inlineprivate |
Definition at line 64 of file PixelFECConfig.h.
Referenced by FECSlotFromFECNumber(), and getFECSlot().
unsigned int PixelFECConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 169 of file PixelFECConfig.cc.
References fecconfig_, and mps_fire::i.
Referenced by crateFromFECNumber().
unsigned int PixelFECConfig::getFECNumber | ( | unsigned int | i | ) | const |
Definition at line 161 of file PixelFECConfig.cc.
References 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 155 of file PixelFECConfig.cc.
References fecconfig_.
unsigned int PixelFECConfig::getVMEBaseAddress | ( | unsigned int | i | ) | const |
Definition at line 177 of file PixelFECConfig.cc.
References fecconfig_, and mps_fire::i.
Referenced by getFECSlot(), and VMEBaseAddressFromFECNumber().
unsigned int PixelFECConfig::VMEBaseAddressFromFECNumber | ( | unsigned int | fecnumber | ) | const |
Definition at line 200 of file PixelFECConfig.cc.
References gather_cfg::cout, fecconfig_, getFECNumber(), getVMEBaseAddress(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FECSlotFromFECNumber().
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 216 of file PixelFECConfig.cc.
References TauDecayModes::dec, fecconfig_, corrVsCorr::filename, mps_fire::i, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FECSlotFromFECNumber().
|
inlineoverridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 43 of file PixelFECConfig.h.
References crabWrapper::key, MillePedeFileConverter_cfg::out, callgraph::path, AlCaHLTBitMon_QueryRunRegistry::string, jets_cff::version, writeXMLHeader(), and writeXMLTrailer().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 274 of file PixelFECConfig.cc.
References TauDecayModes::dec, fecconfig_, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 234 of file PixelFECConfig.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 293 of file PixelFECConfig.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeXML().
|
private |
Definition at line 72 of file PixelFECConfig.h.
Referenced by crateFromFECNumber(), getCrate(), getFECNumber(), getNFECBoards(), getVMEBaseAddress(), PixelFECConfig(), VMEBaseAddressFromFECNumber(), writeASCII(), and writeXML().