Skip to content

Commit

Permalink
BTOFChargeSharing_factory.h: need algorithmsInit
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored Nov 4, 2024
1 parent 00d1890 commit 3af27a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/factories/digi/BTOFChargeSharing_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace eicrecon {

class BTOFChargeSharing_factory : public JOmniFactory<BTOFChargeSharing_factory, TOFHitDigiConfig> {
public:
using AlgoT = eicrecon::BTOFChargeSharing;
using AlgoT = eicrecon::BTOFChargeSharing;
private:
std::unique_ptr<AlgoT> m_algo;

Expand All @@ -22,6 +22,8 @@ class BTOFChargeSharing_factory : public JOmniFactory<BTOFChargeSharing_factory,

ParameterRef<double> m_sigma_sharingx{this, "sigmaSharingX", config().sigma_sharingx};
ParameterRef<double> m_sigma_sharingy{this, "sigmaSharingY", config().sigma_sharingy};

Service<AlgorithmsInit_service> m_algorithmsInit {this};
public:
void Configure() {
m_algo = std::make_unique<eicrecon::BTOFChargeSharing>(GetPrefix());
Expand Down

0 comments on commit 3af27a9

Please sign in to comment.