Warning, file /EICrecon/src/tests/geometry_navigation_test/GeometryNavigationSteps_processor.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #pragma once
0002
0003 #include <Acts/Geometry/GeometryContext.hpp>
0004 #include <Acts/MagneticField/MagneticFieldContext.hpp>
0005 #include <JANA/JEventProcessor.h>
0006 #include <TDirectory.h>
0007 #include <spdlog/logger.h>
0008 #include <memory>
0009
0010 #include "extensions/spdlog/SpdlogMixin.h"
0011
0012 class GeometryNavigationSteps_processor
0013 : public JEventProcessor,
0014 public eicrecon::SpdlogMixin
0015 {
0016 public:
0017
0018
0019
0020
0021
0022
0023 void Init() override;
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 void Process(const std::shared_ptr<const JEvent>& event) override;
0034
0035
0036
0037
0038
0039
0040
0041 void Finish() override;
0042
0043 private:
0044
0045 TDirectory* m_dir_main{};
0046 #if Acts_VERSION_MAJOR >= 45
0047 Acts::GeometryContext m_geoContext = Acts::GeometryContext::dangerouslyDefaultConstruct();
0048 #else
0049 Acts::GeometryContext m_geoContext;
0050 #endif
0051 Acts::MagneticFieldContext m_fieldContext;
0052 std::shared_ptr<spdlog::logger> m_log;
0053 };