14 :
public JOmniFactory<ClustersToParticles_factory, ClustersToParticlesConfig> {
20 std::unique_ptr<AlgoT> m_algo;
23 PodioInput<edm4eic::Cluster> m_clusters_in{
this};
24 PodioInput<edm4eic::MCRecoClusterParticleAssociation> m_cluster_assocs_in{
this};
27 PodioOutput<edm4eic::ReconstructedParticle> m_parts_out{
this};
28#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
29 PodioOutput<edm4eic::MCRecoParticleLink> m_part_links_out{
this};
31 PodioOutput<edm4eic::MCRecoParticleAssociation> m_part_assocs_out{
this};
34 ParameterRef<int> m_pdgCode{
this,
"pdgCode",
config().pdgCode};
37 Service<AlgorithmsInit_service> m_algorithmsInit{
this};
41 m_algo = std::make_unique<AlgoT>(
GetPrefix());
42 m_algo->level(
static_cast<algorithms::LogLevel
>(
logger()->level()));
43 m_algo->applyConfig(
config());
48 m_algo->process({m_clusters_in(), m_cluster_assocs_in()}, {m_parts_out().get(),
49#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
50 m_part_links_out().get(),
52 m_part_assocs_out().get()});
Definition ClustersToParticles_factory.h:14
void Process(int32_t, uint64_t)
Definition ClustersToParticles_factory.h:47
void Configure()
Definition ClustersToParticles_factory.h:40
Definition ClustersToParticles.h:35