Belle II Software development
displaySampleGBL.py
1#!/usr/bin/env python3
2
3
10
11
22
23import basf2 as b2
24import reconstruction
25
26import ROOT
27ROOT.gROOT.SetBatch(0)
28
29main = b2.create_path()
30
31main.add_module('RootInput')
32main.add_module('HistoManager', histoFileName='CollectorOutput.root')
33main.add_module('Gearbox')
34main.add_module('Geometry')
35
36reconstruction.add_reconstruction(main, pruneTracks=False, add_muid_hits=True)
37main.add_module('DAFRecoFitter')
38
39main.add_module(
40 'MillepedeCollector',
41 components=[],
42 tracks=['RecoTracks'])
43
44main.add_module('Display', showRecoTracks=True)
45# main.add_module('RootOutput')
46b2.process(main)
47print(b2.statistics)
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)