EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
CalorimeterParticleIDPreML.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) 2024 Dmitry Kalinkin
3
4#pragma once
5
6#include <algorithms/algorithm.h>
7#include <edm4eic/ClusterCollection.h>
8#include <edm4eic/MCRecoClusterParticleAssociationCollection.h>
9#include <edm4eic/TensorCollection.h>
10#include <optional>
11#include <string>
12#include <string_view>
13
15
16namespace eicrecon {
17
18using CalorimeterParticleIDPreMLAlgorithm = algorithms::Algorithm<
19 algorithms::Input<edm4eic::ClusterCollection,
20 std::optional<edm4eic::MCRecoClusterParticleAssociationCollection>>,
21 algorithms::Output<edm4eic::TensorCollection, std::optional<edm4eic::TensorCollection>>>;
22
24 public WithPodConfig<NoConfig> {
25
26public:
27 CalorimeterParticleIDPreML(std::string_view name)
29 name, {"inputClusters"}, {"outputFeatureTensor", "outputTargetTensor"}, ""} {}
30
31 void init() final;
32 void process(const Input&, const Output&) const final;
33};
34
35} // namespace eicrecon
Definition CalorimeterParticleIDPreML.h:24
CalorimeterParticleIDPreML(std::string_view name)
Definition CalorimeterParticleIDPreML.h:27
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::ClusterCollection, std::optional< edm4eic::MCRecoClusterParticleAssociationCollection > >, algorithms::Output< edm4eic::TensorCollection, std::optional< edm4eic::TensorCollection > > > CalorimeterParticleIDPreMLAlgorithm
Definition CalorimeterParticleIDPreML.h:21