6#include <edm4eic/EDM4eicVersion.h>
14 :
public JOmniFactory<TrackProtoClusterMatchPromoter_factory> {
20 std::unique_ptr<AlgoT> m_algo;
23#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
24 PodioInput<edm4eic::TrackProtoClusterLink> m_track_proto_link_input{
this};
25#elif EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 4, 0)
26 PodioInput<edm4eic::TrackProtoClusterMatch> m_track_proto_match_input{
this};
28 PodioInput<edm4eic::ProtoCluster> m_proto_input{
this};
29 PodioInput<edm4eic::Cluster> m_clust_input{
this};
32 PodioOutput<edm4eic::TrackClusterMatch> m_track_clust_match_output{
this};
36 m_algo = std::make_unique<AlgoT>(
GetPrefix());
37 m_algo->level(
static_cast<algorithms::LogLevel
>(
logger()->level()));
42#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
43 m_algo->process({m_track_proto_link_input(), m_proto_input(), m_clust_input()},
44#elif EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 4, 0)
45 m_algo->process({m_track_proto_match_input(), m_proto_input(), m_clust_input()},
47 m_algo->process({m_proto_input(), m_clust_input()},
49 {m_track_clust_match_output().get()});
Definition JOmniFactory.h:30
std::shared_ptr< spdlog::logger > & logger()
Retrieve reference to already-configured logger.
Definition JOmniFactory.h:573
std::string GetPrefix()
Definition JOmniFactory.h:570
-client
Definition CalorimeterClusterRecoCoG.cc:37