11from basf2
import set_random_seed, create_path, Module
12from ROOT
import Belle2
13from b2test_utils
import safe_process, clean_working_directory
15set_random_seed(
"something important")
19 '''Simple module that creates some relations.'''
27 self.
tracks.registerInDataStore()
36 track = self.
tracks.appendNew()
38 track.addRelationTo(cluster)
43 """Create file with empty first event"""
45 path.add_module(
'EventInfoSetter')
47 path.add_module(
'RootOutput', outputFileName=
'test.root')
52 """Read file with empty first event"""
54 path.add_module(
'RootInput', inputFileName=
'test.root')
55 path.add_module(
'PrintCollections', printForEvent=0)
59if __name__ ==
"__main__":
60 with clean_working_directory():
A (simplified) python wrapper for StoreArray.
first
Bool for flagging the first event processed.