From 3af27a98124b83ae6c3951cdb809952464faf561 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 4 Nov 2024 16:28:19 -0500 Subject: [PATCH] BTOFChargeSharing_factory.h: need algorithmsInit --- src/factories/digi/BTOFChargeSharing_factory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/factories/digi/BTOFChargeSharing_factory.h b/src/factories/digi/BTOFChargeSharing_factory.h index c8f5f84eb..1927a0a93 100644 --- a/src/factories/digi/BTOFChargeSharing_factory.h +++ b/src/factories/digi/BTOFChargeSharing_factory.h @@ -12,7 +12,7 @@ namespace eicrecon { class BTOFChargeSharing_factory : public JOmniFactory { public: - using AlgoT = eicrecon::BTOFChargeSharing; + using AlgoT = eicrecon::BTOFChargeSharing; private: std::unique_ptr m_algo; @@ -22,6 +22,8 @@ class BTOFChargeSharing_factory : public JOmniFactory m_sigma_sharingx{this, "sigmaSharingX", config().sigma_sharingx}; ParameterRef m_sigma_sharingy{this, "sigmaSharingY", config().sigma_sharingy}; + + Service m_algorithmsInit {this}; public: void Configure() { m_algo = std::make_unique(GetPrefix());