Belle II Software  release-06-02-00
TestCopyLists Class Reference
Inheritance diagram for TestCopyLists:
Collaboration diagram for TestCopyLists:

Public Member Functions

def test_merge_two_lists_with_identical_daughters (self)
 
def test_merge_two_lists_with_different_mdst_objects (self)
 
def test_different_daughter_order (self)
 
def test_neutrals_in_decays_to_charge_conjugated_daughters (self)
 
def test_different_association_of_neutrals_same_number_of_daughters (self)
 

Private Member Functions

def _count (self, listname)
 

Detailed Description

Analyse the output of ``run_copylists``

Definition at line 97 of file copylists.py.

Member Function Documentation

◆ _count()

def _count (   self,
  listname 
)
private
Open the ntuple output and count the number of entries in the list.

Definition at line 100 of file copylists.py.

100  def _count(self, listname):
101  """Open the ntuple output and count the number of entries in the list."""
102  df = root_pandas.read_root("ntuple.root", listname)
103  return len(df)
104 

◆ test_different_association_of_neutrals_same_number_of_daughters()

def test_different_association_of_neutrals_same_number_of_daughters (   self)
Different self-conjugated particles are daughters of charge-conjugated mother particles.
The two mother particles have the same amount of daughters.

Definition at line 127 of file copylists.py.

◆ test_different_daughter_order()

def test_different_daughter_order (   self)
Merging two lists with daughters in a different order should not double count.

Definition at line 117 of file copylists.py.

◆ test_merge_two_lists_with_different_mdst_objects()

def test_merge_two_lists_with_different_mdst_objects (   self)
Merging two lists with different daughters but with the same mdst
object should include each of them twice.

Definition at line 111 of file copylists.py.

◆ test_merge_two_lists_with_identical_daughters()

def test_merge_two_lists_with_identical_daughters (   self)
Merging two lists with identical daughters should not double count.

Definition at line 105 of file copylists.py.

◆ test_neutrals_in_decays_to_charge_conjugated_daughters()

def test_neutrals_in_decays_to_charge_conjugated_daughters (   self)
Self-conjugated particles can be daughters of both charge-conjugated mother particles.
Those multiple candidates are no duplicates and copying the particle list should not remove them.

Definition at line 122 of file copylists.py.


The documentation for this class was generated from the following file: