9 import generators
as ge
10 import simulation
as si
11 import reconstruction
as re
12 from skim.WGs.fei
import feiHadronicB0
13 import modularAnalysis
as ma
22 main = b2.create_path()
25 main.add_module(
"EventInfoSetter", expList=1003, runList=0, evtNumList=num_events)
28 ge.add_evtgen_generator(path=main, finalstate=
'mixed')
31 NNFilterModule_m = NNFilterModule(
32 extra_info_var=
'GAT_AfterGen'
34 dead_path = b2.create_path()
35 NNFilterModule_m.if_false(dead_path)
36 main.add_module(NNFilterModule_m)
41 filename=f
'{out_dir}AfterGen.root',
42 additionalBranches=[
"EventExtraInfo"]
46 si.add_simulation(path=main)
49 re.add_reconstruction(path=main)
52 fei_skim = feiHadronicB0(udstOutput=
False, analysisGlobaltag=ma.getAnalysisGlobaltag())
58 filename=f
'{out_dir}AfterFEI.root',
59 additionalBranches=[
"EventExtraInfo"]
def add_mdst_output(path, mc=True, filename='mdst.root', additionalBranches=[], dataDescription=None)