From cc91d4f533f5a98135f383fd4a610adb36170154 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Mon, 2 Aug 2021 15:55:02 +0200
Subject: [PATCH] mv file pair -> PolFilter

---
 Device/Detector/IDetector.h                               | 2 +-
 .../{DetectionProperties.cpp => PolFilter.cpp}            | 4 ++--
 Device/ProDetector/{DetectionProperties.h => PolFilter.h} | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)
 rename Device/ProDetector/{DetectionProperties.cpp => PolFilter.cpp} (96%)
 rename Device/ProDetector/{DetectionProperties.h => PolFilter.h} (89%)

diff --git a/Device/Detector/IDetector.h b/Device/Detector/IDetector.h
index e5345afdb58..f295ed2d113 100644
--- a/Device/Detector/IDetector.h
+++ b/Device/Detector/IDetector.h
@@ -21,7 +21,7 @@
 #include "Base/Vector/Vectors3D.h"
 #include "Device/Coord/Axes.h"
 #include "Device/Detector/SimulationAreaIterator.h"
-#include "Device/ProDetector/DetectionProperties.h"
+#include "Device/ProDetector/PolFilter.h"
 
 class DetectorMask;
 class Direction;
diff --git a/Device/ProDetector/DetectionProperties.cpp b/Device/ProDetector/PolFilter.cpp
similarity index 96%
rename from Device/ProDetector/DetectionProperties.cpp
rename to Device/ProDetector/PolFilter.cpp
index c31e695dd4d..f3add634d6f 100644
--- a/Device/ProDetector/DetectionProperties.cpp
+++ b/Device/ProDetector/PolFilter.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      Device/ProDetector/DetectionProperties.cpp
+//! @file      Device/ProDetector/PolFilter.cpp
 //! @brief     Implements class DetectionProperties.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,7 +12,7 @@
 //
 //  ************************************************************************************************
 
-#include "Device/ProDetector/DetectionProperties.h"
+#include "Device/ProDetector/PolFilter.h"
 #include "Fit/Param/RealLimits.h"
 
 PolFilter::PolFilter(kvector_t direction, double efficiency,
diff --git a/Device/ProDetector/DetectionProperties.h b/Device/ProDetector/PolFilter.h
similarity index 89%
rename from Device/ProDetector/DetectionProperties.h
rename to Device/ProDetector/PolFilter.h
index af7662eee22..27f24bc56b0 100644
--- a/Device/ProDetector/DetectionProperties.h
+++ b/Device/ProDetector/PolFilter.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      Device/ProDetector/DetectionProperties.h
+//! @file      Device/ProDetector/PolFilter.h
 //! @brief     Defines class DetectionProperties.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -17,8 +17,8 @@
 #endif
 
 #ifndef USER_API
-#ifndef BORNAGAIN_DEVICE_PRODETECTOR_DETECTIONPROPERTIES_H
-#define BORNAGAIN_DEVICE_PRODETECTOR_DETECTIONPROPERTIES_H
+#ifndef BORNAGAIN_DEVICE_PRODETECTOR_POLFILTER_H
+#define BORNAGAIN_DEVICE_PRODETECTOR_POLFILTER_H
 
 #include "Param/Node/INode.h"
 #include "Base/Vector/EigenCore.h"
@@ -59,5 +59,5 @@ private:
     double m_total_transmission; //!< total transmission of polarization analysis
 };
 
-#endif // BORNAGAIN_DEVICE_PRODETECTOR_DETECTIONPROPERTIES_H
+#endif // BORNAGAIN_DEVICE_PRODETECTOR_POLFILTER_H
 #endif // USER_API
-- 
GitLab