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 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 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_, gen::n, pos::PixelROCStatus::noInit, alignCSCRings::r, rocs_, pos::PixelROCStatus::set(), mps_update::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(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.
void pos::PixelDetectorConfig::addROC | ( | PixelROCName & | , |
std::string | statusLabel | ||
) |
Referenced by addROC(), and getModuleList().
void PixelDetectorConfig::addROC | ( | PixelROCName & | theROC | ) |
Definition at line 545 of file PixelDetectorConfig.cc.
References addROC(), pos::PixelROCStatus::reset(), rocs_, alignCSCRings::s, pos::PixelROCStatus::set(), 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(), getROCsList(), 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_.
Referenced by getROCsList().
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_.
Referenced by getROCsList().
PixelModuleName PixelDetectorConfig::getModule | ( | unsigned int | i | ) | const |
Definition at line 266 of file PixelDetectorConfig.cc.
References mps_fire::i, and modules_.
|
inline |
Definition at line 50 of file PixelDetectorConfig.h.
References addROC(), modules_, removeROC(), and AlCaHLTBitMon_QueryRunRegistry::string.
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 containsModule(), dir, getFEDs(), getFEDsAndChannels(), crabWrapper::key, MillePedeFileConverter_cfg::out, callgraph::path, rocs_, AlCaHLTBitMon_QueryRunRegistry::string, jets_cff::version, writeASCII(), writeXML(), writeXMLHeader(), and writeXMLTrailer().
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.
Referenced by getModuleList().
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 330 of file PixelDetectorConfig.cc.
References gather_cfg::cout, cmsRelvalreport::exit, corrVsCorr::filename, modules_, MillePedeFileConverter_cfg::out, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getROCsList().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 472 of file PixelDetectorConfig.cc.
References gather_cfg::cout, pos::PixelTimeFormatter::getTime(), modules_, MillePedeFileConverter_cfg::out, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getROCsList().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 421 of file PixelDetectorConfig.cc.
References modules_, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 369 of file PixelDetectorConfig.cc.
References gather_cfg::cout, pos::PixelConfigBase::getAuthor(), pos::PixelConfigBase::getComment(), pos::PixelTimeFormatter::getmSecTime(), pos::PixelTimeFormatter::getTime(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getROCsList().
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 458 of file PixelDetectorConfig.cc.
References alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getROCsList().
|
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().