55 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
56 <<
" Constructing....... ";
62 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
63 <<
" Destructing....... ";
85 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::bookHistograms: "
86 <<
" Creating MEs for new Cabling ";
89 BadFedNumber = ibooker.
book1D(
"FaultyFedNumberAndChannel",
"Faulty Fed Id and Channel and Numbers", 60000, 0.5, 600.5);
99 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run "<<
109 for (std::vector<uint32_t>::const_iterator idetid=
SelectedDetIds.begin(),
111 std::vector< edm::DetSet<SiStripRawDigi> >::const_iterator digis = digi_collection->find( (*idetid) );
112 if (digis == digi_collection->end() ||
113 digis->data.size() == 0 ||
114 digis->data.size() > 768 ) {
115 std::vector<const FedChannelConnection *> fed_conns =
detcabling->getConnections((*idetid));
116 for (
unsigned int k = 0;
k < fed_conns.size() ;
k++) {
117 if(fed_conns[
k] && fed_conns[
k]->isConnected()) {
118 float fed_id = fed_conns[
k]->fedId() + 0.01*fed_conns[
k]->fedCh();
132 if (outputMEsInRootFile) {
141 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::EndJob: "
T getParameter(std::string const &) const
EventNumber_t event() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
edm::ESHandle< SiStripDetCabling > detcabling
MonitorElement * book1D(Args &&...args)
std::vector< uint32_t > SelectedDetIds
unsigned long long m_cacheID_
void setCurrentFolder(const std::string &fullpath)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
SiStripMonitorRawData(const edm::ParameterSet &)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
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)