Skip to content

Commit

Permalink
Fix an info message
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 27, 2024
1 parent a887dca commit 833bf55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions k4ProjectTemplate/src/components/ExampleConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@

struct ExampleConsumer final : k4FWCore::Consumer<void(const edm4hep::MCParticleCollection&)> {
ExampleConsumer(const std::string& name, ISvcLocator* svcLoc)
: Consumer(name, svcLoc, {KeyValues("ExampleConsumerInputLocation", {"/ExampleInt"})}) {}
: Consumer(name, svcLoc, KeyValues("ExampleConsumerInputLocation", {"/ExampleInt"})) {}

void operator()(const edm4hep::MCParticleCollection& input) const override {
info() << "ExampleInt = " << input << endmsg;
}
void operator()(const edm4hep::MCParticleCollection& input) const override { info() << input << endmsg; }
};

DECLARE_COMPONENT(ExampleConsumer)

0 comments on commit 833bf55

Please sign in to comment.