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
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * book1D(Args &&...args)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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
MonitorElement * trigger_event_num
MonitorElement * trigger_inhibited_triggers_num
MonitorElement * trigger_bunch_num
MonitorElement * daq_bx_diff
MonitorElement * daq_event_bx_diff