55 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData " 56 <<
" Constructing....... ";
60 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData " 61 <<
" Destructing....... ";
80 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::bookHistograms: " 81 <<
" Creating MEs for new Cabling ";
85 ibooker.
book1D(
"FaultyFedNumberAndChannel",
"Faulty Fed Id and Channel and Numbers", 60000, 0.5, 600.5);
93 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run " << iEvent.
id().
run() <<
" Event " 105 std::vector<edm::DetSet<SiStripRawDigi>>::const_iterator digis = digi_collection->find((*idetid));
106 if (digis == digi_collection->end() || digis->data.empty() || digis->data.size() > 768) {
108 for (
unsigned int k = 0;
k < fed_conns.size();
k++) {
109 if (fed_conns[
k] && fed_conns[
k]->isConnected()) {
110 float fed_id = fed_conns[
k]->fedId() + 0.01 * fed_conns[
k]->fedCh();
124 if (outputMEsInRootFile) {
133 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
void analyze(const edm::Event &, const edm::EventSetup &) override
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath)
edm::ESHandle< SiStripDetCabling > detcabling
MonitorElement * book1D(Args &&...args)
void Reset()
reset ME (ie. contents, errors, etc)
std::vector< uint32_t > SelectedDetIds
unsigned long long m_cacheID_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void save(std::string const &filename, std::string const &path="", std::string const &pattern="", std::string const &rewrite="", uint32_t run=0, uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, std::string const &fileupdate="RECREATE")
SiStripMonitorRawData(const edm::ParameterSet &)
~SiStripMonitorRawData() override
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)