#include <SiPixelInformationExtractor.h>
Public Member Functions | |
void | bookNoisyPixels (DQMStore *bei, float noiseRate, bool Tier0Flag) |
void | computeStatus (MonitorElement *mE, double &colorValue, std::pair< double, double > &norm) |
(Documentation under construction). More... | |
void | createImages (DQMStore *bei) |
void | findNoisyPixels (DQMStore *bei, bool init, float noiseRate, int noiseRateDenominator, edm::EventSetup const &eSetup) |
int | getDetId (MonitorElement *mE) |
(Documentation under construction). More... | |
void | getMEList (DQMStore *bei, std::map< std::string, int > &mEHash) |
(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) |
void | selectMEList (DQMStore *bei, std::string &name, std::vector< MonitorElement * > &mes) |
(Documentation under construction). More... | |
SiPixelInformationExtractor (bool offlineXMLfile) | |
Constructor of the SiPixelInformationExtractor class. More... | |
~SiPixelInformationExtractor () | |
Destructor of the SiPixelInformationExtractor class. More... | |
Private Member Functions | |
void | createDummiesFromLayout () |
void | fillModuleAndHistoList (DQMStore *bei, std::vector< std::string > &modules, std::map< std::string, std::string > &histos) |
(Documentation under construction). More... | |
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 | goToDir (DQMStore *bei, std::string &sname) |
(Documentation under construction). More... | |
bool | hasItem (std::multimap< std::string, std::string > &req_map, std::string item_name) |
(Documentation under construction). More... | |
void | printAlarmList (DQMStore *bei, std::ostringstream &str_val) |
(Documentation under construction). More... | |
void | printModuleHistoList (DQMStore *bei, std::ostringstream &str_val) |
(Documentation under construction). More... | |
void | printSummaryHistoList (DQMStore *bei, std::ostringstream &str_val) |
(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 |
SiPixelHistoPlotter * | histoPlotter_ |
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_ |
edm::ESHandle < SiPixelFedCablingMap > | theCablingMap |
Definition at line 41 of file SiPixelInformationExtractor.h.
SiPixelInformationExtractor::SiPixelInformationExtractor | ( | bool | offlineXMLfile | ) |
Constructor of the SiPixelInformationExtractor class.
Definition at line 69 of file SiPixelInformationExtractor.cc.
References histoPlotter_, and readReference_.
SiPixelInformationExtractor::~SiPixelInformationExtractor | ( | ) |
Destructor of the SiPixelInformationExtractor class.
Definition at line 82 of file SiPixelInformationExtractor.cc.
References histoPlotter_.
void SiPixelInformationExtractor::bookNoisyPixels | ( | DQMStore * | bei, |
float | noiseRate, | ||
bool | Tier0Flag | ||
) |
Definition at line 1350 of file SiPixelInformationExtractor.cc.
References DQMStore::book1D(), DQMStore::cd(), EventRateBarrelPixels, EventRateEndcapPixels, MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().
void SiPixelInformationExtractor::computeStatus | ( | MonitorElement * | theME, |
double & | colorValue, | ||
std::pair< double, double > & | norm | ||
) |
(Documentation under construction).
Definition at line 916 of file SiPixelInformationExtractor.cc.
References MonitorElement::getMean(), getMEType(), getNormalization(), getNormalization2D(), mathSSE::return(), and mathSSE::sqrt().
|
private |
void SiPixelInformationExtractor::createImages | ( | DQMStore * | bei | ) |
Definition at line 1608 of file SiPixelInformationExtractor.cc.
References SiPixelHistoPlotter::createPlots(), and histoPlotter_.
|
private |
(Documentation under construction).
This method
(Documentation under construction).
This method
Definition at line 322 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), relmon_rootfiles_spy::contents, spr::find(), DQMStore::get(), DQMStore::getMEs(), MonitorElement::getRootObject(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
void SiPixelInformationExtractor::findNoisyPixels | ( | DQMStore * | bei, |
bool | init, | ||
float | noiseRate, | ||
int | noiseRateDenominator, | ||
edm::EventSetup const & | eSetup | ||
) |
Definition at line 1369 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), counter, sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, cond::rpcobgas::detid, RefreshWebPage::dname, endOfModules_, EventRateBarrelPixels, EventRateEndcapPixels, NewTree::fid, MonitorElement::Fill(), fff_deleter::formatter, edm::EventSetup::get(), DQMStore::get(), getDetId(), DQMStore::getMEs(), MonitorElement::getPathname(), DQMStore::getSubdirs(), MonitorElement::getTH2F(), DQMStore::goUp(), i, sipixelobjects::PixelROC::idInDetUnit(), PixelBarrelName::isHalfModule(), j, sipixelobjects::ElectronicIndex::link, python.multivaluedict::map(), myfile_, PixelBarrelName::name(), PixelEndcapName::name(), nevents_, noisyDetIds_, cmsHarvester::path, edm::ESHandle< class >::product(), DQMStore::pwd(), sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::ElectronicIndex::roc, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), theCablingMap, and relativeConstraints::value.
int SiPixelInformationExtractor::getDetId | ( | MonitorElement * | mE | ) |
(Documentation under construction).
(Documentation under construction).
Given a pointer to ME returns the associated detId
Definition at line 1228 of file SiPixelInformationExtractor.cc.
References MonitorElement::getName().
Referenced by findNoisyPixels().
|
private |
(Documentation under construction).
This method
Definition at line 689 of file SiPixelInformationExtractor.cc.
|
private |
(Documentation under construction).
This method
Definition at line 722 of file SiPixelInformationExtractor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
private |
Definition at line 734 of file SiPixelInformationExtractor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
void SiPixelInformationExtractor::getMEList | ( | DQMStore * | bei, |
std::map< std::string, int > & | mEHash | ||
) |
(Documentation under construction).
Definition at line 1259 of file SiPixelInformationExtractor.cc.
References ACBold, ACPlain, ACRed, DQMStore::cd(), relmon_rootfiles_spy::contents, gather_cfg::cout, DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
std::string SiPixelInformationExtractor::getMEType | ( | MonitorElement * | mE | ) |
Definition at line 264 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 988 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 1007 of file SiPixelInformationExtractor.cc.
References MonitorElement::getNbinsX(), and MonitorElement::getNbinsY().
Referenced by computeStatus().
|
private |
(Documentation under construction).
This method
Definition at line 834 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), TrackerOfflineValidation_Dqm_cff::dirName, and DQMStore::pwd().
|
private |
(Documentation under construction).
This method
Definition at line 708 of file SiPixelInformationExtractor.cc.
|
private |
(Documentation under construction).
This method
(Documentation under construction).
Returns a stringstream containing an HTML-formatted list of alarms for the current directory. This is a recursive method.
Definition at line 605 of file SiPixelInformationExtractor.cc.
References alarmCounter_, DQMStore::cd(), RefreshWebPage::dname, DQMStore::get(), DQMStore::getMEs(), MonitorElement::getQReports(), DQMStore::getStatus(), DQMStore::getSubdirs(), DQMStore::goUp(), DQMStore::pwd(), and selectImage().
|
private |
(Documentation under construction).
This method
(Documentation under construction).
This method
Definition at line 411 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), RefreshWebPage::dname, DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
|
private |
(Documentation under construction).
This method
(Documentation under construction).
Returns a stringstream containing an HTML-formatted list of ME in the current directory. This is a recursive method.
Definition at line 506 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), RefreshWebPage::dname, DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
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 |
|
private |
|
private |
Referenced by printAlarmList().
|
private |
void SiPixelInformationExtractor::selectMEList | ( | DQMStore * | bei, |
std::string & | name, | ||
std::vector< MonitorElement * > & | mes | ||
) |
(Documentation under construction).
Definition at line 1040 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), relmon_rootfiles_spy::contents, DQMStore::get(), DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
|
private |
Definition at line 159 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 155 of file SiPixelInformationExtractor.h.
Referenced by printAlarmList().
|
private |
Definition at line 190 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 157 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 158 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 177 of file SiPixelInformationExtractor.h.
Referenced by NodeCut.MatchLessSeen::match(), and NodeCut.MatchLessHit::match().
|
private |
Definition at line 189 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 184 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 178 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 186 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 187 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 174 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 179 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 193 of file SiPixelInformationExtractor.h.
Referenced by createImages(), SiPixelInformationExtractor(), and ~SiPixelInformationExtractor().
|
private |
Definition at line 163 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 160 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 168 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 181 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 182 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 183 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 175 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 166 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 173 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 172 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 171 of file SiPixelInformationExtractor.h.
Referenced by SiPixelInformationExtractor().
|
private |
Definition at line 185 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().