#include <PixelPortcardMap.h>
Public Member Functions | |
bool | getName (std::string moduleName, std::string &portcardName) |
std::set< PixelModuleName > | modules (std::string portCardName) const |
int | numChannels (const PixelModuleName &aModule) |
PixelPortcardMap (std::string filename) | |
PixelPortcardMap (std::vector< std::vector< std::string > > &tableMat) | |
const std::pair< std::string, int > | PortCardAndAOH (const PixelChannel &aChannel) const |
const std::pair< std::string, int > | PortCardAndAOH (const PixelModuleName &aModule, const PixelTBMChannel &TBMChannel) const |
const std::pair< std::string, int > | PortCardAndAOH (const PixelModuleName &aModule, const std::string &TBMChannel) const |
const std::set< std::pair< std::string, int > > | PortCardAndAOHs (const PixelModuleName &aModule) const |
std::set< std::string > | portcards (const PixelDetectorConfig *detconfig=nullptr) |
const std::set< std::string > | portcards (const PixelModuleName &aModule) const |
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 |
~PixelPortcardMap () 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::map< PixelChannel, std::pair< std::string, int > > | map_ |
Definition at line 31 of file PixelPortcardMap.h.
PixelPortcardMap::PixelPortcardMap | ( | std::string | filename | ) |
Definition at line 115 of file PixelPortcardMap.cc.
References cms::cuda::assert(), gather_cfg::cout, corrVsCorr::filename, recoMuon::in, map_, pos::PixelModuleName::modulename(), and AlCaHLTBitMon_QueryRunRegistry::string.
PixelPortcardMap::PixelPortcardMap | ( | std::vector< std::vector< std::string > > & | tableMat | ) |
Definition at line 19 of file PixelPortcardMap.cc.
References cms::cuda::assert(), HltBtagPostValidation_cff::c, gather_cfg::cout, cuy::ins, createfilelist::int, map_, pos::PixelModuleName::modulename(), dqmiodumpmetadata::n, alignCSCRings::r, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 178 of file PixelPortcardMap.cc.
bool PixelPortcardMap::getName | ( | std::string | moduleName, |
std::string & | portcardName | ||
) |
Definition at line 217 of file PixelPortcardMap.cc.
References genParticles_cff::map, map_, and EcalCalibMonitorClient_cfi::moduleName.
Referenced by plotting.Plot::draw().
std::set< PixelModuleName > PixelPortcardMap::modules | ( | std::string | portCardName | ) | const |
Definition at line 260 of file PixelPortcardMap.cc.
References genParticles_cff::map, and map_.
|
inline |
const std::pair< std::string, int > PixelPortcardMap::PortCardAndAOH | ( | const PixelChannel & | aChannel | ) | const |
Definition at line 250 of file PixelPortcardMap.cc.
References newFWLiteAna::found, and map_.
const std::pair< std::string, int > PixelPortcardMap::PortCardAndAOH | ( | const PixelModuleName & | aModule, |
const PixelTBMChannel & | TBMChannel | ||
) | const |
Definition at line 240 of file PixelPortcardMap.cc.
References PortCardAndAOH().
const std::pair< std::string, int > PixelPortcardMap::PortCardAndAOH | ( | const PixelModuleName & | aModule, |
const std::string & | TBMChannel | ||
) | const |
Definition at line 245 of file PixelPortcardMap.cc.
Referenced by PortCardAndAOH().
const std::set< std::pair< std::string, int > > PixelPortcardMap::PortCardAndAOHs | ( | const PixelModuleName & | aModule | ) | const |
Definition at line 201 of file PixelPortcardMap.cc.
References genParticles_cff::map, map_, and pos::PixelModuleName::modulename().
Referenced by numChannels(), and portcards().
std::set< std::string > PixelPortcardMap::portcards | ( | const PixelDetectorConfig * | detconfig = nullptr | ) |
Definition at line 275 of file PixelPortcardMap.cc.
References pos::PixelDetectorConfig::getModuleList(), genParticles_cff::map, and map_.
const std::set< std::string > PixelPortcardMap::portcards | ( | const PixelModuleName & | aModule | ) | const |
Definition at line 229 of file PixelPortcardMap.cc.
References PortCardAndAOHs().
Referenced by pos::PixelCalibConfiguration::getTKFECCrates().
|
overridevirtual |
Implements pos::PixelConfigBase.
Definition at line 180 of file PixelPortcardMap.cc.
References cms::cuda::assert(), gather_cfg::cout, DeadROC_duringRun::dir, corrVsCorr::filename, mps_fire::i, map_, MillePedeFileConverter_cfg::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 347 of file PixelPortcardMap.cc.
References mps_fire::i, map_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 307 of file PixelPortcardMap.cc.
References 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 362 of file PixelPortcardMap.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 77 of file PixelPortcardMap.h.
Referenced by getName(), modules(), PixelPortcardMap(), PortCardAndAOH(), PortCardAndAOHs(), portcards(), writeASCII(), and writeXML().