From 95b1b2eb91a6cdfb2a5934d036dc5da9e649c1de Mon Sep 17 00:00:00 2001
From: P-A Loizeau <p.-a.loizeau@gsi.de>
Date: Thu, 10 Oct 2024 15:16:22 +0200
Subject: [PATCH] In algo TRD HitFactory2D, fix wrong class header include +
 related missing header

---
 algo/detectors/trd/HitFactory2D.cxx | 3 ++-
 algo/detectors/trd/HitFactory2D.h   | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/algo/detectors/trd/HitFactory2D.cxx b/algo/detectors/trd/HitFactory2D.cxx
index c779d497db..8e21bb2841 100644
--- a/algo/detectors/trd/HitFactory2D.cxx
+++ b/algo/detectors/trd/HitFactory2D.cxx
@@ -2,7 +2,8 @@
    SPDX-License-Identifier: GPL-3.0-only
    Authors: Dominik Smith [committer], Alexandru Bercuci */
 
-#include "HitFinder2D.h"
+#include "HitFactory2D.h"
+
 #include "log.hpp"
 
 #include <numeric>
diff --git a/algo/detectors/trd/HitFactory2D.h b/algo/detectors/trd/HitFactory2D.h
index c2fa53a7dc..4efed55530 100644
--- a/algo/detectors/trd/HitFactory2D.h
+++ b/algo/detectors/trd/HitFactory2D.h
@@ -4,6 +4,8 @@
 
 #pragma once
 
+#include "compat/RTypes.h"
+
 #include <cstdint>
 #include <vector>
 
-- 
GitLab