#include <SiPixelInformationExtractor.h>
Public Member Functions | |
void | bookNoisyPixels (DQMStore::IBooker &iBooker, float noiseRate, bool Tier0Flag) |
void | computeStatus (MonitorElement *mE, double &colorValue, std::pair< double, double > &norm) |
(Documentation under construction). More... | |
void | findNoisyPixels (DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, bool init, float noiseRate, int noiseRateDenominator, edm::ESHandle< SiPixelFedCablingMap > theCablingMap) |
int | getDetId (MonitorElement *mE) |
(Documentation under construction). More... | |
std::string | getMEType (MonitorElement *mE) |
void | getNormalization (MonitorElement *mE, std::pair< double, double > &norm, std::string theMEType) |
(Documentation under construction). More... | |
void | getNormalization2D (MonitorElement *mE, std::pair< double, double > &normX, std::pair< double, double > &normY, std::string theMEType) |
(Documentation under construction). More... | |
void | readConfiguration () |
Read Configuration File. More... | |
bool | readConfiguration (std::map< std::string, std::vector< std::string >> &layoutMap, std::map< std::string, std::map< std::string, std::string >> &qtestsMap, std::map< std::string, std::vector< std::string >> &meQTestsMap) |
SiPixelInformationExtractor (bool offlineXMLfile) | |
Constructor of the SiPixelInformationExtractor class. More... | |
~SiPixelInformationExtractor () | |
Destructor of the SiPixelInformationExtractor class. More... | |
Private Member Functions | |
void | createDummiesFromLayout () |
void | getItemList (const std::multimap< std::string, std::string > &req_map, std::string item_name, std::vector< std::string > &items) |
(Documentation under construction). More... | |
std::string | getItemValue (const std::multimap< std::string, std::string > &req_map, std::string item_name) |
(Documentation under construction). More... | |
std::string | getItemValue (std::multimap< std::string, std::string > &req_map, std::string item_name) |
bool | hasItem (std::multimap< std::string, std::string > &req_map, std::string item_name) |
(Documentation under construction). More... | |
void | selectColor (std::string &col, int status) |
void | selectColor (std::string &col, std::vector< QReport * > &reports) |
void | selectImage (std::string &name, int status) |
void | selectImage (std::string &name, std::vector< QReport * > &reports) |
Private Attributes | |
SiPixelActionExecutor * | actionExecutor_ |
int | alarmCounter_ |
MonitorElement * | BarrelNdigisFREQProjection |
SiPixelConfigParser * | configParser_ |
SiPixelConfigWriter * | configWriter_ |
int | count |
MonitorElement * | EndcapNdigisFREQProjection |
bool | endOfModules_ |
int | errcount |
MonitorElement * | EventRateBarrelPixels |
MonitorElement * | EventRateEndcapPixels |
bool | flagHotModule_ |
bool | gotDigis |
std::map< std::string, std::vector< std::string > > | layoutMap |
SiPixelLayoutParser * | layoutParser_ |
std::map< std::string, std::vector< std::string > > | meQTestsMap |
std::ofstream | myfile_ |
int | nevents_ |
std::map< uint32_t, std::vector< std::pair< std::pair< int, int >, float > > > | noisyDetIds_ |
bool | offlineXMLfile_ |
std::map< std::string, std::map< std::string, std::string > > | qtestsMap |
bool | readMeMap_ |
bool | readQTestMap_ |
bool | readReference_ |
Definition at line 39 of file SiPixelInformationExtractor.h.
SiPixelInformationExtractor::SiPixelInformationExtractor | ( | bool | offlineXMLfile | ) |
Constructor of the SiPixelInformationExtractor class.
Definition at line 68 of file SiPixelInformationExtractor.cc.
References readReference_.
SiPixelInformationExtractor::~SiPixelInformationExtractor | ( | ) |
Destructor of the SiPixelInformationExtractor class.
Definition at line 79 of file SiPixelInformationExtractor.cc.
void SiPixelInformationExtractor::bookNoisyPixels | ( | DQMStore::IBooker & | iBooker, |
float | noiseRate, | ||
bool | Tier0Flag | ||
) |
Definition at line 329 of file SiPixelInformationExtractor.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::cd(), EventRateBarrelPixels, EventRateEndcapPixels, MonitorElement::setAxisTitle(), and DQMStore::IBooker::setCurrentFolder().
void SiPixelInformationExtractor::computeStatus | ( | MonitorElement * | theME, |
double & | colorValue, | ||
std::pair< double, double > & | norm | ||
) |
(Documentation under construction).
Definition at line 218 of file SiPixelInformationExtractor.cc.
References MonitorElement::getMean(), getMEType(), getNormalization(), getNormalization2D(), and mathSSE::sqrt().
|
private |
void SiPixelInformationExtractor::findNoisyPixels | ( | DQMStore::IBooker & | iBooker, |
DQMStore::IGetter & | iGetter, | ||
bool | init, | ||
float | noiseRate, | ||
int | noiseRateDenominator, | ||
edm::ESHandle< SiPixelFedCablingMap > | theCablingMap | ||
) |
Definition at line 347 of file SiPixelInformationExtractor.cc.
References DQMStore::IBooker::cd(), DQMStore::IGetter::cd(), sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, gamEcalExtractorBlocks_cff::detector, RefreshWebPage::dname, endOfModules_, EventRateBarrelPixels, EventRateEndcapPixels, MonitorElement::Fill(), SiPixelFedCablingMap::findItem(), DQMStore::IGetter::get(), getDetId(), DQMStore::IGetter::getMEs(), MonitorElement::getPathname(), DQMStore::IGetter::getSubdirs(), MonitorElement::getTH2F(), DQMStore::IBooker::goUp(), mps_fire::i, sipixelobjects::PixelROC::idInDetUnit(), PixelBarrelName::isHalfModule(), sipixelobjects::ElectronicIndex::link, create_public_lumi_plots::loc, genParticles_cff::map, myfile_, PixelBarrelName::name(), PixelEndcapName::name(), nevents_, noisyDetIds_, runTauDisplay::outputname, callgraph::path, edm::ESHandle< T >::product(), DQMStore::IBooker::pwd(), sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::ElectronicIndex::roc, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), DQMStore::IBooker::setCurrentFolder(), DQMStore::IGetter::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
int SiPixelInformationExtractor::getDetId | ( | MonitorElement * | mE | ) |
(Documentation under construction).
Given a pointer to ME returns the associated detId
Definition at line 313 of file SiPixelInformationExtractor.cc.
References MonitorElement::getName().
Referenced by findNoisyPixels().
|
private |
(Documentation under construction).
This method
Definition at line 110 of file SiPixelInformationExtractor.cc.
|
private |
(Documentation under construction).
This method
Definition at line 138 of file SiPixelInformationExtractor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
private |
Definition at line 147 of file SiPixelInformationExtractor.cc.
References cuy::col, dqm::qstatus::ERROR, dataset::name, dqm::qstatus::OTHER, selectColor(), selectImage(), mps_update::status, dqm::qstatus::STATUS_OK, AlCaHLTBitMon_QueryRunRegistry::string, relativeConstraints::value, and dqm::qstatus::WARNING.
std::string SiPixelInformationExtractor::getMEType | ( | MonitorElement * | mE | ) |
Definition at line 93 of file SiPixelInformationExtractor.cc.
References MonitorElement::getRootObject().
Referenced by computeStatus().
void SiPixelInformationExtractor::getNormalization | ( | MonitorElement * | theME, |
std::pair< double, double > & | norm, | ||
std::string | theMEType | ||
) |
(Documentation under construction).
Definition at line 274 of file SiPixelInformationExtractor.cc.
References MonitorElement::getNbinsX().
Referenced by computeStatus().
void SiPixelInformationExtractor::getNormalization2D | ( | MonitorElement * | theME, |
std::pair< double, double > & | normX, | ||
std::pair< double, double > & | normY, | ||
std::string | theMEType | ||
) |
(Documentation under construction).
Definition at line 291 of file SiPixelInformationExtractor.cc.
References MonitorElement::getNbinsX(), and MonitorElement::getNbinsY().
Referenced by computeStatus().
|
private |
(Documentation under construction).
This method
Definition at line 126 of file SiPixelInformationExtractor.cc.
void SiPixelInformationExtractor::readConfiguration | ( | ) |
bool SiPixelInformationExtractor::readConfiguration | ( | std::map< std::string, std::vector< std::string >> & | layoutMap, |
std::map< std::string, std::map< std::string, std::string >> & | qtestsMap, | ||
std::map< std::string, std::vector< std::string >> & | meQTestsMap | ||
) |
|
private |
Referenced by getItemValue().
|
private |
|
private |
Referenced by getItemValue().
|
private |
|
private |
Definition at line 84 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 80 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 110 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 82 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 83 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 97 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 109 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 104 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 98 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 106 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 107 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 94 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 99 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 87 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 85 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 89 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 101 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 102 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 103 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 95 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 88 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 93 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 92 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 91 of file SiPixelInformationExtractor.h.
Referenced by SiPixelInformationExtractor().