14 :
public JOmniFactory<CalorimeterParticleIDPostML_factory, NoConfig> {
20 std::unique_ptr<AlgoT> m_algo;
22 PodioInput<edm4eic::Cluster> m_cluster_input{
this};
23 PodioInput<edm4eic::MCRecoClusterParticleAssociation> m_cluster_assoc_input{
this};
24 PodioInput<edm4eic::Tensor> m_prediction_tensor_input{
this};
26 PodioOutput<edm4eic::Cluster> m_cluster_output{
this};
27#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
28 PodioOutput<edm4eic::MCRecoClusterParticleLink> m_cluster_links_output{
this};
30 PodioOutput<edm4eic::MCRecoClusterParticleAssociation> m_cluster_assoc_output{
this};
31 PodioOutput<edm4hep::ParticleID> m_particle_id_output{
this};
35 m_algo = std::make_unique<AlgoT>(
GetPrefix());
36 m_algo->level(
static_cast<algorithms::LogLevel
>(
logger()->level()));
37 m_algo->applyConfig(
config());
42 m_algo->process({m_cluster_input(), m_cluster_assoc_input(), m_prediction_tensor_input()},
43 {m_cluster_output().get(),
44#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
45 m_cluster_links_output().get(),
47 m_cluster_assoc_output().get(), m_particle_id_output().get()});
Definition CalorimeterParticleIDPostML_factory.h:14
void Configure()
Definition CalorimeterParticleIDPostML_factory.h:34
void Process(int32_t, uint64_t)
Definition CalorimeterParticleIDPostML_factory.h:41
Definition CalorimeterParticleIDPostML.h:36