diff --git a/common/DetectorGeometry.h b/common/DetectorGeometry.h index e3c7c3bf..d62245bf 100644 --- a/common/DetectorGeometry.h +++ b/common/DetectorGeometry.h @@ -21,7 +21,6 @@ public: [[nodiscard]] virtual int64_t GetSlowDirectionStep(int64_t module_number) const = 0; [[nodiscard]] virtual Coord GetFastDirection(int64_t module_number) const = 0; [[nodiscard]] virtual Coord GetSlowDirection(int64_t module_number) const = 0; - [[nodiscard]] virtual bool IsModularDetector() const = 0; }; #endif //JUNGFRAUJOCH_DETECTORGEOMETRY_H diff --git a/common/DetectorGeometryFixed.cpp b/common/DetectorGeometryFixed.cpp index 19226b9b..2ba6996d 100644 --- a/common/DetectorGeometryFixed.cpp +++ b/common/DetectorGeometryFixed.cpp @@ -78,6 +78,3 @@ void DetectorGeometryFixed::VerticalFlip() { // Nothing; } -bool DetectorGeometryFixed::IsModularDetector() const { - return true; -} diff --git a/common/DetectorGeometryFixed.h b/common/DetectorGeometryFixed.h index 2d35ec0d..b932fa91 100644 --- a/common/DetectorGeometryFixed.h +++ b/common/DetectorGeometryFixed.h @@ -22,7 +22,6 @@ public: Coord GetFastDirection(int64_t module_number) const override; Coord GetSlowDirection(int64_t module_number) const override; void VerticalFlip(); - bool IsModularDetector() const override; }; diff --git a/common/DetectorGeometryModular.cpp b/common/DetectorGeometryModular.cpp index 1e475afe..57e18dba 100644 --- a/common/DetectorGeometryModular.cpp +++ b/common/DetectorGeometryModular.cpp @@ -141,10 +141,6 @@ void DetectorGeometryModular::VerticalFlip() { m.VerticalFlip(height); } -bool DetectorGeometryModular::IsModularDetector() const { - return false; -} - int64_t DetectorGeometryModular::GetDirectionStep(DetectorModuleGeometry::Direction direction) const { switch (direction) { case DetectorModuleGeometry::Direction::Xneg: diff --git a/common/DetectorGeometryModular.h b/common/DetectorGeometryModular.h index 8dc38063..b3762f43 100644 --- a/common/DetectorGeometryModular.h +++ b/common/DetectorGeometryModular.h @@ -30,7 +30,6 @@ public: Coord GetFastDirection(int64_t module_number) const override; Coord GetSlowDirection(int64_t module_number) const override; void VerticalFlip(); - bool IsModularDetector() const override; };