Belle II Software  release-05-02-19
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)
 

Private Member Functions

def _count (self, listname)
 

Detailed Description

Analyse the output of ``run_copylists``

Definition at line 59 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 62 of file copylists.py.

62  def _count(self, listname):
63  """Open the ntuple output and count the number of entries in the list."""
64  df = root_pandas.read_root("ntuple.root", listname)
65  return len(df)
66 

◆ 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 79 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 73 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 67 of file copylists.py.


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