Belle II Software development
sampleBMuons.py
1#!/usr/bin/env python
2
3
10
11import basf2
12
13import simulation
14
15main = basf2.create_path()
16
17main.add_module("EventInfoSetter")
18# beamparameters.add_beamparameters(main, "Y4S")
19main.add_module('Gearbox')
20main.add_module('Geometry')
21main.add_module('EvtGenInput')
23main.add_module("RootOutput")
24main.add_module("Progress")
25
26basf2.process(main)
27print(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:126