Skip to content

Commit

Permalink
Update o2sim_hepmc_publisher.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrosseo authored and ktf committed Apr 24, 2024
1 parent b8e9624 commit b005a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/o2sim_hepmc_publisher.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ struct O2simHepmcPublisher {
}

// report number of TFs injected for the rate limiter to work
pc.services().get<o2::monitoring::Monitoring>().send(o2::monitoring::Metric{(uint64_t)tfCounter, "df-sent"}.addTag(o2::monitoring::tags::Key::Subsystem, o2::monitoring::tags::Value::DPL));
++tfCounter;
pc.services().get<o2::monitoring::Monitoring>().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<ControlService>().endOfStream();
pc.services().get<ControlService>().readyToQuit(QuitRequest::Me);
Expand Down

0 comments on commit b005a9d

Please sign in to comment.