17import modularAnalysis
as ma
19localDB =
'localdb/database.txt'
20b2.conditions.append_testing_payloads(localDB)
23my_path = b2.create_path()
26ma.inputMdst(filename=b2.find_file(
'B2pi0D_D2hh_D2hhh_B2munu.root',
'examples',
False),
29ma.fillParticleList(
'pi+:all', cut=
'', path=my_path)
31matrixName =
"PIDCalibrationWeight_Example"
32ma.variablesToNtuple(
'pi+:all',
33 [
'pionID',
'kaonID',
'weightedPionID('+matrixName+
')',
'weightedKaonID('+matrixName+
')'],