Belle II Software  release-08-01-10
sampleCosmicsB0.py
1 #!/usr/bin/env python3
2 
3 
10 
11 import basf2
12 import simulation
13 
14 main = basf2.create_path()
15 
16 main.add_module('EventInfoSetter')
17 main.add_module('Cosmics')
18 main.add_module('Gearbox')
19 main.add_module('Geometry', excludedComponents=['MagneticField'])
20 
22 
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