74 verbosity(ps.getUntrackedParameter<unsigned
int>(
"verbosity", 0))
100 daq_bx_diff = ibooker.
book1D(
"bx_diff",
";OptoRx_{i}.BX - OptoRx_{j}.BX", 21, -10.5, +10.5);
138 bool daqValid = fedInfo.
isValid();
139 bool triggerValid = triggerCounters.
isValid();
141 if (!daqValid || !triggerValid)
145 LogPrint(
"TotemDAQTriggerDQMSource") <<
146 "WARNING in TotemDAQTriggerDQMSource::analyze > some of the inputs are not valid.\n" 147 <<
" fedInfo.isValid = " << fedInfo.
isValid() <<
"\n" 148 <<
" triggerCounters.isValid = " << triggerCounters.
isValid();
155 for (
auto &it1 : *fedInfo)
160 for (
auto &it2 : *fedInfo)
162 if (it2.getFEDId() <= it1.getFEDId())
186 if (daqValid && triggerValid)
188 for (
auto &it : *fedInfo)
T getParameter(std::string const &) const
MonitorElement * daq_event_bx_diff_vs_fed
MonitorElement * trigger_run_num
edm::EDGetTokenT< TotemTriggerCounters > tokenTriggerCounters
MonitorElement * trigger_revision_num
MonitorElement * trigger_trigger_num
TotemDAQTriggerDQMSource(const edm::ParameterSet &ps)
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
MonitorElement * trigger_orbit_num
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
edm::EDGetTokenT< std::vector< TotemFEDInfo > > tokenFEDInfo
MonitorElement * daq_trigger_bx_diff
#define DEFINE_FWK_MODULE(type)
MonitorElement * trigger_type
MonitorElement * trigger_src_id
MonitorElement * trigger_input_status_bits
unsigned int input_status_bits
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * book1D(Args &&...args)
virtual ~TotemDAQTriggerDQMSource()
void setCurrentFolder(const std::string &fullpath)
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
MonitorElement * book2D(Args &&...args)
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
unsigned int inhibited_triggers_num
MonitorElement * trigger_event_num
MonitorElement * trigger_inhibited_triggers_num
MonitorElement * trigger_bunch_num
MonitorElement * daq_bx_diff
MonitorElement * daq_event_bx_diff
unsigned char revision_num