6 #include <boost/format.hpp> 23 descriptions.
add(
"ThroughputService", desc);
30 m_time_range( config.getUntrackedParameter<double>(
"timeRange") ),
64 m_sourced_events = booker.book1D(
"throughput_sourced",
"Throughput (sourced events)", bins, 0., range);
67 m_retired_events = booker.book1D(
"throughput_retired",
"Throughput (retired events)", bins, 0., range);
75 std::cerr <<
"No DQMStore service, aborting." << std::endl;
void preallocate(edm::service::SystemBounds const &bounds)
unsigned int maxNumberOfThreads() const
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 &gc)
unsigned int maxNumberOfStreams() const
ConcurrentMonitorElement m_sourced_events
std::chrono::steady_clock::time_point m_startup
format
Some error handling for the usage.
#define DEFINE_FWK_SERVICE(type)
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
const std::string processor_model
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)