16from simulation
import add_simulation
17from reconstruction
import add_cosmics_reconstruction
23main = b2.create_path()
26main.add_module(
'EventInfoSetter')
29main.add_module(
'Cosmics')
35add_cosmics_reconstruction(main, components=[
'CDC'], merge_tracks=
False)
38output = b2.register_module(
'RootOutput')
39output.param(
'branchNames', [
'TOPDigits',
'ExtHits',
'Tracks',
'TrackFitResults',
40 'MCParticles',
'TOPBarHits',
'EventT0'])
41main.add_module(output)
44progress = b2.register_module(
'Progress')
45main.add_module(progress)