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 |
virtual 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 |
virtual | ~PixelFEDConfig () |
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 137 of file PixelFEDConfig.cc.
References gather_cfg::cout, TauDecayModes::dec, fedconfig_, recoMuon::in, pos::PixelFEDParameters::setFEDParameters(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
PixelFEDConfig::PixelFEDConfig | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
Definition at line 18 of file PixelFEDConfig.cc.
References EnergyCorrector::c, fedconfig_, getFEDNumber(), cuy::ins, gen::n, alignCSCRings::r, pos::PixelFEDParameters::setFEDParameters(), AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
|
virtual |
Definition at line 193 of file PixelFEDConfig.cc.
unsigned int PixelFEDConfig::crateFromFEDNumber | ( | unsigned int | fednumber | ) | const |
Definition at line 247 of file PixelFEDConfig.cc.
References assert(), gather_cfg::cout, fedconfig_, getCrate(), getFEDNumber(), 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 279 of file PixelFEDConfig.cc.
References assert(), gather_cfg::cout, fedconfig_, getCrate(), getFEDNumber(), i, and AlCaHLTBitMon_QueryRunRegistry::string.
unsigned int PixelFEDConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 231 of file PixelFEDConfig.cc.
References assert(), fedconfig_, and i.
Referenced by crateFromFEDNumber(), and FEDNumberFromCrateAndVMEBaseAddress().
unsigned int PixelFEDConfig::getFEDNumber | ( | unsigned int | i | ) | const |
Definition at line 223 of file PixelFEDConfig.cc.
References assert(), fedconfig_, and i.
Referenced by crateFromFEDNumber(), FEDNumberFromCrateAndVMEBaseAddress(), PixelFEDConfig(), and VMEBaseAddressFromFEDNumber().
unsigned int PixelFEDConfig::getNFEDBoards | ( | ) | const |
Definition at line 217 of file PixelFEDConfig.cc.
References fedconfig_.
unsigned int PixelFEDConfig::getVMEBaseAddress | ( | unsigned int | i | ) | const |
Definition at line 239 of file PixelFEDConfig.cc.
References assert(), fedconfig_, and i.
Referenced by VMEBaseAddressFromFEDNumber().
unsigned int PixelFEDConfig::VMEBaseAddressFromFEDNumber | ( | unsigned int | fednumber | ) | const |
Definition at line 264 of file PixelFEDConfig.cc.
References assert(), gather_cfg::cout, fedconfig_, getFEDNumber(), getVMEBaseAddress(), i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 195 of file PixelFEDConfig.cc.
References assert(), gather_cfg::cout, TauDecayModes::dec, fedconfig_, lut2db_cfg::filename, i, GenerateHcalLaserBadRunList::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 335 of file PixelFEDConfig.cc.
References TauDecayModes::dec, fedconfig_, i, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 296 of file PixelFEDConfig.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 353 of file PixelFEDConfig.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 74 of file PixelFEDConfig.h.
Referenced by crateFromFEDNumber(), FEDNumberFromCrateAndVMEBaseAddress(), getCrate(), getFEDNumber(), getNFEDBoards(), getVMEBaseAddress(), PixelFEDConfig(), VMEBaseAddressFromFEDNumber(), writeASCII(), and writeXML().