diff --git a/src/factories/reco/HadronicFinalState_factory.h b/src/factories/reco/HadronicFinalState_factory.h index 00d03523e..10f7bf690 100644 --- a/src/factories/reco/HadronicFinalState_factory.h +++ b/src/factories/reco/HadronicFinalState_factory.h @@ -11,6 +11,7 @@ #include #include "extensions/jana/JOmniFactory.h" +#include "services/algorithms_init/AlgorithmsInit_service.h" namespace eicrecon { @@ -29,6 +30,8 @@ class HadronicFinalState_factory : typename FactoryT::template PodioInput m_rc_particles_assoc_input {this}; typename FactoryT::template PodioOutput m_hadronic_final_state_output {this}; + typename FactoryT::template Service m_algorithmsInit {this}; + public: void Configure() { m_algo = std::make_unique(this->GetPrefix()); diff --git a/src/factories/reco/InclusiveKinematicsReconstructed_factory.h b/src/factories/reco/InclusiveKinematicsReconstructed_factory.h index 7c395f39d..dbc7e922e 100644 --- a/src/factories/reco/InclusiveKinematicsReconstructed_factory.h +++ b/src/factories/reco/InclusiveKinematicsReconstructed_factory.h @@ -11,6 +11,7 @@ #include #include "extensions/jana/JOmniFactory.h" +#include "services/algorithms_init/AlgorithmsInit_service.h" namespace eicrecon { @@ -29,6 +30,8 @@ class InclusiveKinematicsReconstructed_factory : typename FactoryT::template PodioInput m_hadronic_final_state_input {this}; typename FactoryT::template PodioOutput m_inclusive_kinematics_output {this}; + typename FactoryT::template Service m_algorithmsInit {this}; + public: void Configure() { m_algo = std::make_unique(this->GetPrefix()); diff --git a/src/factories/reco/TransformBreitFrame_factory.h b/src/factories/reco/TransformBreitFrame_factory.h index 3a9852818..ce1ee17d5 100644 --- a/src/factories/reco/TransformBreitFrame_factory.h +++ b/src/factories/reco/TransformBreitFrame_factory.h @@ -14,6 +14,7 @@ #include "algorithms/reco/TransformBreitFrame.h" #include "extensions/jana/JOmniFactory.h" +#include "services/algorithms_init/AlgorithmsInit_service.h" namespace eicrecon { @@ -33,6 +34,8 @@ namespace eicrecon { // output collection PodioOutput m_out_part {this}; + Service m_algorithmsInit {this}; + public: void Configure() { diff --git a/src/global/tracking/TrackParamTruthInit_factory.h b/src/global/tracking/TrackParamTruthInit_factory.h index 4196b66c8..09bd09dda 100644 --- a/src/global/tracking/TrackParamTruthInit_factory.h +++ b/src/global/tracking/TrackParamTruthInit_factory.h @@ -15,6 +15,7 @@ #include "algorithms/tracking/TrackParamTruthInit.h" #include "algorithms/tracking/TrackParamTruthInitConfig.h" #include "extensions/jana/JOmniFactory.h" +#include "services/algorithms_init/AlgorithmsInit_service.h" namespace eicrecon { @@ -37,6 +38,7 @@ class TrackParamTruthInit_factory : ParameterRef m_momentumSmear {this, "MomentumSmear", config().momentumSmear, "Momentum magnitude fraction to use as width of gaussian smearing"}; Service m_ACTSGeoSvc {this}; + Service m_algorithmsInit {this}; public: void Configure() {