24 modules = path.modules()
26 if m.name() ==
"HistoManager":
28 assert m.has_properties(basf2.ModulePropFlags.PARALLELPROCESSINGCERTIFIED), \
29 f
'{m} is missing c_ParallelProcessingCertified flag!'
31 for sub_path
in m.get_all_condition_paths():
35if __name__ ==
"__main__":
38 path = basf2.create_path()
43 for trigger
in SoftwareTriggerModes:
44 path = basf2.create_path()
45 path.add_module(
"HistoManager")
46 add_hlt_processing(path, run_type=RunTypes.beam, softwaretrigger_mode=trigger)
49 path = basf2.create_path()
50 path.add_module(
"HistoManager")
51 add_hlt_processing(path, run_type=RunTypes.cosmic, softwaretrigger_mode=SoftwareTriggerModes.monitor)
56 for do_reconstruction
in [
True,
False]:
57 path = basf2.create_path()
58 path.add_module(
"HistoManager")
59 add_expressreco_processing(path, run_type=RunTypes.beam, do_reconstruction=do_reconstruction)
62 for do_reconstruction
in [
True,
False]:
63 path = basf2.create_path()
64 path.add_module(
"HistoManager")
65 add_expressreco_processing(path, run_type=RunTypes.cosmic, do_reconstruction=do_reconstruction)
def add_reconstruction(path, components=None, pruneTracks=True, add_trigger_calculation=True, skipGeometryAdding=False, trackFitHypotheses=None, addClusterExpertModules=True, use_second_cdc_hits=False, add_muid_hits=False, reconstruct_cdst=None, event_abort=default_event_abort, use_random_numbers_for_hlt_prescale=True, pxd_filtering_offline=False, create_intercepts_for_pxd_ckf=False, append_full_grid_cdc_eventt0=True, legacy_ecl_charged_pid=False, emulate_HLT=False, skip_full_grid_cdc_eventt0_if_svd_time_present=True)