File indexing completed on 2024-09-27 07:03:04
0001
0002
0003
0004
0005
0006 #include <Evaluator/DD4hepUnits.h>
0007 #include <JANA/JApplication.h>
0008 #include <string>
0009
0010 #include "algorithms/interfaces/WithPodConfig.h"
0011 #include "extensions/jana/JOmniFactoryGeneratorT.h"
0012 #include "factories/digi/SiliconTrackerDigi_factory.h"
0013 #include "factories/tracking/TrackerHitReconstruction_factory.h"
0014
0015 extern "C" {
0016 void InitPlugin(JApplication *app) {
0017 InitJANAPlugin(app);
0018
0019 using namespace eicrecon;
0020
0021
0022 app->Add(new JOmniFactoryGeneratorT<SiliconTrackerDigi_factory>(
0023 "TOFEndcapRawHits",
0024 {
0025 "TOFEndcapHits"},
0026 {
0027 "TOFEndcapRawHits",
0028 "TOFEndcapRawHitAssociations"
0029 },
0030 {
0031 .threshold = 6.0 * dd4hep::keV,
0032 .timeResolution = 0.025,
0033 },
0034 app
0035 ));
0036
0037
0038 app->Add(new JOmniFactoryGeneratorT<TrackerHitReconstruction_factory>(
0039 "TOFEndcapRecHits",
0040 {"TOFEndcapRawHits"},
0041 {"TOFEndcapRecHits"},
0042 {
0043 .timeResolution = 0.025,
0044 },
0045 app
0046 ));
0047
0048 }
0049 }