50 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality "
51 <<
" Constructing....... ";
57 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality "
58 <<
" Destructing....... ";
89 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze: "<<
90 " Reading SiStripQuality "<< std::endl;
96 if (rbegin==rend)
return;
102 if (detid == 0 || detid == 0xFFFFFFFF){
103 edm::LogError(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze : "
104 <<
"Wrong DetId !!!!!! " << detid <<
" Neglecting !!!!!! ";
109 edm::LogError(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze : "
110 <<
" DetId " << detid <<
" not connected, Neglecting !!!!!! ";
117 for(;it!=range.second;++it){
118 unsigned int value=(*it);
121 for (
short isr = str_start; isr < str_end + 1; isr++) {
133 if (outputMEsInRootFile) {
142 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::EndJob: "
150 std::map<uint32_t, MonitorElement* >::iterator pos =
QualityMEs.find(idet);
153 det_me = pos->second;
166 hid = hidmanager.
createHistoId(
"StripQualityFromCondDB",
"det", idet);
172 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
Registry::const_iterator RegistryIterator
void setDetectorFolder(uint32_t rawdetid, const TrackerTopology *tTopo)
void tag(MonitorElement *me, unsigned int myTag)
MonitorElement * getQualityME(uint32_t idet, const TrackerTopology *tTopo)
edm::ESHandle< SiStripQuality > stripQuality_
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
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)
T const * product() const
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