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
37mainPath = b2.create_path()
40inputFile = b2.register_module(
'RootInput')
41mainPath.add_module(inputFile)
44eclChargedPID = b2.register_module(
'ECLChargedPID')
45mainPath.add_module(eclChargedPID)
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)
58mainPath.add_module(
'Progress')
59b2.process(mainPath, calculateStatistics=
True)