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.empty() ||
114 digis->data.size() > 768 ) {
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
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
edm::ESHandle< SiStripDetCabling > detcabling
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
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 &)
~SiStripMonitorRawData() override
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_
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)