6 #include <boost/format.hpp> 19 descriptions.
add(
"ThroughputService", desc);
26 m_time_range( config.getUntrackedParameter<double>(
"timeRange") ),
49 m_sourced_events = booker.book1D(
"throughput_sourced",
"Throughput (sourced events)", bins, 0., range);
52 m_retired_events = booker.book1D(
"throughput_retired",
"Throughput (retired events)", bins, 0., range);
60 std::cerr <<
"No DQMStore service, aborting." << std::endl;
const std::string m_dqm_path
void setYTitle(std::string const &title)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void preSourceEvent(edm::StreamID sid)
void watchPostEvent(PostEvent::slot_type const &iSlot)
LuminosityBlockID const & luminosityBlockID() const
void postEvent(edm::StreamContext const &sc)
void preGlobalBeginRun(edm::GlobalContext const &)
ConcurrentMonitorElement m_sourced_events
std::chrono::steady_clock::time_point m_startup
format
Some error handling for the usage.
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
#define DEFINE_FWK_SERVICE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ThroughputService(const edm::ParameterSet &, edm::ActivityRegistry &)
void fill(Args &&...args) const
ConcurrentMonitorElement m_retired_events
const double m_time_resolution
const double m_time_range
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void setXTitle(std::string const &title)