This is the documentation about PixelDetectorConfig... More...
#include <PixelDetectorConfig.h>
Public Member Functions | |
void | addROC (PixelROCName &, std::string statusLabel) |
void | addROC (PixelROCName &) |
bool | containsModule (const PixelModuleName &moduleToFind) const |
std::set< unsigned int > | getFEDs (PixelNameTranslation *translation) const |
std::map< unsigned int, std::set< unsigned int > > | getFEDsAndChannels (PixelNameTranslation *translation) const |
PixelModuleName | getModule (unsigned int i) const |
const std::vector < PixelModuleName > & | getModuleList () const |
unsigned int | getNModules () const |
const std::map< PixelROCName, PixelROCStatus > & | getROCsList () const |
PixelDetectorConfig (std::vector< std::vector< std::string > > &tableMat) | |
PixelDetectorConfig (std::string filename) | |
void | removeROC (PixelROCName &) |
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 |
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< PixelModuleName > | modules_ |
std::map< PixelROCName, PixelROCStatus > | rocs_ |
This is the documentation about PixelDetectorConfig...
" "
Definition at line 39 of file PixelDetectorConfig.h.
PixelDetectorConfig::PixelDetectorConfig | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
Definition at line 22 of file PixelDetectorConfig.cc.
References EnergyCorrector::c, containsModule(), pos::PixelROCStatus::get(), cuy::ins, python.rootplot.argparse::module, modules_, n, pos::PixelROCStatus::noInit, alignCSCRings::r, rocs_, pos::PixelROCStatus::set(), ntuplemaker::status, and AlCaHLTBitMon_QueryRunRegistry::string.
PixelDetectorConfig::PixelDetectorConfig | ( | std::string | filename | ) |
Definition at line 98 of file PixelDetectorConfig.cc.
References containsModule(), gather_cfg::cout, pos::PixelROCStatus::get(), recoMuon::in, geometryCSVtoXML::line, python.rootplot.argparse::module, edm::moduleName(), modules_, pos::PixelROCStatus::noInit, rocs_, pos::PixelROCStatus::set(), ntuplemaker::status, and AlCaHLTBitMon_QueryRunRegistry::string.
void pos::PixelDetectorConfig::addROC | ( | PixelROCName & | , |
std::string | statusLabel | ||
) |
void PixelDetectorConfig::addROC | ( | PixelROCName & | theROC | ) |
Definition at line 545 of file PixelDetectorConfig.cc.
References pos::PixelROCStatus::reset(), rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
bool PixelDetectorConfig::containsModule | ( | const PixelModuleName & | moduleToFind | ) | const |
Definition at line 320 of file PixelDetectorConfig.cc.
References modules_.
Referenced by pos::PixelCalibConfiguration::buildROCAndModuleLists(), pos::PixelCalibConfiguration::fedCardsAndChannels(), pos::PixelNameTranslation::getChannels(), and PixelDetectorConfig().
std::set< unsigned int > PixelDetectorConfig::getFEDs | ( | PixelNameTranslation * | translation | ) | const |
Definition at line 272 of file PixelDetectorConfig.cc.
References pos::PixelHdwAddress::fednumber(), pos::PixelNameTranslation::getChannelsOnModule(), pos::PixelNameTranslation::getHdwAddress(), and modules_.
std::map< unsigned int, std::set< unsigned int > > PixelDetectorConfig::getFEDsAndChannels | ( | PixelNameTranslation * | translation | ) | const |
Definition at line 296 of file PixelDetectorConfig.cc.
References pos::PixelHdwAddress::fedchannel(), pos::PixelHdwAddress::fednumber(), pos::PixelNameTranslation::getChannelsOnModule(), pos::PixelNameTranslation::getHdwAddress(), and modules_.
PixelModuleName PixelDetectorConfig::getModule | ( | unsigned int | i | ) | const |
Definition at line 266 of file PixelDetectorConfig.cc.
|
inline |
Definition at line 50 of file PixelDetectorConfig.h.
References modules_.
Referenced by pos::PixelCalibConfiguration::buildROCAndModuleLists(), and pos::PixelPortcardMap::portcards().
unsigned int PixelDetectorConfig::getNModules | ( | ) | const |
Definition at line 260 of file PixelDetectorConfig.cc.
References modules_.
|
inline |
Definition at line 55 of file PixelDetectorConfig.h.
References rocs_.
Referenced by pos::PixelCalibConfiguration::buildROCAndModuleLists(), pos::PixelConfigurationVerifier::checkChannelEnable(), and pos::PixelDACSettings::rocIsDisabled().
void PixelDetectorConfig::removeROC | ( | PixelROCName & | theROC | ) |
Definition at line 584 of file PixelDetectorConfig.cc.
References rocs_, pos::PixelROCStatus::set(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 330 of file PixelDetectorConfig.cc.
References gather_cfg::cout, cmsRelvalreport::exit, lut2db_cfg::filename, modules_, dbtoconf::out, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 472 of file PixelDetectorConfig.cc.
References gather_cfg::cout, contentValuesFiles::fullPath, pos::PixelTimeFormatter::getTime(), modules_, dbtoconf::out, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 421 of file PixelDetectorConfig.cc.
References modules_, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 369 of file PixelDetectorConfig.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 458 of file PixelDetectorConfig.cc.
References alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 83 of file PixelDetectorConfig.h.
Referenced by containsModule(), getFEDs(), getFEDsAndChannels(), getModule(), getModuleList(), getNModules(), PixelDetectorConfig(), writeASCII(), and writeXML().
|
private |
Definition at line 85 of file PixelDetectorConfig.h.
Referenced by addROC(), getROCsList(), PixelDetectorConfig(), removeROC(), writeASCII(), and writeXML().