51 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality "
52 <<
" Constructing....... ";
58 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality "
59 <<
" Destructing....... ";
85 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze: "<<
86 " Reading SiStripQuality "<< std::endl;
92 if (rbegin==rend)
return;
98 if (detid == 0 || detid == 0xFFFFFFFF){
99 edm::LogError(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze : "
100 <<
"Wrong DetId !!!!!! " << detid <<
" Neglecting !!!!!! ";
105 edm::LogError(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze : "
106 <<
" DetId " << detid <<
" not connected, Neglecting !!!!!! ";
113 for(;it!=range.second;++it){
114 unsigned int value=(*it);
117 for (
short isr = str_start; isr < str_end + 1; isr++) {
129 if (outputMEsInRootFile) {
138 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::EndJob: "
146 std::map<uint32_t, MonitorElement* >::iterator
pos =
QualityMEs.find(idet);
149 det_me = pos->second;
162 hid = hidmanager.
createHistoId(
"StripQualityFromCondDB",
"det", idet);
168 QualityMEs.insert( std::make_pair(idet, det_me));
T getParameter(std::string const &) const
edm::ESHandle< SiStripDetCabling > detCabling_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
#define DEFINE_FWK_MODULE(type)
std::vector< unsigned int >::const_iterator ContainerIterator
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
Registry::const_iterator RegistryIterator
void tag(MonitorElement *me, unsigned int myTag)
edm::ESHandle< SiStripQuality > stripQuality_
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
void setDetectorFolder(uint32_t rawdetid=0)
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
std::string createHistoId(std::string description, std::string id_type, uint32_t component_id)
SiStripMonitorQuality(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::pair< ContainerIterator, ContainerIterator > Range
unsigned long long m_cacheID_
int getNbinsX(void) const
get # of bins in X-axis
void showDirStructure(void) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
std::map< uint32_t, MonitorElement * > QualityMEs
MonitorElement * getQualityME(uint32_t idet)