#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 PixelModuleName &aModule, const std::string &TBMChannel) const |
const std::pair< std::string, int > | PortCardAndAOH (const PixelModuleName &aModule, const PixelTBMChannel &TBMChannel) const |
const std::pair< std::string, int > | PortCardAndAOH (const PixelChannel &aChannel) const |
const std::set< std::pair < std::string, int > > | PortCardAndAOHs (const PixelModuleName &aModule) const |
const std::set< std::string > | portcards (const PixelModuleName &aModule) const |
std::set< std::string > | portcards (const PixelDetectorConfig *detconfig=0) |
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 | ~PixelPortcardMap () |
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 123 of file PixelPortcardMap.cc.
References assert(), gather_cfg::cout, recoMuon::in, map_, python.rootplot.argparse::module, 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 assert(), EnergyCorrector::c, gather_cfg::cout, cuy::ins, map_, python.rootplot.argparse::module, pos::PixelModuleName::modulename(), gen::n, alignCSCRings::r, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 191 of file PixelPortcardMap.cc.
bool PixelPortcardMap::getName | ( | std::string | moduleName, |
std::string & | portcardName | ||
) |
Definition at line 239 of file PixelPortcardMap.cc.
References edm::false, python.multivaluedict::map(), map_, edm::moduleName(), and funct::true.
Referenced by plotting.Plot::draw().
std::set< PixelModuleName > PixelPortcardMap::modules | ( | std::string | portCardName | ) | const |
Definition at line 287 of file PixelPortcardMap.cc.
References python.multivaluedict::map(), and map_.
|
inline |
Definition at line 47 of file PixelPortcardMap.h.
References PortCardAndAOHs().
const std::pair< std::string, int > PixelPortcardMap::PortCardAndAOH | ( | const PixelModuleName & | aModule, |
const std::string & | TBMChannel | ||
) | const |
Definition at line 268 of file PixelPortcardMap.cc.
Referenced by PortCardAndAOH().
const std::pair< std::string, int > PixelPortcardMap::PortCardAndAOH | ( | const PixelModuleName & | aModule, |
const PixelTBMChannel & | TBMChannel | ||
) | const |
Definition at line 263 of file PixelPortcardMap.cc.
References PortCardAndAOH().
const std::pair< std::string, int > PixelPortcardMap::PortCardAndAOH | ( | const PixelChannel & | aChannel | ) | const |
Definition at line 273 of file PixelPortcardMap.cc.
References newFWLiteAna::found, and map_.
const std::set< std::pair< std::string, int > > PixelPortcardMap::PortCardAndAOHs | ( | const PixelModuleName & | aModule | ) | const |
Definition at line 222 of file PixelPortcardMap.cc.
References python.multivaluedict::map(), map_, and pos::PixelModuleName::modulename().
Referenced by numChannels(), and portcards().
const std::set< std::string > PixelPortcardMap::portcards | ( | const PixelModuleName & | aModule | ) | const |
Definition at line 252 of file PixelPortcardMap.cc.
References PortCardAndAOHs().
Referenced by pos::PixelCalibConfiguration::getTKFECCrates().
std::set< std::string > PixelPortcardMap::portcards | ( | const PixelDetectorConfig * | detconfig = 0 | ) |
Definition at line 303 of file PixelPortcardMap.cc.
References pos::PixelDetectorConfig::getModuleList(), python.multivaluedict::map(), and map_.
|
virtual |
Implements pos::PixelConfigBase.
Definition at line 194 of file PixelPortcardMap.cc.
References assert(), gather_cfg::cout, lut2db_cfg::filename, i, map_, dbtoconf::out, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 381 of file PixelPortcardMap.cc.
References i, map_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from pos::PixelConfigBase.
Definition at line 341 of file PixelPortcardMap.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 400 of file PixelPortcardMap.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 81 of file PixelPortcardMap.h.
Referenced by getName(), modules(), PixelPortcardMap(), PortCardAndAOH(), PortCardAndAOHs(), portcards(), writeASCII(), and writeXML().