17 from simulation
import add_simulation
18 from reconstruction
import add_cosmics_reconstruction
24 main = b2.create_path()
27 main.add_module(
'EventInfoSetter')
30 main.add_module(
'Cosmics')
36 add_cosmics_reconstruction(main, components=[
'CDC'], merge_tracks=
False)
39 output = b2.register_module(
'RootOutput')
40 output.param(
'branchNames', [
'TOPDigits',
'ExtHits',
'Tracks',
'TrackFitResults',
41 'MCParticles',
'TOPBarHits',
'EventT0'])
42 main.add_module(output)
45 progress = b2.register_module(
'Progress')
46 main.add_module(progress)