19import modularAnalysis
as ma
21import stdV0s
as stdV0s
22import LambdaSelector
as LambdaSelector
25my_path = b2.create_path()
28ma.inputMdst(filename=b2.find_file(
'B02JpsiKs_Jpsi2mumu_Ks2pipi.root',
'examples',
False),
34b2.conditions.prepend_globaltag(
"analysis_tools_light-2503-ceres")
41 output_label_name=
'standard',
42 extraInfoName_V0Selector=
'V0_mva',
43 extraInfoName_KsVeto=
'Ks_mva',
46ma.matchMCTruth(list_name=
'Lambda0:standard', path=my_path)
49vars = vc.kinematics + vc.mc_kinematics + vc.mc_truth
50vars += [
'extraInfo(V0_mva)']
51vars += [
'extraInfo(Ks_mva)']
54ma.variablesToNtuple(
'Lambda0:standard',
def LambdaSelector(particleListName, identifier_Lambda="Lambda_LGBM_V0Selector", identifier_vKs="Lambda_LGBM_KsVeto", output_label_name='', extraInfoName_V0Selector='LambdaSelector_V0Selector', extraInfoName_KsVeto='LambdaSelector_KsVeto', useCustomThreshold=False, threshold_V0Selector=0.72, threshold_KsVeto=0.27, path=None)
def stdLambdas(prioritiseV0=True, fitter='TreeFit', path=None, updateAllDaughters=False, writeOut=False)