Belle II Software development
local_calibrations.py
1"""
2This script contains the settings for the local calibrations
3
4for each subsystem there should be a dictionary with
5{global_tag_name: [list, of, payloads, names]}
6
7During the local calibration step for each global tag all the payloads from the list of
8payloads will be copied and their iov restricted to match the one being
9calibrated using the command
10
11```bash
12b2conditionsdb iovs copy --replace -rf "(payload1|payload2)" --run-range X Y Z K --set-run-range source_gt destination_gt
13```
14"""
15
16
19settings_local_calibrations = {
20 "pxd": {"local_staging_pxd": []},
21 "svd": {
22 "local_staging_svd": [
23 "SVDNoiseCalibrations",
24 "SVDPedestalCalibrations",
25 "SVDPulseShapeCalibrations",
26 "SVDFADCMaskedStrips",
27 "SVDGlobalConfigParameters",
28 "SVDGlobalXMLFile.xml",
29 "SVDLocalConfigParameters",
30 ]
31 },
32 "cdc": {"local_staging_cdc": ["CDCBadWires"]},
33 "ecl": {
34 "local_staging_ecl": ["ECLCrystalElectronics", "ECLCrystalElectronicsTime"]
35 },
36 "top": {
37 "local_staging_top": [
38 "TOPCalTimebase",
39 "TOPCalChannelT0",
40 "TOPCalChannelPulseHeight",
41 "TOPCalChannelThresholdEff",
42 ]
43 },
44 "arich": {"local_staging_arich": []},
45 "klm": {"local_staging_klm": []},
46 "trigger": {
47 "local_staging_trigger": [
48 "TRGGDLDBPrescales",
49 "CDCTriggerDeadch",
50 ]
51 },
52 "tracking": {"local_staging_tracking": []},
53 "alignment": {"local_staging_alignment": ["VXDAlignment", "CDCAlignment"]},
54 "beam": {"local_staging_beam": []},
55}