Belle II Software development
testEcms.py
1#!/usr/bin/env python3
2
3
10
11import basf2
12from basf2 import create_path, register_module
13from analysisDQM import get_hadB_path
14
15
16rec_path_1 = create_path()
17
18rec_path_1.add_module('RootInput')
19
20get_hadB_path(rec_path_1)
21
22histo = register_module("HistoManager")
23rec_path_1.add_module(histo)
24histo.param('histoFileName', 'outHist.root')
25
26basf2.process(rec_path_1)