14from b2biiConversion
import convertBelleMdstToBelleIIMdst
15from b2biiMonitors
import addBeamParamsConversionMonitors
16from b2biiMonitors
import addTrackConversionMonitors
17from b2biiMonitors
import addKshortConversionMonitors
18from b2biiMonitors
import addConvertedPhotonConversionMonitors
19from b2biiMonitors
import addLambda0ConversionMonitors
20from b2biiMonitors
import addNeutralsConversionMonitors
21from b2biiMonitors
import addMCParticlesConversionMonitors
22from b2biiMonitors
import addKlongConversionMonitors
24os.environ[
'USE_GRAND_REPROCESS_DATA'] =
'1'
25os.environ[
'PGUSER'] =
'g0db'
28mypath = basf2.create_path()
29inputfile = basf2.find_file(
'b2bii_input_evtgen_exp_07_BptoD0pip-D0toKpipi0-0.mdst',
'examples',
False)
30convertBelleMdstToBelleIIMdst(inputfile, path=mypath)
34addBeamParamsConversionMonitors(path=mypath)
35addTrackConversionMonitors(path=mypath)
36addKshortConversionMonitors(path=mypath)
37addKlongConversionMonitors(path=mypath)
38addLambda0ConversionMonitors(path=mypath)
39addConvertedPhotonConversionMonitors(path=mypath)
40addNeutralsConversionMonitors(path=mypath)
41addMCParticlesConversionMonitors(path=mypath)
44mypath.add_module(
'Progress')
49print(basf2.statistics)