From b005a9d861053f6c44769f7571d8e473c76a1650 Mon Sep 17 00:00:00 2001 From: Jan Fiete Date: Wed, 24 Apr 2024 12:07:51 +0200 Subject: [PATCH] Update o2sim_hepmc_publisher.cxx --- run/o2sim_hepmc_publisher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/o2sim_hepmc_publisher.cxx b/run/o2sim_hepmc_publisher.cxx index ec049a44439a1..bf40abacb134f 100644 --- a/run/o2sim_hepmc_publisher.cxx +++ b/run/o2sim_hepmc_publisher.cxx @@ -148,8 +148,8 @@ struct O2simHepmcPublisher { } // report number of TFs injected for the rate limiter to work - pc.services().get().send(o2::monitoring::Metric{(uint64_t)tfCounter, "df-sent"}.addTag(o2::monitoring::tags::Key::Subsystem, o2::monitoring::tags::Value::DPL)); ++tfCounter; + pc.services().get().send(o2::monitoring::Metric{(uint64_t)tfCounter, "df-sent"}.addTag(o2::monitoring::tags::Key::Subsystem, o2::monitoring::tags::Value::DPL)); if (eos || (maxEvents > 0 && eventCounter == maxEvents)) { pc.services().get().endOfStream(); pc.services().get().readyToQuit(QuitRequest::Me);