Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 08:59:58

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2024 Dmitry Kalinkin
0003 
0004 #include <JANA/JApplication.h>
0005 #include <algorithms/service.h>
0006 
0007 #include "EvaluatorSvc.h"
0008 
0009 extern "C" {
0010 
0011 void InitPlugin(JApplication* app) {
0012   InitJANAPlugin(app);
0013 
0014   auto& serviceSvc = algorithms::ServiceSvc::instance();
0015   auto& evaluatorSvc = eicrecon::EvaluatorSvc::instance();
0016   serviceSvc.add<eicrecon::EvaluatorSvc>(&evaluatorSvc);
0017 }
0018 }