51 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
52 <<
" Constructing....... ";
58 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
59 <<
" Destructing....... ";
79 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::beginRun: "
80 <<
" Creating MEs for new Cabling ";
94 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run "<<
106 iEvent.
getByLabel(digiProducer, digiType, digi_collection);
108 for (std::vector<uint32_t>::const_iterator idetid=
SelectedDetIds.begin(),
110 std::vector< edm::DetSet<SiStripRawDigi> >::const_iterator digis = digi_collection->find( (*idetid) );
111 if (digis == digi_collection->end() ||
112 digis->data.size() == 0 ||
113 digis->data.size() > 768 ) {
114 std::vector<const FedChannelConnection *> fed_conns =
detcabling->getConnections((*idetid));
115 for (
unsigned int k = 0;
k < fed_conns.size() ;
k++) {
116 float fed_id = fed_conns[
k]->fedId() + 0.01*fed_conns[
k]->fedCh();
129 if (outputMEsInRootFile) {
138 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::EndJob: "
T getParameter(std::string const &) const
EventNumber_t event() const
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
#define DEFINE_FWK_MODULE(type)
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")
edm::ESHandle< SiStripDetCabling > detcabling
virtual void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< uint32_t > SelectedDetIds
unsigned long long m_cacheID_
SiStripMonitorRawData(const edm::ParameterSet &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void showDirStructure(void) const
MonitorElement * BadFedNumber
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)
virtual void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
void setCurrentFolder(const std::string &fullpath)