File indexing completed on 2024-11-15 09:00:01
0001 #pragma once
0002
0003 #include <Acts/Surfaces/DiscSurface.hpp>
0004 #include <JANA/JApplication.h>
0005 #include <JANA/JEvent.h>
0006 #include <JANA/JEventProcessor.h>
0007 #include <TDirectory.h>
0008 #include <memory>
0009
0010 #include "algorithms/tracking/TrackPropagation.h"
0011 #include "extensions/spdlog/SpdlogMixin.h"
0012
0013 class TrackPropagationTest_processor:
0014 public JEventProcessor,
0015 public eicrecon::SpdlogMixin
0016 {
0017 public:
0018 explicit TrackPropagationTest_processor(JApplication *);
0019 ~TrackPropagationTest_processor() override = default;
0020
0021
0022
0023
0024
0025
0026
0027 void Init() override;
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 void Process(const std::shared_ptr<const JEvent>& event) override;
0038
0039
0040
0041
0042
0043
0044
0045 void Finish() override;
0046
0047 private:
0048
0049
0050 TDirectory *m_dir_main{};
0051
0052
0053 eicrecon::TrackPropagation m_propagation_algo;
0054
0055
0056 std::shared_ptr<Acts::DiscSurface> m_hcal_surface;
0057 };