#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 | getHistosFromPath (DQMStore *bei, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getIMGCImage (const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getIMGCImage (std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
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 | getSingleModuleHistos (DQMStore *bei, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | getTrackerMapHistos (DQMStore *bei, const std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | readAlarmTree (DQMStore *bei, std::string &str_name, xgi::Output *out) |
(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 | readModuleAndHistoList (DQMStore *bei, xgi::Output *out) |
(Documentation under construction). More... | |
void | readModuleHistoTree (DQMStore *bei, std::string &str_name, xgi::Output *out) |
(Documentation under construction). More... | |
void | readStatusMessage (DQMStore *bei, std::multimap< std::string, std::string > &req_map, xgi::Output *out) |
void | readSummaryHistoTree (DQMStore *bei, std::string &str_name, xgi::Output *out) |
(Documentation under construction). More... | |
void | selectMEList (DQMStore *bei, std::string &name, std::vector< MonitorElement * > &mes) |
(Documentation under construction). More... | |
void | sendTkUpdatedStatus (DQMStore *bei, xgi::Output *out, std::string &meName, std::string &theTKType) |
(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) |
void | setHTMLHeader (xgi::Output *out) |
void | setPlainHeader (xgi::Output *out) |
void | setXMLHeader (xgi::Output *out) |
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 |
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 44 of file SiPixelInformationExtractor.h.
SiPixelInformationExtractor::SiPixelInformationExtractor | ( | bool | offlineXMLfile | ) |
Constructor of the SiPixelInformationExtractor class.
Definition at line 68 of file SiPixelInformationExtractor.cc.
References histoPlotter_, and readReference_.
SiPixelInformationExtractor::~SiPixelInformationExtractor | ( | ) |
Destructor of the SiPixelInformationExtractor class.
Definition at line 81 of file SiPixelInformationExtractor.cc.
References histoPlotter_.
void SiPixelInformationExtractor::bookNoisyPixels | ( | DQMStore * | bei, |
float | noiseRate, | ||
bool | Tier0Flag | ||
) |
Definition at line 1330 of file SiPixelInformationExtractor.cc.
References DQMStore::book1D(), DQMStore::cd(), EventRateBarrelPixels, EventRateEndcapPixels, MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().
Referenced by SiPixelEDAClient::beginRun().
void SiPixelInformationExtractor::computeStatus | ( | MonitorElement * | theME, |
double & | colorValue, | ||
std::pair< double, double > & | norm | ||
) |
(Documentation under construction).
Definition at line 898 of file SiPixelInformationExtractor.cc.
References MonitorElement::getMean(), getMEType(), getNormalization(), getNormalization2D(), hitfit::return, and mathSSE::sqrt().
Referenced by sendTkUpdatedStatus().
|
private |
void SiPixelInformationExtractor::createImages | ( | DQMStore * | bei | ) |
Definition at line 1588 of file SiPixelInformationExtractor.cc.
References SiPixelHistoPlotter::createPlots(), and histoPlotter_.
Referenced by SiPixelWebInterface::performAction().
|
private |
(Documentation under construction).
This method
Definition at line 315 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().
Referenced by readModuleAndHistoList().
void SiPixelInformationExtractor::findNoisyPixels | ( | DQMStore * | bei, |
bool | init, | ||
float | noiseRate, | ||
int | noiseRateDenominator, | ||
edm::EventSetup const & | eSetup | ||
) |
Definition at line 1349 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, cond::rpcobgas::detid, RefreshWebPage::dname, endOfModules_, EventRateBarrelPixels, EventRateEndcapPixels, NewTree::fid, MonitorElement::Fill(), 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_, edm::ESHandle< class >::product(), DQMStore::pwd(), sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::ElectronicIndex::roc, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), DQMStore::setCurrentFolder(), DetId::subdetId(), theCablingMap, and relativeConstraints::value.
Referenced by SiPixelEDAClient::endLuminosityBlock(), and SiPixelEDAClient::endRun().
int SiPixelInformationExtractor::getDetId | ( | MonitorElement * | mE | ) |
(Documentation under construction).
Given a pointer to ME returns the associated detId
Definition at line 1209 of file SiPixelInformationExtractor.cc.
References MonitorElement::getName().
Referenced by findNoisyPixels().
void SiPixelInformationExtractor::getHistosFromPath | ( | DQMStore * | bei, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 1299 of file SiPixelInformationExtractor.cc.
References DQMStore::getContents(), getItemValue(), MonitorElement::getName(), histoPlotter_, mergeVDriftHistosByStation::name, setHTMLHeader(), SiPixelHistoPlotter::setNewPlot(), and tablePrinter::width.
Referenced by SiPixelWebInterface::handleEDARequest().
void SiPixelInformationExtractor::getIMGCImage | ( | const std::multimap< std::string, std::string > & | req_map, |
xgi::Output * | out | ||
) |
Referenced by SiPixelWebInterface::handleEDARequest().
void SiPixelInformationExtractor::getIMGCImage | ( | std::multimap< std::string, std::string > & | req_map, |
xgi::Output * | out | ||
) |
|
private |
(Documentation under construction).
This method
Definition at line 675 of file SiPixelInformationExtractor.cc.
Referenced by getSingleModuleHistos().
|
private |
(Documentation under construction).
This method
Definition at line 708 of file SiPixelInformationExtractor.cc.
References pos, and relativeConstraints::value.
Referenced by getHistosFromPath(), getSingleModuleHistos(), getTrackerMapHistos(), and readStatusMessage().
|
private |
Definition at line 720 of file SiPixelInformationExtractor.cc.
References pos, and relativeConstraints::value.
void SiPixelInformationExtractor::getMEList | ( | DQMStore * | bei, |
std::map< std::string, int > & | mEHash | ||
) |
(Documentation under construction).
Definition at line 1240 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 259 of file SiPixelInformationExtractor.cc.
References MonitorElement::getRootObject().
Referenced by computeStatus(), and sendTkUpdatedStatus().
void SiPixelInformationExtractor::getNormalization | ( | MonitorElement * | theME, |
std::pair< double, double > & | norm, | ||
std::string | theMEType | ||
) |
(Documentation under construction).
Definition at line 970 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 989 of file SiPixelInformationExtractor.cc.
References MonitorElement::getNbinsX(), and MonitorElement::getNbinsY().
Referenced by computeStatus().
void SiPixelInformationExtractor::getSingleModuleHistos | ( | DQMStore * | bei, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 97 of file SiPixelInformationExtractor.cc.
References gather_cfg::cout, spr::find(), DQMStore::getContents(), getItemList(), getItemValue(), SiPixelFolderOrganizer::getModuleFolder(), MonitorElement::getName(), histoPlotter_, scaleCards::path, DQMStore::pwd(), setHTMLHeader(), SiPixelHistoPlotter::setNewPlot(), and tablePrinter::width.
Referenced by SiPixelWebInterface::handleEDARequest().
void SiPixelInformationExtractor::getTrackerMapHistos | ( | DQMStore * | bei, |
const std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 148 of file SiPixelInformationExtractor.cc.
References ACBold, ACCyan, ACPlain, ACRed, ACYellow, gather_cfg::cout, DQMStore::getContents(), DQMParserBase::getDocument(), getItemValue(), SiPixelConfigParser::getMENamesForTrackerMap(), SiPixelFolderOrganizer::getModuleFolder(), MonitorElement::getName(), histoPlotter_, offlineXMLfile_, scaleCards::path, DQMStore::pwd(), SiPixelHistoPlotter::setNewPlot(), setXMLHeader(), and tablePrinter::width.
Referenced by SiPixelWebInterface::handleEDARequest().
|
private |
(Documentation under construction).
This method
Definition at line 818 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), TrackerOfflineValidation_Dqm_cff::dirName, and DQMStore::pwd().
Referenced by readAlarmTree(), readModuleHistoTree(), and readSummaryHistoTree().
|
private |
(Documentation under construction).
This method
Definition at line 694 of file SiPixelInformationExtractor.cc.
References pos.
|
private |
(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 591 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().
Referenced by readAlarmTree().
|
private |
(Documentation under construction).
This method
Definition at line 402 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), RefreshWebPage::dname, DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
Referenced by readModuleHistoTree().
|
private |
(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 494 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), RefreshWebPage::dname, DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
Referenced by readSummaryHistoTree().
void SiPixelInformationExtractor::readAlarmTree | ( | DQMStore * | bei, |
std::string & | str_name, | ||
xgi::Output * | out | ||
) |
(Documentation under construction).
This method
Definition at line 551 of file SiPixelInformationExtractor.cc.
References ACBold, ACPlain, ACYellow, alarmCounter_, DQMStore::cd(), gather_cfg::cout, goToDir(), and printAlarmList().
Referenced by SiPixelWebInterface::handleEDARequest().
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 | ||
) |
void SiPixelInformationExtractor::readModuleAndHistoList | ( | DQMStore * | bei, |
xgi::Output * | out | ||
) |
(Documentation under construction).
This method
Definition at line 278 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), and fillModuleAndHistoList().
Referenced by SiPixelWebInterface::handleEDARequest().
void SiPixelInformationExtractor::readModuleHistoTree | ( | DQMStore * | bei, |
std::string & | str_name, | ||
xgi::Output * | out | ||
) |
(Documentation under construction).
This method
Definition at line 366 of file SiPixelInformationExtractor.cc.
References ACBold, ACPlain, ACYellow, DQMStore::cd(), gather_cfg::cout, goToDir(), and printModuleHistoList().
Referenced by SiPixelWebInterface::handleEDARequest().
void SiPixelInformationExtractor::readStatusMessage | ( | DQMStore * | bei, |
std::multimap< std::string, std::string > & | req_map, | ||
xgi::Output * | out | ||
) |
Definition at line 833 of file SiPixelInformationExtractor.cc.
References dqm::qstatus::ERROR, DQMStore::getContents(), getItemValue(), MonitorElement::getName(), MonitorElement::getQReports(), histoPlotter_, mergeVDriftHistosByStation::name, dqm::qstatus::OTHER, SiPixelHistoPlotter::setNewPlot(), setXMLHeader(), dqm::qstatus::STATUS_OK, dqm::qstatus::WARNING, and tablePrinter::width.
Referenced by SiPixelWebInterface::handleEDARequest().
void SiPixelInformationExtractor::readSummaryHistoTree | ( | DQMStore * | bei, |
std::string & | str_name, | ||
xgi::Output * | out | ||
) |
(Documentation under construction).
This method
Definition at line 461 of file SiPixelInformationExtractor.cc.
References ACBold, ACPlain, ACYellow, DQMStore::cd(), gather_cfg::cout, goToDir(), and printSummaryHistoList().
Referenced by SiPixelWebInterface::handleEDARequest().
|
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 1022 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), relmon_rootfiles_spy::contents, DQMStore::get(), DQMStore::getMEs(), DQMStore::getSubdirs(), DQMStore::goUp(), and DQMStore::pwd().
Referenced by sendTkUpdatedStatus().
void SiPixelInformationExtractor::sendTkUpdatedStatus | ( | DQMStore * | bei, |
xgi::Output * | out, | ||
std::string & | theMEName, | ||
std::string & | theTKType | ||
) |
(Documentation under construction).
Definition at line 1068 of file SiPixelInformationExtractor.cc.
References DQMStore::cd(), computeStatus(), python.tagInventory::entries, dqm::qstatus::ERROR, getMEType(), SiPixelUtility::getStatus(), SiPixelUtility::getStatusColor(), maxEntries, dqm::qstatus::OTHER, selectMEList(), dqm::qstatus::STATUS_OK, and dqm::qstatus::WARNING.
Referenced by SiPixelWebInterface::periodicTkMapUpdate().
|
private |
Definition at line 1595 of file SiPixelInformationExtractor.cc.
Referenced by getHistosFromPath(), and getSingleModuleHistos().
|
private |
Definition at line 1615 of file SiPixelInformationExtractor.cc.
|
private |
Definition at line 1604 of file SiPixelInformationExtractor.cc.
Referenced by getTrackerMapHistos(), and readStatusMessage().
|
private |
Definition at line 159 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 155 of file SiPixelInformationExtractor.h.
Referenced by printAlarmList(), and readAlarmTree().
|
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(), getHistosFromPath(), getSingleModuleHistos(), getTrackerMapHistos(), readStatusMessage(), 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.
Referenced by getTrackerMapHistos().
|
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().