Skip to content
Snippets Groups Projects
Commit 6a1f4c55 authored by Felix Metzner's avatar Felix Metzner
Browse files

More improvements to shape sys plotter.

parent 4cc29f1c
Branches
No related tags found
No related merge requests found
...@@ -1120,6 +1120,7 @@ class RDStarFitEvaluator: ...@@ -1120,6 +1120,7 @@ class RDStarFitEvaluator:
def plot_sig_ff_sys_shape_effects( def plot_sig_ff_sys_shape_effects(
self, self,
fit_status_container: RDStarFitStatusContainer, fit_status_container: RDStarFitStatusContainer,
add_statistical_uncertainties: bool,
) -> Generator[SpecificShapePlotInfoContainer, None, None]: ) -> Generator[SpecificShapePlotInfoContainer, None, None]:
sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter( sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter(
base_output_dir_path=self.base_output_dir_path, base_output_dir_path=self.base_output_dir_path,
...@@ -1139,11 +1140,15 @@ class RDStarFitEvaluator: ...@@ -1139,11 +1140,15 @@ class RDStarFitEvaluator:
plot_subsets=False, plot_subsets=False,
) )
yield from sys_shape_plotter.create_systematics_shape_plots(sys_shape_info=example_sys_shape_info) yield from sys_shape_plotter.create_systematics_shape_plots(
sys_shape_info=example_sys_shape_info,
add_statistical_uncertainties=add_statistical_uncertainties,
)
def plot_norm_ff_sys_shape_effects( def plot_norm_ff_sys_shape_effects(
self, self,
fit_status_container: RDStarFitStatusContainer, fit_status_container: RDStarFitStatusContainer,
add_statistical_uncertainties: bool,
) -> Generator[SpecificShapePlotInfoContainer, None, None]: ) -> Generator[SpecificShapePlotInfoContainer, None, None]:
sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter( sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter(
base_output_dir_path=self.base_output_dir_path, base_output_dir_path=self.base_output_dir_path,
...@@ -1163,11 +1168,15 @@ class RDStarFitEvaluator: ...@@ -1163,11 +1168,15 @@ class RDStarFitEvaluator:
plot_subsets=False, plot_subsets=False,
) )
yield from sys_shape_plotter.create_systematics_shape_plots(sys_shape_info=example_sys_shape_info) yield from sys_shape_plotter.create_systematics_shape_plots(
sys_shape_info=example_sys_shape_info,
add_statistical_uncertainties=add_statistical_uncertainties,
)
def plot_l_id_sys_shape_effects( def plot_l_id_sys_shape_effects(
self, self,
fit_status_container: RDStarFitStatusContainer, fit_status_container: RDStarFitStatusContainer,
add_statistical_uncertainties: bool,
) -> Generator[SpecificShapePlotInfoContainer, None, None]: ) -> Generator[SpecificShapePlotInfoContainer, None, None]:
sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter( sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter(
base_output_dir_path=self.base_output_dir_path, base_output_dir_path=self.base_output_dir_path,
...@@ -1187,11 +1196,15 @@ class RDStarFitEvaluator: ...@@ -1187,11 +1196,15 @@ class RDStarFitEvaluator:
plot_subsets=False, plot_subsets=False,
) )
yield from sys_shape_plotter.create_systematics_shape_plots(sys_shape_info=example_sys_shape_info) yield from sys_shape_plotter.create_systematics_shape_plots(
sys_shape_info=example_sys_shape_info,
add_statistical_uncertainties=add_statistical_uncertainties,
)
def plot_tracking_sys_shape_effects( def plot_tracking_sys_shape_effects(
self, self,
fit_status_container: RDStarFitStatusContainer, fit_status_container: RDStarFitStatusContainer,
add_statistical_uncertainties: bool,
) -> Generator[SpecificShapePlotInfoContainer, None, None]: ) -> Generator[SpecificShapePlotInfoContainer, None, None]:
sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter( sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter(
base_output_dir_path=self.base_output_dir_path, base_output_dir_path=self.base_output_dir_path,
...@@ -1211,11 +1224,15 @@ class RDStarFitEvaluator: ...@@ -1211,11 +1224,15 @@ class RDStarFitEvaluator:
plot_subsets=False, plot_subsets=False,
) )
yield from sys_shape_plotter.create_systematics_shape_plots(sys_shape_info=example_sys_shape_info) yield from sys_shape_plotter.create_systematics_shape_plots(
sys_shape_info=example_sys_shape_info,
add_statistical_uncertainties=add_statistical_uncertainties,
)
def plot_k_short_sys_shape_effects( def plot_k_short_sys_shape_effects(
self, self,
fit_status_container: RDStarFitStatusContainer, fit_status_container: RDStarFitStatusContainer,
add_statistical_uncertainties: bool,
) -> Generator[SpecificShapePlotInfoContainer, None, None]: ) -> Generator[SpecificShapePlotInfoContainer, None, None]:
sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter( sys_shape_plotter: SystematicsShapePlotter = SystematicsShapePlotter(
base_output_dir_path=self.base_output_dir_path, base_output_dir_path=self.base_output_dir_path,
...@@ -1235,7 +1252,10 @@ class RDStarFitEvaluator: ...@@ -1235,7 +1252,10 @@ class RDStarFitEvaluator:
plot_subsets=False, plot_subsets=False,
) )
yield from sys_shape_plotter.create_systematics_shape_plots(sys_shape_info=example_sys_shape_info) yield from sys_shape_plotter.create_systematics_shape_plots(
sys_shape_info=example_sys_shape_info,
add_statistical_uncertainties=add_statistical_uncertainties,
)
def dump_data_for_external_fitter( def dump_data_for_external_fitter(
self, self,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment