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),
36b2.conditions.prepend_globaltag(ma.getAnalysisGlobaltag())
43 output_label_name=
'standard',
44 extraInfoName_V0Selector=
'V0_mva',
45 extraInfoName_LambdaVeto=
'Lam_mva',
48ma.matchMCTruth(list_name=
'K_S0:standard', path=my_path)
51vars = vc.kinematics + vc.mc_kinematics + vc.mc_truth
52vars += [
'extraInfo(V0_mva)']
53vars += [
'extraInfo(Lam_mva)']
56ma.variablesToNtuple(
'K_S0:standard',
def ksSelector(particleListName, identifier_Ks="Ks_LGBM_V0Selector", identifier_vLambda="Ks_LGBM_LambdaVeto", 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)