File indexing completed on 2025-01-30 10:04:55
0001 #pragma once
0002
0003 #include <JANA/JApplication.h>
0004 #include <JANA/JEvent.h>
0005 #include <JANA/JEventProcessor.h>
0006 #include <TDirectory.h>
0007 #include <spdlog/fwd.h>
0008 #include <memory>
0009
0010 class TrackingTest_processor:public JEventProcessor
0011 {
0012 public:
0013 explicit TrackingTest_processor(JApplication *);
0014 ~TrackingTest_processor() override = default;
0015
0016
0017
0018
0019
0020
0021
0022 void Init() override;
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 void Process(const std::shared_ptr<const JEvent>& event) override;
0033
0034
0035
0036
0037
0038
0039
0040 void Finish() override;
0041
0042 private:
0043
0044
0045
0046 void ProcessTrackingResults(const std::shared_ptr<const JEvent>& event);
0047
0048 void ProcessTrackingMatching(const std::shared_ptr<const JEvent>& event);
0049
0050 void ProcessGloablMatching(const std::shared_ptr<const JEvent>& event);
0051
0052
0053 std::shared_ptr<spdlog::logger> m_log;
0054 TDirectory *m_dir_main;
0055 };