23 std::unique_ptr<AlgoT> m_algo;
25 PodioInput<edm4hep::EventHeader> m_event_headers_input{
this};
26 PodioInput<edm4eic::ReconstructedParticle> m_recoparticles_input{
this};
27 PodioInput<edm4eic::MCRecoParticleAssociation> m_recoparticle_assocs_input{
this};
28 PodioOutput<edm4eic::ReconstructedParticle> m_recoparticles_output{
this};
29#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
30 PodioOutput<edm4eic::MCRecoParticleLink> m_recoparticle_links_output{
this};
32 PodioOutput<edm4eic::MCRecoParticleAssociation> m_recoparticle_assocs_output{
this};
33 PodioOutput<edm4hep::ParticleID> m_particleids_output{
this};
35 ParameterRef<std::string> m_filename{
this,
"filename",
config().filename,
36 "Relative to current working directory"};
37 ParameterRef<std::string> m_system{
this,
"system",
config().system,
"For the ParticleID record"};
39 Service<AlgorithmsInit_service> m_algorithmsInit{
this};
43 m_algo = std::make_unique<AlgoT>(this->
GetPrefix());
44 m_algo->level(
static_cast<algorithms::LogLevel
>(
logger()->level()));
45 m_algo->applyConfig(
config());
51 {m_event_headers_input(), m_recoparticles_input(), m_recoparticle_assocs_input()},
52 {m_recoparticles_output().get(),
53#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
54 m_recoparticle_links_output().get(),
56 m_recoparticle_assocs_output().get(), m_particleids_output().get()});