From 7c2efc7c1da4d685d4e2bb132febe7cc92bf2f3e Mon Sep 17 00:00:00 2001 From: Lukas Beiske Date: Sat, 13 Jan 2024 15:22:34 +0100 Subject: [PATCH] Make ThetaCutsCalculator configurable --- ctapipe/tools/make_irf.py | 1 + ctapipe/tools/optimize_event_selection.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ctapipe/tools/make_irf.py b/ctapipe/tools/make_irf.py index 09463ed2f34..b709d8eccb3 100644 --- a/ctapipe/tools/make_irf.py +++ b/ctapipe/tools/make_irf.py @@ -125,6 +125,7 @@ class IrfTool(Tool): } classes = [ + ThetaCutsCalculator, OutputEnergyBinning, FovOffsetBinning, EventsLoader, diff --git a/ctapipe/tools/optimize_event_selection.py b/ctapipe/tools/optimize_event_selection.py index f2ea3e09799..c509257e00c 100644 --- a/ctapipe/tools/optimize_event_selection.py +++ b/ctapipe/tools/optimize_event_selection.py @@ -74,7 +74,7 @@ class IrfEventSelector(Tool): "chunk_size": "IrfEventSelector.chunk_size", } - classes = [GridOptimizer, FovOffsetBinning, EventsLoader] + classes = [GridOptimizer, ThetaCutsCalculator, FovOffsetBinning, EventsLoader] def setup(self): self.go = GridOptimizer(parent=self)