6 #include <boost/format.hpp> 19 descriptions.
add(
"ThroughputService", desc);
25 m_time_range( config.getUntrackedParameter<double>(
"timeRange") ),
65 stream.sourced_events = booker.book1D(
"throughput_sourced",
"Throughput (sourced events)", bins, 0., range)->getTH1F();
66 stream.sourced_events ->SetXTitle(
"time [s]");
67 stream.sourced_events ->SetYTitle(y_axis_title.c_str());
68 stream.retired_events = booker.book1D(
"throughput_retired",
"Throughput (retired events)", bins, 0., range)->getTH1F();
69 stream.retired_events ->SetXTitle(
"time [s]");
70 stream.retired_events ->SetYTitle(y_axis_title.c_str());
void preallocate(edm::service::SystemBounds const &bounds)
void watchPreallocate(Preallocate::slot_type const &iSlot)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void preSourceEvent(edm::StreamID sid)
void watchPostEvent(PostEvent::slot_type const &iSlot)
void watchPostStreamEndLumi(PostStreamEndLumi::slot_type const &iSlot)
void postStreamEndLumi(edm::StreamContext const &sc)
void postEvent(edm::StreamContext const &sc)
LuminosityBlockNumber_t luminosityBlock() const
static unsigned int getUniqueID()
Returns a unique id each time called. Intended to be passed to ModuleDescription's constructor's modI...
unsigned int maxNumberOfStreams() const
std::chrono::steady_clock::time_point m_startup
void preStreamBeginRun(edm::StreamContext const &sc)
format
Some error handling for the usage.
void watchPostStreamEndRun(PostStreamEndRun::slot_type const &iSlot)
StreamID const & streamID() const
std::vector< stream_histograms > m_stream_histograms
#define DEFINE_FWK_SERVICE(type)
unsigned int value() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ThroughputService(const edm::ParameterSet &, edm::ActivityRegistry &)
void watchPreStreamBeginRun(PreStreamBeginRun::slot_type const &iSlot)
void postStreamEndRun(edm::StreamContext const &sc)
EventID const & eventID() const
void watchPreSourceEvent(PreSourceEvent::slot_type const &iSlot)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)