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