13 This script saves e+ or e- from photon conversions into a pair in MCParticles.
16 <contact>dorisykim@ssu.ac.kr</contact>
18 Saves 100 generic BBbar events with EvtGen + secondary e+ or e- from pair conversions created by Geant4 in MCParticles.
19 The corresponding secondaryPhysicsProcess ID is 14, which is defined as fGammaConversion in G4EmProcessSubType.h.
20 The detector simulation mixed with background, trigger simulation, and standard reconstruction is done.
26 from simulation
import add_simulation
27 from reconstruction
import add_reconstruction
28 from background
import get_background_files
30 b2.set_random_seed(12345)
33 main = b2.create_path()
36 main.add_module(
'EventInfoSetter', evtNumList=[100], runList=[1], expList=[1])
39 main.add_module(
'EvtGenInput')
42 add_simulation(main, bkgfiles=get_background_files())
45 b2.set_module_parameters(main,
"FullSim", StorePairConversions=
True, PairConversionsEnergyCut=10.0)
48 add_reconstruction(main)
51 main.add_module(
"RootOutput", outputFileName=
"EvtGenSimRecYesPairConversions.root")