Belle II Software  release-05-01-25
application_in_basf2.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 # Thomas Keck 2016
4 
5 # Use training in a basf2 path
6 # Run basics/*.py before
7 
8 from basf2 import *
9 from modularAnalysis import *
10 import create_data_sample
11 
12 if __name__ == "__main__":
13  path = create_data_sample.reconstruction_path(['mdst_002001_prod00000789_task00004203.root'])
14  path.add_module('MVAExpert', listNames=['D0'], extraInfoName='Test', identifier='weightfile.root')
15  variablesToNtuple('D0', ['isSignal', 'extraInfo(Test)'], path=path)
16  process(path)
variablesToNtuple
Definition: variablesToNtuple.py:1
create_data_sample.reconstruction_path
def reconstruction_path(inputfiles)
Definition: create_data_sample.py:28