Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: add missing AlgorithmsInit_service for particleSvc #1524

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/factories/reco/HadronicFinalState_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <vector>

#include "extensions/jana/JOmniFactory.h"
#include "services/algorithms_init/AlgorithmsInit_service.h"

namespace eicrecon {

Expand All @@ -29,6 +30,8 @@ class HadronicFinalState_factory :
typename FactoryT::template PodioInput<edm4eic::MCRecoParticleAssociation> m_rc_particles_assoc_input {this};
typename FactoryT::template PodioOutput<edm4eic::HadronicFinalState> m_hadronic_final_state_output {this};

typename FactoryT::template Service<AlgorithmsInit_service> m_algorithmsInit {this};

public:
void Configure() {
m_algo = std::make_unique<AlgoT>(this->GetPrefix());
Expand Down
3 changes: 3 additions & 0 deletions src/factories/reco/InclusiveKinematicsReconstructed_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <vector>

#include "extensions/jana/JOmniFactory.h"
#include "services/algorithms_init/AlgorithmsInit_service.h"

namespace eicrecon {

Expand All @@ -29,6 +30,8 @@ class InclusiveKinematicsReconstructed_factory :
typename FactoryT::template PodioInput<edm4eic::HadronicFinalState> m_hadronic_final_state_input {this};
typename FactoryT::template PodioOutput<edm4eic::InclusiveKinematics> m_inclusive_kinematics_output {this};

typename FactoryT::template Service<AlgorithmsInit_service> m_algorithmsInit {this};

public:
void Configure() {
m_algo = std::make_unique<AlgoT>(this->GetPrefix());
Expand Down
3 changes: 3 additions & 0 deletions src/factories/reco/TransformBreitFrame_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include "algorithms/reco/TransformBreitFrame.h"
#include "extensions/jana/JOmniFactory.h"
#include "services/algorithms_init/AlgorithmsInit_service.h"

namespace eicrecon {

Expand All @@ -33,6 +34,8 @@ namespace eicrecon {
// output collection
PodioOutput<edm4eic::ReconstructedParticle> m_out_part {this};

Service<AlgorithmsInit_service> m_algorithmsInit {this};

public:

void Configure() {
Expand Down
2 changes: 2 additions & 0 deletions src/global/tracking/TrackParamTruthInit_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -37,6 +38,7 @@ class TrackParamTruthInit_factory :
ParameterRef<double> m_momentumSmear {this, "MomentumSmear", config().momentumSmear, "Momentum magnitude fraction to use as width of gaussian smearing"};

Service<ACTSGeo_service> m_ACTSGeoSvc {this};
Service<AlgorithmsInit_service> m_algorithmsInit {this};

public:
void Configure() {
Expand Down
Loading