#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 40 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 331 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 213 of file SiPixelInformationExtractor.cc.
References MonitorElement::getMean(), getMEType(), getNormalization(), getNormalization2D(), mathSSE::return(), 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 350 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_, PixelEndcapName::name(), PixelBarrelName::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 312 of file SiPixelInformationExtractor.cc.
References MonitorElement::getName().
Referenced by findNoisyPixels().
|
private |
(Documentation under construction).
This method
Definition at line 114 of file SiPixelInformationExtractor.cc.
|
private |
(Documentation under construction).
This method
Definition at line 143 of file SiPixelInformationExtractor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
private |
Definition at line 152 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 95 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 269 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 288 of file SiPixelInformationExtractor.cc.
References MonitorElement::getNbinsX(), and MonitorElement::getNbinsY().
Referenced by computeStatus().
|
private |
(Documentation under construction).
This method
Definition at line 131 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 101 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 97 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 132 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 99 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 100 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 119 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 131 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 126 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 120 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 128 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 129 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 116 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 121 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 105 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 102 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 110 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 123 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 124 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 125 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 117 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 108 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 115 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 114 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 113 of file SiPixelInformationExtractor.h.
Referenced by SiPixelInformationExtractor().