#include <SiPixelInformationExtractor.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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 38 of file SiPixelInformationExtractor.h.
Definition at line 41 of file SiPixelInformationExtractor.h.
Definition at line 40 of file SiPixelInformationExtractor.h.
SiPixelInformationExtractor::SiPixelInformationExtractor | ( | bool | offlineXMLfile | ) |
Constructor of the SiPixelInformationExtractor class.
Definition at line 67 of file SiPixelInformationExtractor.cc.
References readReference_.
SiPixelInformationExtractor::~SiPixelInformationExtractor | ( | ) |
Destructor of the SiPixelInformationExtractor class.
Definition at line 78 of file SiPixelInformationExtractor.cc.
void SiPixelInformationExtractor::bookNoisyPixels | ( | DQMStore::IBooker & | iBooker, |
float | noiseRate, | ||
bool | Tier0Flag | ||
) |
Definition at line 328 of file SiPixelInformationExtractor.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::cd(), EventRateBarrelPixels, EventRateEndcapPixels, dqm::impl::MonitorElement::setAxisTitle(), and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
void SiPixelInformationExtractor::computeStatus | ( | MonitorElement * | theME, |
double & | colorValue, | ||
std::pair< double, double > & | norm | ||
) |
(Documentation under construction).
Definition at line 217 of file SiPixelInformationExtractor.cc.
References dqm::impl::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 346 of file SiPixelInformationExtractor.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::cd(), dqm::dqmstoreimpl::DQMStore::IGetter::cd(), sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, hgcalTestNeighbor_cfi::detector, RefreshWebPage::dname, endOfModules_, EventRateBarrelPixels, EventRateEndcapPixels, PixelSLinkDataInputSource_cfi::fedid, dqm::impl::MonitorElement::Fill(), SiPixelFedCablingMap::findItem(), dqm::dqmstoreimpl::DQMStore::IGetter::get(), getDetId(), dqm::dqmstoreimpl::DQMStore::IGetter::getMEs(), dqm::impl::MonitorElement::getPathname(), dqm::dqmstoreimpl::DQMStore::IGetter::getSubdirs(), dqm::legacy::MonitorElement::getTH2F(), dqm::dqmstoreimpl::DQMStore::IBooker::goUp(), mps_fire::i, sipixelobjects::PixelROC::idInDetUnit(), PixelBarrelName::isHalfModule(), dqmiolumiharvest::j, sipixelobjects::ElectronicIndex::link, genParticles_cff::map, hlt_dqm_clientPB-live_cfg::me, myfile_, PixelBarrelName::name(), PixelEndcapName::name(), nevents_, noisyDetIds_, runTauDisplay::outputname, castor_dqm_sourceclient_file_cfg::path, edm::ESHandle< T >::product(), dqm::dqmstoreimpl::DQMStore::IBooker::pwd(), sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::ElectronicIndex::roc, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), dqm::dqmstoreimpl::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 dqm::impl::MonitorElement::getName().
Referenced by findNoisyPixels().
|
private |
(Documentation under construction).
This method
Definition at line 109 of file SiPixelInformationExtractor.cc.
|
private |
(Documentation under construction).
This method
Definition at line 137 of file SiPixelInformationExtractor.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
|
private |
Definition at line 146 of file SiPixelInformationExtractor.cc.
References cuy::col, dqm::qstatus::ERROR, Skims_PA_cff::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 92 of file SiPixelInformationExtractor.cc.
References dqm::legacy::MonitorElement::getRootObject().
Referenced by computeStatus().
void SiPixelInformationExtractor::getNormalization | ( | MonitorElement * | theME, |
std::pair< double, double > & | norm, | ||
std::string | theMEType | ||
) |
(Documentation under construction).
Definition at line 273 of file SiPixelInformationExtractor.cc.
References dqm::impl::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 290 of file SiPixelInformationExtractor.cc.
References dqm::impl::MonitorElement::getNbinsX(), and dqm::impl::MonitorElement::getNbinsY().
Referenced by computeStatus().
|
private |
(Documentation under construction).
This method
Definition at line 125 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 86 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 82 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 112 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 84 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 85 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 99 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 111 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 106 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 100 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 108 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 109 of file SiPixelInformationExtractor.h.
Referenced by bookNoisyPixels(), and findNoisyPixels().
|
private |
Definition at line 96 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 101 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 89 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 87 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 91 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 103 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 104 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 105 of file SiPixelInformationExtractor.h.
Referenced by findNoisyPixels().
|
private |
Definition at line 97 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 90 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 95 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 94 of file SiPixelInformationExtractor.h.
|
private |
Definition at line 93 of file SiPixelInformationExtractor.h.
Referenced by SiPixelInformationExtractor().