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, fedconfig_, recoMuon::in, pos::PixelFEDParameters::setFEDParameters(), and tmp.
PixelFEDConfig::PixelFEDConfig | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
Definition at line 18 of file PixelFEDConfig.cc.
References trackerHits::c, fedconfig_, getFEDNumber(), n, alignCSCRings::r, pos::PixelFEDParameters::setFEDParameters(), tmp, and detailsBasic3DVector::y.
|
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 gather_cfg::cout, fedconfig_, getCrate(), getFEDNumber(), and i.
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 gather_cfg::cout, fedconfig_, getCrate(), getFEDNumber(), and i.
unsigned int PixelFEDConfig::getCrate | ( | unsigned int | i | ) | const |
Definition at line 231 of file PixelFEDConfig.cc.
References 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 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 fedconfig_, and i.
Referenced by VMEBaseAddressFromFEDNumber().
unsigned int PixelFEDConfig::VMEBaseAddressFromFEDNumber | ( | unsigned int | fednumber | ) | const |
Definition at line 264 of file PixelFEDConfig.cc.
References gather_cfg::cout, fedconfig_, getFEDNumber(), getVMEBaseAddress(), and i.
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 195 of file PixelFEDConfig.cc.
References gather_cfg::cout, fedconfig_, lut2db_cfg::filename, i, and dbtoconf::out.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 335 of file PixelFEDConfig.cc.
References fedconfig_, and i.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 296 of file PixelFEDConfig.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), and pos::PixelTimeFormatter::getTime().
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 353 of file PixelFEDConfig.cc.
|
private |
Definition at line 74 of file PixelFEDConfig.h.
Referenced by crateFromFEDNumber(), FEDNumberFromCrateAndVMEBaseAddress(), getCrate(), getFEDNumber(), getNFEDBoards(), getVMEBaseAddress(), PixelFEDConfig(), VMEBaseAddressFromFEDNumber(), writeASCII(), and writeXML().