File indexing completed on 2025-09-17 08:07:21
0001
0002
0003
0004 #pragma once
0005
0006 #include <algorithms/algorithm.h>
0007 #include <edm4eic/ReconstructedParticleCollection.h>
0008 #include <string>
0009 #include <string_view>
0010
0011 #include "ElectronReconstructionConfig.h"
0012 #include "algorithms/interfaces/WithPodConfig.h"
0013
0014 namespace eicrecon {
0015
0016 using ElectronReconstructionAlgorithm =
0017 algorithms::Algorithm<algorithms::Input<edm4eic::ReconstructedParticleCollection>,
0018 algorithms::Output<edm4eic::ReconstructedParticleCollection>>;
0019
0020 class ElectronReconstruction : public ElectronReconstructionAlgorithm,
0021 public WithPodConfig<ElectronReconstructionConfig> {
0022
0023 public:
0024 ElectronReconstruction(std::string_view name)
0025 : ElectronReconstructionAlgorithm{name,
0026 {"inputParticles"},
0027 {"outputParticles"},
0028 "selected electrons from reconstructed particles"} {}
0029
0030 void init() final {};
0031 void process(const Input&, const Output&) const final;
0032 };
0033
0034 }