6 import modularAnalysis
as ma
7 from variables
import variables
as vm
10 filenumber = sys.argv[1]
17 filename=b2.find_file(f
"starterkit/2021/1111540100_eph3_BGx0_{filenumber}.root",
"examples"),
22 b2.conditions.prepend_globaltag(ma.getAnalysisGlobaltag())
26 particles = fei.get_default_channels(
34 configuration = fei.FeiConfiguration(
35 prefix=
"FEIv4_2021_MC14_release_05_01_12", monitor=
False
39 feistate = fei.get_path(particles, configuration)
42 main.add_path(feistate.path)
46 ma.matchMCTruth(list_name=
"B+:generic", path=main)
50 particleList=
"B+:generic",
51 variable=
"extraInfo(SignalProbability)",
52 outputVariable=
"FEIProbabilityRank",
55 vm.addAlias(
"FEIProbRank",
"extraInfo(FEIProbabilityRank)")
57 vm.addAlias(
"SigProb",
"extraInfo(SignalProbability)")
58 vm.addAlias(
"decayModeID",
"extraInfo(decayModeID)")
72 filename=
"B_charged_hadronic.root",