11from skim.WGs.fei
import feiHadronicB0
12import modularAnalysis
as ma
15from smartBKG.b2modules.NN_trainer_module
import SaveFlag
18job_id = int(sys.argv[1])
22f_input =
"./mdst.root"
24main = b2.create_path()
27ma.inputMdst(environmentType=
"default", filename=f_input, skipNEvents=num_events*job_id, path=main)
33 filename=f
'{out_dir}_submdst{job_id}.root',
37skim = feiHadronicB0(analysisGlobaltag=ma.getAnalysisGlobaltag(), udstOutput=
False)
39ma.applyEventCuts(
"eventExtraInfo(passes_feiHadronicB0)", main)
41main.add_module(SaveFlag(f
'{out_dir}_flag{job_id}.parquet'))
43b2.process(path=main, max_event=num_events)
def add_mdst_output(path, mc=True, filename='mdst.root', additionalBranches=[], dataDescription=None)