Belle II Software light-2406-ragdoll
|
Public Member Functions | |
def | test_nonsense_list (self) |
def | test_default_list_exists (self) |
def | test_default_list_works (self) |
def | test_all_list (self) |
def | test_cdc_list (self) |
def | test_loose_list (self) |
def | test_default_list (self) |
def | test_tight_list (self) |
def | test_pi0eff60_May2020_list (self) |
def | test_pi0eff50_May2020_list (self) |
def | test_pi0eff40_May2020_list (self) |
def | test_pi0eff30_May2020_list (self) |
def | test_pi0eff20_May2020_list (self) |
def | test_pi0eff10_May2020_list (self) |
def | test_skim (self) |
def | test_belle (self) |
Protected Member Functions | |
def | _check_list (self, listtype=None, std_function=stdPhotons.stdPhotons, expected_lists=["all"]) |
Test case for standard photon lists
Definition at line 18 of file test_std_photons.py.
|
protected |
check that a given listtype function works
Definition at line 21 of file test_std_photons.py.
def test_all_list | ( | self | ) |
check that the builder function works with the all list
Definition at line 77 of file test_std_photons.py.
def test_belle | ( | self | ) |
check that the builder function works with the belle list
Definition at line 125 of file test_std_photons.py.
def test_cdc_list | ( | self | ) |
check that the builder function works with the cdc list
Definition at line 81 of file test_std_photons.py.
def test_default_list | ( | self | ) |
check that the builder function works with the default (loose) list
Definition at line 89 of file test_std_photons.py.
def test_default_list_exists | ( | self | ) |
Check that the default list type is one of the lists in the cases that are checked for in :func:`stdPhotons.stdPhotons`. This test relies on ``ValueError`` being raised for nonsense list types, which is tested by :func:`test_nonsense_list`. However, :func:`test_nonsense_list` doesn't ensure that the default list works, so for that this test is needed.
Definition at line 56 of file test_std_photons.py.
def test_default_list_works | ( | self | ) |
Check that the default list type (loose) works.
Definition at line 72 of file test_std_photons.py.
def test_loose_list | ( | self | ) |
check that the builder function works with the loose list
Definition at line 85 of file test_std_photons.py.
def test_nonsense_list | ( | self | ) |
Check that the builder function raises a ValueError for a non-existing list name.
Definition at line 52 of file test_std_photons.py.
def test_pi0eff10_May2020_list | ( | self | ) |
check that the builder function works with the pi0eff10_May2020 list
Definition at line 117 of file test_std_photons.py.
def test_pi0eff20_May2020_list | ( | self | ) |
check that the builder function works with the pi0eff20_May2020 list
Definition at line 113 of file test_std_photons.py.
def test_pi0eff30_May2020_list | ( | self | ) |
check that the builder function works with the pi0eff30_May2020 list
Definition at line 109 of file test_std_photons.py.
def test_pi0eff40_May2020_list | ( | self | ) |
check that the builder function works with the pi0eff40_May2020 list
Definition at line 105 of file test_std_photons.py.
def test_pi0eff50_May2020_list | ( | self | ) |
check that the builder function works with the pi0eff50_May2020 list
Definition at line 101 of file test_std_photons.py.
def test_pi0eff60_May2020_list | ( | self | ) |
check that the builder function works with the pi0eff60_May2020 list
Definition at line 97 of file test_std_photons.py.
def test_skim | ( | self | ) |
check that the builder function works with the skim list
Definition at line 121 of file test_std_photons.py.
def test_tight_list | ( | self | ) |
check that the builder function works with the tight list
Definition at line 93 of file test_std_photons.py.