Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-06-30 08:34:27

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2023 Daniel Brandenburg
0003 
0004 #pragma once
0005 
0006 #include <edm4eic/ReconstructedParticleCollection.h>
0007 #include <spdlog/logger.h>
0008 #include <memory>
0009 
0010 #include "ElectronReconstructionConfig.h"
0011 #include "algorithms/interfaces/WithPodConfig.h"
0012 
0013 namespace eicrecon {
0014 
0015 class ElectronReconstruction : public WithPodConfig<ElectronReconstructionConfig> {
0016 
0017 public:
0018   void init(std::shared_ptr<spdlog::logger> logger);
0019 
0020   // idea will be to overload this with other version (e.g. reco mode)
0021   std::unique_ptr<edm4eic::ReconstructedParticleCollection>
0022   execute(const edm4eic::ReconstructedParticleCollection* rcparts);
0023 
0024 private:
0025   std::shared_ptr<spdlog::logger> m_log;
0026 };
0027 } // namespace eicrecon