12 from generators
import add_kkmc_generator
13 from simulation
import add_simulation
14 from reconstruction
import add_reconstruction
15 from beamparameters
import add_beamparameters
16 from rawdata
import add_packers, add_raw_seqoutput
18 b2.set_random_seed(5433)
20 b2.use_central_database(
'production')
32 main = b2.create_path()
35 eventinfosetter = b2.register_module(
'EventInfoSetter')
36 eventinfosetter.param(
'evtNumList', [100])
37 eventinfosetter.param(
'runList', [1])
38 eventinfosetter.param(
'expList', [1])
39 main.add_module(eventinfosetter)
42 beamparameters = add_beamparameters(main,
"Y4S")
44 add_kkmc_generator(main,
'mu-mu+')
53 add_reconstruction(main)
64 add_raw_seqoutput(main,
'raw.sroot', additionalObjects=[
'SoftwareTriggerResult',
'MCParticles'])