This is the documentation about PixelFEDConfig... More...
#include <PixelFEDConfig.h>
Public Member Functions | |
unsigned int | crateFromFEDNumber (unsigned int fednumber) const |
unsigned int | FEDNumberFromCrateAndVMEBaseAddress (unsigned int crate, unsigned int vmebaseaddress) const |
unsigned int | getCrate (unsigned int i) const |
unsigned int | getFEDNumber (unsigned int i) const |
unsigned int | getNFEDBoards () const |
unsigned int | getVMEBaseAddress (unsigned int i) const |
PixelFEDConfig (std::string filename) | |
PixelFEDConfig (std::vector< std::vector< std::string > > &tableMat) | |
unsigned int | VMEBaseAddressFromFEDNumber (unsigned int fednumber) 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 |
~PixelFEDConfig () 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 Attributes | |
std::vector< PixelFEDParameters > | fedconfig_ |
This is the documentation about PixelFEDConfig...
" "
This class specifies which FED boards are used and how they are addressed
Definition at line 27 of file PixelFEDConfig.h.
PixelFEDConfig::PixelFEDConfig | ( | std::string | filename | ) |
Definition at line 126 of file PixelFEDConfig.cc.
References gather_cfg::cout, TauDecayModes::dec, fedconfig_, corrVsCorr::filename, recoMuon::in, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
PixelFEDConfig::PixelFEDConfig | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
Definition at line 18 of file PixelFEDConfig.cc.
References HltBtagPostValidation_cff::c, fedconfig_, RemoveAddSevLevel::flag, getFEDNumber(), cuy::ins, createfilelist::int, dqmiodumpmetadata::n, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
|
override |
Definition at line 176 of file PixelFEDConfig.cc.
unsigned int PixelFEDConfig::crateFromFEDNumber | ( | unsigned int | fednumber | ) | const |
Definition at line 215 of file PixelFEDConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, fedconfig_, getCrate(), getFEDNumber(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pos::PixelCalibConfiguration::fedCardsAndChannels(), and pos::PixelCalibConfiguration::getFEDCrates().
unsigned int PixelFEDConfig::FEDNumberFromCrateAndVMEBaseAddress | ( | unsigned int | crate, |
unsigned int | vmebaseaddress | ||
) | const |
Definition at line 243 of file PixelFEDConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, fedconfig_, getCrate(), getFEDNumber(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
unsigned int PixelFEDConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 205 of file PixelFEDConfig.cc.
References cms::cuda::assert(), fedconfig_, and mps_fire::i.
Referenced by crateFromFEDNumber(), and FEDNumberFromCrateAndVMEBaseAddress().
unsigned int PixelFEDConfig::getFEDNumber | ( | unsigned int | i | ) | const |
Definition at line 200 of file PixelFEDConfig.cc.
References cms::cuda::assert(), fedconfig_, and mps_fire::i.
Referenced by crateFromFEDNumber(), FEDNumberFromCrateAndVMEBaseAddress(), PixelFEDConfig(), and VMEBaseAddressFromFEDNumber().
unsigned int PixelFEDConfig::getNFEDBoards | ( | ) | const |
Definition at line 198 of file PixelFEDConfig.cc.
References fedconfig_.
unsigned int PixelFEDConfig::getVMEBaseAddress | ( | unsigned int | i | ) | const |
Definition at line 210 of file PixelFEDConfig.cc.
References cms::cuda::assert(), fedconfig_, and mps_fire::i.
Referenced by VMEBaseAddressFromFEDNumber().
unsigned int PixelFEDConfig::VMEBaseAddressFromFEDNumber | ( | unsigned int | fednumber | ) | const |
Definition at line 229 of file PixelFEDConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, fedconfig_, getFEDNumber(), getVMEBaseAddress(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 178 of file PixelFEDConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, TauDecayModes::dec, DeadROC_duringRun::dir, fedconfig_, corrVsCorr::filename, mps_fire::i, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 298 of file PixelFEDConfig.cc.
References TauDecayModes::dec, fedconfig_, mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 260 of file PixelFEDConfig.cc.
References gather_cfg::cout, contentValuesFiles::fullPath, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 313 of file PixelFEDConfig.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 69 of file PixelFEDConfig.h.
Referenced by crateFromFEDNumber(), FEDNumberFromCrateAndVMEBaseAddress(), getCrate(), getFEDNumber(), getNFEDBoards(), getVMEBaseAddress(), PixelFEDConfig(), VMEBaseAddressFromFEDNumber(), writeASCII(), and writeXML().