17from caf.backends
import get_input_data
19probcut = float(sys.argv[1])
if len(sys.argv) == 2
else 0.001
23b2.use_database_chain()
24b2.use_central_database(
"332_COPY-OF_GT_gen_prod_004.11_Master-20171213-230000", b2.LogLevel.INFO)
25b2.use_central_database(
"MagneticFieldPhase2QCSoff")
26b2.use_local_database(
"/home/belle/muchida/basf2/release/cdc/examples/caf/localDB/database.txt")
29input_data = get_input_data()
30output_file_name =
'CollectorOutput.root'
34main_path = b2.create_path()
35main_path.add_module(
'RootInput',
37 entrySequences=[
'0:2000'],
38 inputFileNames=input_data)
40main_path.add_module(
'HistoManager', histoFileName=output_file_name)
42main_path.add_module(
'Gearbox')
43main_path.add_module(
'Geometry', useDB=
True)
44main_path.add_module(
'CDCUnpacker')
50main_path.add_module(
'CDCCalibrationCollector',
52 EventT0Extraction=
True,
54 calExpectedDriftTime=
True
56b2.print_path(main_path)
def set_cdc_cr_parameters(period)
def add_cdc_cr_reconstruction(path, eventTimingExtraction=True, topInCounter=False, pval2ndTrial=0.001)