54 :
verbosity(ps.getUntrackedParameter<unsigned int>(
"verbosity", 0)) {
69 daq_bx_diff = ibooker.
book1D(
"bx_diff",
";OptoRx_{i}.BX - OptoRx_{j}.BX", 21, -10.5, +10.5);
72 ibooker.
book2D(
"daq_event_bx_diff_vs_fed",
";OptoRx.ID;OptoRx.BX - Event.BX", 10, 575.5, 585.5, 21, -10.5, +10.5);
83 bool daqValid = fedInfo.
isValid();
88 <<
"WARNING in TotemDAQTriggerDQMSource::analyze > some of the inputs are not valid.\n"
89 <<
" fedInfo.isValid = " << fedInfo.
isValid();
95 for (
auto &it1 : *fedInfo) {
99 for (
auto &it2 : *fedInfo) {
100 if (it2.fedId() <= it1.fedId())
MonitorElement * daq_event_bx_diff_vs_fed
TotemDAQTriggerDQMSource(const edm::ParameterSet &ps)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
edm::EDGetTokenT< std::vector< TotemFEDInfo > > tokenFEDInfo
virtual void setCurrentFolder(std::string const &fullpath)
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Log< level::Warning, true > LogPrint
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
T getParameter(std::string const &) const
~TotemDAQTriggerDQMSource() override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * daq_bx_diff
MonitorElement * daq_event_bx_diff