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