Belle II Software  release-08-01-10
sampleBMuons.py
1 #!/usr/bin/env python
2 
3 
10 
11 import basf2
12 
13 import simulation
14 
15 main = basf2.create_path()
16 
17 main.add_module("EventInfoSetter")
18 # beamparameters.add_beamparameters(main, "Y4S")
19 main.add_module('Gearbox')
20 main.add_module('Geometry')
21 main.add_module('EvtGenInput')
23 main.add_module("RootOutput")
24 main.add_module("Progress")
25 
26 basf2.process(main)
27 print(basf2.statistics)
def add_simulation(path, components=None, bkgfiles=None, bkgOverlay=True, forceSetPXDDataReduction=False, usePXDDataReduction=True, cleanupPXDDataReduction=True, generate_2nd_cdc_hits=False, simulateT0jitter=True, isCosmics=False, FilterEvents=False, usePXDGatedMode=False, skipExperimentCheckForBG=False, save_slow_pions_in_mc=False)
Definition: simulation.py:121