Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-09-28 07:02:56

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 
0014 namespace eicrecon {
0015 
0016     class ElectronReconstruction : public WithPodConfig<ElectronReconstructionConfig>{
0017 
0018     public:
0019 
0020         void init(std::shared_ptr<spdlog::logger> logger);
0021 
0022         // idea will be to overload this with other version (e.g. reco mode)
0023         std::unique_ptr<edm4eic::ReconstructedParticleCollection> execute(
0024                 const edm4eic::ReconstructedParticleCollection *rcparts
0025         );
0026 
0027     private:
0028         std::shared_ptr<spdlog::logger> m_log;
0029         double m_electron{0.000510998928};
0030 
0031     };
0032 } // namespace eicrecon