24 from reconstruction
import add_cosmics_reconstruction
28 b2.use_central_database(
"cdc_cr_test1", b2.LogLevel.WARNING)
31 main = b2.create_path()
34 rootinput = b2.register_module(
'RootInput')
35 input =
'/ghi/fs01/belle2/bdata/group/detector/CDC/unpacked/exp00/cr.cdc.0000.001733.root'
36 rootinput.param(
'inputFileName', input)
37 main.add_module(rootinput)
49 if os.path.exists(data_period)
is False:
54 main.add_module(
'Gearbox',
55 override=[(
"/DetectorComponent[@name='CDC']//GlobalPhiRotation", str(globalPhiRotation),
"deg")
57 fileName=
'/geometry/Beast2_phase2.xml')
58 main.add_module(
'Geometry', components=components)
64 add_cosmics_reconstruction(main, components=components)
67 main.add_module(
'RootOutput', outputFileName=
'cr_output.root')
70 main.add_module(
'ProgressBar')
def set_cdc_cr_parameters(period)
def getDataPeriod(exp=0, run=0)