51 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality "
52 <<
" Constructing....... ";
58 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality "
59 <<
" Destructing....... ";
90 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze: "<<
91 " Reading SiStripQuality "<< std::endl;
97 if (rbegin==rend)
return;
103 if (detid == 0 || detid == 0xFFFFFFFF){
104 edm::LogError(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze : "
105 <<
"Wrong DetId !!!!!! " << detid <<
" Neglecting !!!!!! ";
110 edm::LogError(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::analyze : "
111 <<
" DetId " << detid <<
" not connected, Neglecting !!!!!! ";
118 for(;it!=range.second;++it){
119 unsigned int value=(*it);
122 for (
short isr = str_start; isr < str_end + 1; isr++) {
134 if (outputMEsInRootFile) {
143 edm::LogInfo(
"SiStripMonitorQuality") <<
"SiStripMonitorQuality::EndJob: "
151 std::map<uint32_t, MonitorElement* >::iterator
pos =
QualityMEs.find(idet);
154 det_me = pos->second;
167 hid = hidmanager.
createHistoId(
"StripQualityFromCondDB",
"det", idet);
173 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 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)
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