FairShip
Loading...
Searching...
No Matches
test_caloScoringPlanePID.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_caloScoringPlanePID

Functions

 test_caloScoringPlanePID.config (**extra)
 test_caloScoringPlanePID.test_species_order_is_that_of_the_cpp_enum ()
 test_caloScoringPlanePID.test_defaults ()
 test_caloScoringPlanePID.test_rows_and_columns_are_reordered ()
 test_caloScoringPlanePID.test_log_interpolation_and_several_points ()
 test_caloScoringPlanePID.test_overrides_keep_the_sign ()
 test_caloScoringPlanePID.test_empty_pdg_overrides_key_is_allowed ()
 test_caloScoringPlanePID.test_malformed_files_are_rejected (cfg, message)
 test_caloScoringPlanePID.test_missing_file (tmp_path)
 test_caloScoringPlanePID.test_invalid_yaml (tmp_path)
 test_caloScoringPlanePID.test_environment_variables_are_expanded (tmp_path, monkeypatch)
 test_caloScoringPlanePID.test_shipped_file_parses ()
 test_caloScoringPlanePID.ROOT (root_with_calo_scoring_plane)
 test_caloScoringPlanePID.test_shipped_file_loads_into_the_cpp_class (ROOT)
 test_caloScoringPlanePID.test_no_file_gives_perfect_identification (ROOT)
 test_caloScoringPlanePID.test_numerical_errors_name_the_file (ROOT, tmp_path)
 test_caloScoringPlanePID.test_nan_in_the_file_is_rejected (ROOT, tmp_path)
 test_caloScoringPlanePID.test_override_applies_to_both_signs (ROOT)
 test_caloScoringPlanePID.test_conflicting_overrides_are_rejected (ROOT, tmp_path)
 test_caloScoringPlanePID.test_binding_errors_are_not_reported_as_file_errors (ROOT)

Variables

 test_caloScoringPlanePID.SHIPPED = os.path.join(os.path.dirname(__file__), "..", "geometry", "caloScoringPlane_pid_provided.yaml")
list test_caloScoringPlanePID.IDENTITY = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]