38 : BadFedNumber(nullptr),
49 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData " 50 <<
" Constructing....... ";
54 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData " 55 <<
" Destructing....... ";
72 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::bookHistograms: " 73 <<
" Creating MEs for new Cabling ";
77 ibooker.
book1D(
"FaultyFedNumberAndChannel",
"Faulty Fed Id and Channel and Numbers", 60000, 0.5, 600.5);
85 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run " <<
iEvent.id().run() <<
" Event " 97 std::vector<edm::DetSet<SiStripRawDigi>>::const_iterator digis = digi_collection->find((*idetid));
98 if (digis == digi_collection->end() || digis->data.empty() || digis->data.size() > 768) {
99 std::vector<const FedChannelConnection *> fed_conns = detcabling.getConnections((*idetid));
100 for (
unsigned int k = 0;
k < fed_conns.size();
k++) {
101 if (fed_conns[
k] && fed_conns[
k]->isConnected()) {
102 float fed_id = fed_conns[
k]->fedId() + 0.01 * fed_conns[
k]->fedCh();
116 if (outputMEsInRootFile) {
124 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::EndJob: "
T getParameter(std::string const &) const
virtual void setCurrentFolder(std::string const &fullpath)
void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
edm::ESWatcher< SiStripDetCablingRcd > detCablingWatcher_
#define DEFINE_FWK_MODULE(type)
void dqmEndRun(edm::Run const &run, edm::EventSetup const &eSetup) override
bool getData(T &iHolder) const
Log< level::Info, false > LogInfo
std::vector< uint32_t > SelectedDetIds
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
bool check(const edm::EventSetup &iSetup)
SiStripMonitorRawData(const edm::ParameterSet &)
~SiStripMonitorRawData() override
DQM_DEPRECATED void save(std::string const &filename, std::string const &path="")
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiToken_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * BadFedNumber
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)