21import ksSelector
as ksSelector
26 train_data=b2.find_file(
'KsSelector_train_V0Selector.root',
'examples',
False),
28 mva_identifier=
"MVAFastBDT_V0Selector.root",
29 target_variable=
"isSignal"
35 train_data=b2.find_file(
'KsSelector_train_LambdaVeto.root',
'examples',
False),
37 mva_identifier=
"MVAFastBDT_LambdaVeto.root",
38 target_variable=
"isSignal"
42basf2_mva.expert(basf2_mva.vector(
'MVAFastBDT_V0Selector.root'),
43 basf2_mva.vector(b2.find_file(
'KsSelector_train_V0Selector.root',
'examples',
False)),
44 'tree',
'MVAExpert_V0Selector.root')
45basf2_mva.expert(basf2_mva.vector(
'MVAFastBDT_LambdaVeto.root'),
46 basf2_mva.vector(b2.find_file(
'KsSelector_train_LambdaVeto.root',
'examples',
False)),
47 'tree',
'MVAExpert_LambdaVeto.root')
def LambdaVeto_Training(train_data, tree_name="tree", mva_identifier="MVAFastBDT_LambdaVeto.root", target_variable="isSignal")
def V0Selector_Training(train_data, tree_name="tree", mva_identifier="MVAFastBDT_V0Selector.root", target_variable="isSignal")