19import modularAnalysis
as ma
21import stdV0s
as stdV0s
22import ksSelector
as ksSelector
24output_file =
'output.root'
27my_path = b2.create_path()
30ma.inputMdst(filename=b2.find_file(
'B02JpsiKs_Jpsi2mumu_Ks2pipi.root',
'examples',
False),
38centralDB =
'KsFinder_dev'
41 b2.conditions.prepend_globaltag(centralDB)
43 b2.conditions.append_testing_payloads(localDB)
50 identifier_Ks=
"sugiura_KsFinder_V0Selector",
51 identifier_vLambda=
"sugiura_KsFinder_LambdaVeto",
52 output_label_name=
'standard',
53 extraInfoName_V0Selector=
'V0_mva',
54 extraInfoName_LambdaVeto=
'Lam_mva',
57ma.matchMCTruth(list_name=
'K_S0:standard', path=my_path)
60vars = vc.kinematics + vc.mc_kinematics + vc.mc_truth
61vars += [
'extraInfo(V0_mva)']
62vars += [
'extraInfo(Lam_mva)']
65ma.variablesToNtuple(
'K_S0:standard',
def ksSelector(particleListName, identifier_Ks, identifier_vLambda, output_label_name='', extraInfoName_V0Selector='KsSelector_V0Selector', extraInfoName_LambdaVeto='KsSelector_LambdaVeto', useCustomThreshold=False, threshold_V0Selector=0.90, threshold_LambdaVeto=0.11, path=None)
def stdKshorts(prioritiseV0=True, fitter='TreeFit', path=None, updateAllDaughters=False, writeOut=False)