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