43 : BadFedNumber(nullptr),
54 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
55 <<
" Constructing....... ";
59 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData "
60 <<
" Destructing....... ";
77 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::bookHistograms: "
78 <<
" Creating MEs for new Cabling ";
82 ibooker.
book1D(
"FaultyFedNumberAndChannel",
"Faulty Fed Id and Channel and Numbers", 60000, 0.5, 600.5);
90 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::analyze: Run " << iEvent.
id().
run() <<
" Event "
102 std::vector<edm::DetSet<SiStripRawDigi>>::const_iterator digis = digi_collection->find((*idetid));
103 if (digis == digi_collection->end() || digis->data.empty() || digis->data.size() > 768) {
104 std::vector<const FedChannelConnection *> fed_conns = detcabling.getConnections((*idetid));
105 for (
unsigned int k = 0;
k < fed_conns.size();
k++) {
106 if (fed_conns[
k] && fed_conns[
k]->isConnected()) {
107 float fed_id = fed_conns[
k]->fedId() + 0.01 * fed_conns[
k]->fedCh();
121 if (outputMEsInRootFile) {
129 edm::LogInfo(
"SiStripMonitorRawData") <<
"SiStripMonitorRawData::EndJob: "
EventNumber_t event() const
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
bool getData(T &iHolder) const
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
edm::ESWatcher< SiStripDetCablingRcd > detCablingWatcher_
void dqmEndRun(edm::Run const &run, edm::EventSetup const &eSetup) override
Log< level::Info, false > LogInfo
std::vector< uint32_t > SelectedDetIds
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > detCablingToken_
T getParameter(std::string const &) const
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)