4 import validation_gt
as vgt
12 "caf_script":
"caf_klm_channel_status.py",
13 "database_chain": [globaltag
for globaltag
in reversed(vgt.get_validation_globaltags())],
14 "requested_iov": [0, 0, -1, -1]
16 with open(
"config.json",
"w")
as config_json:
17 json.dump(config, config_json)
22 [f
"{os.environ['BELLE2_VALIDATION_DATA_DIR']}/calibration/cdst_e0008_r3121_hadronSkim/", [8, 3121]],
23 [f
"{os.environ['BELLE2_VALIDATION_DATA_DIR']}/calibration/cdst_e0010_r5095_hadronSkim/", [10, 5095]]
26 [f
"{os.environ['BELLE2_VALIDATION_DATA_DIR']}/calibration/cdst_e0008_r3121_cosmicSkim/", [8, 3121]],
27 [f
"{os.environ['BELLE2_VALIDATION_DATA_DIR']}/calibration/cdst_e0010_r5095_cosmicSkim/", [10, 5095]]
31 with open(
"input_files.json",
"w")
as input_files_json:
32 json.dump(input_files, input_files_json)
35 subprocess.check_call([
'b2caf-prompt-run',
'Local',
'config.json',
'input_files.json',
'--heartbeat',
'10'])