11"""This steering file tests the 'ECLChargedPID' module.
14 It must run on DST files, or reduced DSTs containing
15 ECLShowers, Tracks,
and all relevant relational containers:
23 - ECLClustersToECLShowers
27 - TracksToECLPidLikelihoods
28 - TracksToPIDLikelihoods
30 $ basf2 -i <path_to_input_file> -n <number_of_events>
31 EclChargedPidModuleTest.py
36# Create path. Register necessary modules to this path.
37mainPath = b2.create_path()
39# Register and add 'RootInput' module to read input DST file.
40inputFile = b2.register_module('RootInput')
41mainPath.add_module(inputFile)
43# Register and add 'ECLChargedPID' module
44eclChargedPID = b2.register_module('ECLChargedPID')
45mainPath.add_module(eclChargedPID)
47# Set debug options for 'ECLChargedPID' module.
48eclChargedPID.logging.log_level = b2.LogLevel.DEBUG
49eclChargedPID.logging.debug_level = 20
51"""Register
and add
'PrintCollections' module.
52 This prints the data model objects
in the store.
54printCollections = b2.register_module('PrintCollections')
55mainPath.add_module(printCollections)
57# Process the events and print call statistics
58mainPath.add_module('Progress')