From b609b2628a120b3e42e465dc4df316a266c82023 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Sun, 9 Jul 2023 15:49:15 +0200 Subject: [PATCH] Up --- k4ProjectTemplate/src/components/ExampleProducer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k4ProjectTemplate/src/components/ExampleProducer.cpp b/k4ProjectTemplate/src/components/ExampleProducer.cpp index 0ed94eb..6f134f5 100644 --- a/k4ProjectTemplate/src/components/ExampleProducer.cpp +++ b/k4ProjectTemplate/src/components/ExampleProducer.cpp @@ -6,7 +6,8 @@ using BaseClass_t = Gaudi::Functional::Traits::BaseClass_t; -class ExampleProducer final : Gaudi::Functional::Producer { +class ExampleProducer final : public Gaudi::Functional::Producer { +public: ExampleProducer( const std::string& name, ISvcLocator* svcLoc ) : Producer( name, svcLoc, KeyValue( "OutputLocation", "/ExampleInt" ) ) {} @@ -15,7 +16,6 @@ class ExampleProducer final : Gaudi::Functional::Producer { return m_exampleInt; } -private: Gaudi::Property m_outputLocation{this, "OutputLocation", "/ExampleInt", "Location of the ExampleInt"}; Gaudi::Property m_exampleInt{this, "ExampleInt", 3,