6#include <algorithms/algorithm.h>
7#include <edm4eic/ReconstructedParticleCollection.h>
8#include <edm4eic/EDM4eicVersion.h>
9#include <edm4eic/MCRecoParticleAssociationCollection.h>
10#include <edm4eic/MCRecoTrackParticleAssociationCollection.h>
11#include <edm4eic/TensorCollection.h>
12#include <edm4hep/MCParticleCollection.h>
21#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
22#include <edm4eic/MCRecoParticleLinkCollection.h>
28 algorithms::Input<edm4eic::TensorCollection,
29 std::optional<edm4eic::MCRecoTrackParticleAssociationCollection>,
30 std::optional<edm4hep::MCParticleCollection>>,
31 algorithms::Output<edm4eic::ReconstructedParticleCollection,
32#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
33 edm4eic::MCRecoParticleLinkCollection,
35 edm4eic::MCRecoParticleAssociationCollection>>;
45 {
"inputPredictionsTensor",
"trackAssociations",
"beamElectrons"},
47#if EDM4EIC_BUILD_VERSION >= EDM4EIC_VERSION(8, 7, 0)
50 "outputAssociations"},
51 "Convert ML output tensor into reconstructed electron"} {
55 void process(const Input&, const Output&) const final;
58 double m_mass = 0.000511;
59 float m_charge = -1.0;
60 mutable
float m_beamE = 10.0;
61 mutable
std::once_flag m_initBeamE;
Definition FarDetectorTransportationPostML.h:39
FarDetectorTransportationPostML(std::string_view name)
Definition FarDetectorTransportationPostML.h:42
Definition WithPodConfig.h:22
-client
Definition CalorimeterClusterRecoCoG.cc:37
algorithms::Algorithm< algorithms::Input< edm4eic::TensorCollection, std::optional< edm4eic::MCRecoTrackParticleAssociationCollection >, std::optional< edm4hep::MCParticleCollection > >, algorithms::Output< edm4eic::ReconstructedParticleCollection, edm4eic::MCRecoParticleLinkCollection, edm4eic::MCRecoParticleAssociationCollection > > FarDetectorTransportationPostMLAlgorithm
Definition FarDetectorTransportationPostML.h:35
Definition SimCalorimeterHitProcessor.cc:35