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