5 This script saves all the secondary particles in MCParticles.
8 <contact>dorisykim@ssu.ac.kr</contact>
10 Saves 100 generic BBbar events with EvtGen + all the secondary particles created by Geant4 in MCParticles.
11 The detector simulation mixed with background, trigger simulation, and standard reconstruction is done.
17 from simulation
import add_simulation
18 from L1trigger
import add_tsim
19 from reconstruction
import add_reconstruction
20 from background
import get_background_files
22 set_random_seed(12345)
28 main.add_module(
'EventInfoSetter', evtNumList=[100], runList=[1], expList=[1])
31 main.add_module(
'EvtGenInput')
34 add_simulation(main, bkgfiles=get_background_files())
37 set_module_parameters(main,
"FullSim", StoreAllSecondaries=
True, SecondariesEnergyCut=1.0)
43 add_reconstruction(main)
46 main.add_module(
"RootOutput", outputFileName=
"EvtGenSimRecYesSecondaries.root")