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 21 of file PixelDetectorConfig.cc.
References DummyCfis::c, containsModule(), pos::PixelROCStatus::get(), cuy::ins, callgraph::module, modules_, dqmiodumpmetadata::n, pos::PixelROCStatus::noInit, PixelMapPlotter::roc, rocs_, pos::PixelROCStatus::set(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.
PixelDetectorConfig::PixelDetectorConfig | ( | std::string | filename | ) |
Definition at line 95 of file PixelDetectorConfig.cc.
References cms::cuda::assert(), containsModule(), gather_cfg::cout, corrVsCorr::filename, pos::PixelROCStatus::get(), recoMuon::in, mps_splice::line, callgraph::module, EcalCalibMonitorClient_cfi::moduleName, modules_, pos::PixelROCStatus::noInit, PixelMapPlotter::roc, rocs_, pos::PixelROCStatus::set(), mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.
void pos::PixelDetectorConfig::addROC | ( | PixelROCName & | , |
std::string | statusLabel | ||
) |
void PixelDetectorConfig::addROC | ( | PixelROCName & | theROC | ) |
Definition at line 502 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 291 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 248 of file PixelDetectorConfig.cc.
References cms::cuda::assert(), pos::PixelHdwAddress::fednumber(), l1tstage2emulator_dqm_sourceclient-live_cfg::feds, pos::PixelNameTranslation::getChannelsOnModule(), pos::PixelNameTranslation::getHdwAddress(), and modules_.
std::map< unsigned int, std::set< unsigned int > > PixelDetectorConfig::getFEDsAndChannels | ( | PixelNameTranslation * | translation | ) | const |
Definition at line 268 of file PixelDetectorConfig.cc.
References cms::cuda::assert(), pos::PixelHdwAddress::fedchannel(), pos::PixelHdwAddress::fednumber(), pos::PixelNameTranslation::getChannelsOnModule(), pos::PixelNameTranslation::getHdwAddress(), and modules_.
PixelModuleName PixelDetectorConfig::getModule | ( | unsigned int | i | ) | const |
Definition at line 246 of file PixelDetectorConfig.cc.
References mps_fire::i, and modules_.
|
inline |
Definition at line 48 of file PixelDetectorConfig.h.
References modules_.
Referenced by pos::PixelCalibConfiguration::buildROCAndModuleLists(), and pos::PixelPortcardMap::portcards().
unsigned int PixelDetectorConfig::getNModules | ( | ) | const |
Definition at line 244 of file PixelDetectorConfig.cc.
References modules_.
|
inline |
Definition at line 53 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 543 of file PixelDetectorConfig.cc.
References rocs_, pos::PixelROCStatus::set(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 301 of file PixelDetectorConfig.cc.
References gather_cfg::cout, DeadROC_duringRun::dir, beamvalidation::exit(), corrVsCorr::filename, modules_, MillePedeFileConverter_cfg::out, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 432 of file PixelDetectorConfig.cc.
References cms::cuda::assert(), gather_cfg::cout, contentValuesFiles::fullPath, pos::PixelTimeFormatter::getTime(), modules_, MillePedeFileConverter_cfg::out, castor_dqm_sourceclient_file_cfg::path, rocs_, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 384 of file PixelDetectorConfig.cc.
References modules_, rocs_, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 334 of file PixelDetectorConfig.cc.
References cms::cuda::assert(), 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 418 of file PixelDetectorConfig.cc.
References alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 76 of file PixelDetectorConfig.h.
Referenced by containsModule(), getFEDs(), getFEDsAndChannels(), getModule(), getModuleList(), getNModules(), PixelDetectorConfig(), writeASCII(), and writeXML().
|
private |
Definition at line 78 of file PixelDetectorConfig.h.
Referenced by addROC(), getROCsList(), PixelDetectorConfig(), removeROC(), writeASCII(), and writeXML().