18 from caf.backends
import get_input_data
20 probcut = float(sys.argv[1])
if len(sys.argv) == 2
else 0.001
21 data_period =
'phase2'
24 b2.use_database_chain()
25 b2.use_central_database(
"332_COPY-OF_GT_gen_prod_004.11_Master-20171213-230000", b2.LogLevel.INFO)
26 b2.use_central_database(
"MagneticFieldPhase2QCSoff")
27 b2.use_local_database(
"/home/belle/muchida/basf2/release/cdc/examples/caf/localDB/database.txt")
30 input_data = get_input_data()
31 output_file_name =
'CollectorOutput.root'
35 main_path = b2.create_path()
36 main_path.add_module(
'RootInput',
38 entrySequences=[
'0:2000'],
39 inputFileNames=input_data)
41 main_path.add_module(
'HistoManager', histoFileName=output_file_name)
43 main_path.add_module(
'Gearbox')
44 main_path.add_module(
'Geometry', useDB=
True)
45 main_path.add_module(
'CDCUnpacker')
51 main_path.add_module(
'CDCCalibrationCollector',
53 EventT0Extraction=
True,
55 calExpectedDriftTime=
True
57 b2.print_path(main_path)
def set_cdc_cr_parameters(period)
def add_cdc_cr_reconstruction(path, eventTimingExtraction=True, topInCounter=False, pval2ndTrial=0.001)