CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
autoCond.py
Go to the documentation of this file.
1 autoCond = {
2 
3  ### NEW KEYS ###
4  # GlobalTag for MC production with perfectly aligned and calibrated detector for Run1
5  'run1_design' : '122X_mcRun1_design_v1',
6  # GlobalTag for MC production (pp collisions) with realistic alignment and calibrations for Run1
7  'run1_mc' : '122X_mcRun1_realistic_v1',
8  # GlobalTag for MC production (Heavy Ions collisions) with realistic alignment and calibrations for Run1
9  'run1_mc_hi' : '122X_mcRun1_HeavyIon_v1',
10  # GlobalTag for MC production with pessimistic alignment and calibrations for Run2
11  'run2_mc_50ns' : '122X_mcRun2_startup_v1',
12  # GlobalTag for MC production (2015 L1 Trigger Stage1) with startup-like alignment and calibrations for Run2, L1 trigger in Stage1 mode
13  'run2_mc_l1stage1' : '122X_mcRun2_asymptotic_l1stage1_v1',
14  # GlobalTag for MC production with perfectly aligned and calibrated detector for Run2
15  'run2_design' : '122X_mcRun2_design_v1',
16  #GlobalTag for MC production with optimistic alignment and calibrations for 2016, prior to VFP change
17  'run2_mc_pre_vfp' : '122X_mcRun2_asymptotic_preVFP_v1',
18  #GlobalTag for MC production with optimistic alignment and calibrations for 2016, after VFP change
19  'run2_mc' : '122X_mcRun2_asymptotic_v1',
20  # GlobalTag for MC production (cosmics) with starup-like alignment and calibrations for Run2, Strip tracker in peak mode
21  'run2_mc_cosmics' : '122X_mcRun2cosmics_asymptotic_deco_v1',
22  # GlobalTag for MC production (Heavy Ions collisions) with optimistic alignment and calibrations for Run2
23  'run2_mc_hi' : '122X_mcRun2_HeavyIon_v1',
24  # GlobalTag for MC production (p-Pb collisions) with realistic alignment and calibrations for Run2
25  'run2_mc_pa' : '122X_mcRun2_pA_v1',
26  # GlobalTag for Run2 data reprocessing
27  'run2_data' : '122X_dataRun2_v1',
28  # GlobalTag for Run2 data 2018B relvals only: HEM-15-16 fail
29  'run2_data_HEfail' : '122X_dataRun2_HEfail_v1',
30  # GlobalTag for Run2 data relvals: allows customization to run with fixed L1 menu
31  'run2_data_relval' : '122X_dataRun2_relval_v1',
32  # GlobalTag for Run2 HI data
33  'run2_data_promptlike_hi' : '122X_dataRun2_PromptLike_HI_v1',
34  # GlobalTag with fixed snapshot time for Run2 HLT RelVals: customizations to run with fixed L1 Menu
35  'run2_hlt_relval' : '122X_dataRun2_HLT_relval_v1',
36  # GlobalTag for Run3 HLT: identical to the online GT (122X_dataRun3_HLT_v4) but with snapshot at 2022-04-12 15:15:00
37  'run3_hlt' : '122X_dataRun3_HLT_frozen_v1',
38  # GlobalTag with fixed snapshot time for Run3 HLT RelVals: customizations to run with fixed L1 Menu
39  'run3_hlt_relval' : '122X_dataRun3_HLT_relval_v2',
40  # GlobalTag for Run3 data relvals (express GT) - identical to 122X_dataRun3_Express_v3 but with snapshot at 2022-04-12 15:15:00
41  'run3_data_express' : '122X_dataRun3_Express_frozen_v1',
42  # GlobalTag for Run3 data relvals (prompt GT) - identical to 122X_dataRun3_Prompt_v3 but with snapshot at 2022-04-12 15:15:00
43  'run3_data_prompt' : '122X_dataRun3_Prompt_frozen_v1',
44  # GlobalTag for Run3 offline data reprocessing
45  'run3_data' : '122X_dataRun3_v3',
46  # GlobalTag for Run3 data relvals: allows customization to run with fixed L1 menu
47  'run3_data_relval' : '122X_dataRun3_relval_v2',
48  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2017 (and 0,0,~0-centred beamspot)
49  'phase1_2017_design' : '122X_mc2017_design_v1',
50  # GlobalTag for MC production with realistic conditions for Phase1 2017 detector
51  'phase1_2017_realistic' : '122X_mc2017_realistic_v1',
52  # GlobalTag for MC production (cosmics) with realistic alignment and calibrations for Phase1 2017 detector, Strip tracker in DECO mode
53  'phase1_2017_cosmics' : '122X_mc2017cosmics_realistic_deco_v1',
54  # GlobalTag for MC production (cosmics) with realistic alignment and calibrations for Phase1 2017 detector, Strip tracker in PEAK mode
55  'phase1_2017_cosmics_peak' : '122X_mc2017cosmics_realistic_peak_v1',
56  # GlobalTag for MC production with perfectly aligned and calibrated detector for full Phase1 2018 (and 0,0,0-centred beamspot)
57  'phase1_2018_design' : '122X_upgrade2018_design_v1',
58  # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector
59  'phase1_2018_realistic' : '122X_upgrade2018_realistic_v1',
60  # GlobalTag for MC production with realistic run-dependent (RD) conditions for full Phase1 2018 detector
61  'phase1_2018_realistic_rd' : '122X_upgrade2018_realistic_RD_v1',
62  # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector for Heavy Ion
63  'phase1_2018_realistic_hi' : '122X_upgrade2018_realistic_HI_v1',
64  # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector: HEM-15-16 fail
65  'phase1_2018_realistic_HEfail' : '122X_upgrade2018_realistic_HEfail_v1',
66  # GlobalTag for MC production (cosmics) with realistic conditions for full Phase1 2018 detector, Strip tracker in DECO mode
67  'phase1_2018_cosmics' : '122X_upgrade2018cosmics_realistic_deco_v1',
68  # GlobalTag for MC production (cosmics) with realistic conditions for full Phase1 2018 detector, Strip tracker in PEAK mode
69  'phase1_2018_cosmics_peak' : '122X_upgrade2018cosmics_realistic_peak_v1',
70  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2021
71  'phase1_2021_design' : '122X_mcRun3_2021_design_v9',
72  # GlobalTag for MC production with realistic conditions for Phase1 2021
73  'phase1_2021_realistic' : '122X_mcRun3_2021_realistic_v9',
74  # GlobalTag for MC production (cosmics) with realistic conditions for Phase1 2021, Strip tracker in DECO mode
75  'phase1_2021_cosmics' : '122X_mcRun3_2021cosmics_realistic_deco_v9',
76  # GlobalTag for MC production with realistic conditions for Phase1 2021 detector for Heavy Ion
77  'phase1_2021_realistic_hi' : '122X_mcRun3_2021_realistic_HI_v10',
78  # GlobalTag for MC production with realistic conditions for Phase1 2023
79  'phase1_2023_realistic' : '122X_mcRun3_2023_realistic_v9',
80  # GlobalTag for MC production with realistic conditions for Phase1 2024
81  'phase1_2024_realistic' : '122X_mcRun3_2024_realistic_v9',
82  # GlobalTag for MC production with realistic conditions for Phase2
83  'phase2_realistic' : '122X_mcRun4_realistic_v9'
84 }
85 
86 aliases = {
87  'MAINGT' : 'FT_P_V42D|AN_V4',
88  'BASEGT' : 'BASE1_V1|BASE2_V1'
89 }
90 
91 ### Run 1 data GTs ###
92  # GlobalTag with fixed snapshot time for Run1 HLT RelVals: customizations to run with fixed L1 Menu
93 autoCond['run1_hlt_relval'] = autoCond['run2_hlt_relval']
94  # GlobalTag for Run1 data reprocessing
95 autoCond['run1_data'] = autoCond['run2_data']
96 
97 # dedicated GlobalTags for HLT
98 from Configuration.HLT.autoCondHLT import autoCondHLT
99 autoCond = autoCondHLT(autoCond)
100 
101 # dedicated GlobalTags for phase-2 (specializing conditions for each geometry)
102 from Configuration.AlCa.autoCondPhase2 import autoCondPhase2
103 autoCond = autoCondPhase2(autoCond)
104 
105 # special cases modifier for autoCond GTs
106 from Configuration.AlCa.autoCondModifiers import autoCond0T
107 autoCond = autoCond0T(autoCond)
108 
109 # special GT for 2015 HLT HI run
110 from Configuration.AlCa.autoCondModifiers import autoCondHLTHI
111 autoCond = autoCondHLTHI(autoCond)
112 
113 # special GT for Run3 DDD geometry
114 from Configuration.AlCa.autoCondModifiers import autoCondDDD
115 autoCond = autoCondDDD(autoCond)
116 
117 # special GT for 2017 ppRef 5 TeV
118 from Configuration.AlCa.autoCondModifiers import autoCond2017ppRef5TeV
119 autoCond = autoCond2017ppRef5TeV(autoCond)
120 
121 
122 ### OLD KEYS ### kept for backward compatibility
123  # GlobalTag for MC production with perfectly aligned and calibrated detector
124 autoCond['mc'] = ( autoCond['run1_design'] )
125  # GlobalTag for MC production with realistic alignment and calibrations
126 autoCond['startup'] = ( autoCond['run1_mc'] )
127  # GlobalTag for MC production of Heavy Ions events with realistic alignment and calibrations
128 autoCond['starthi'] = ( autoCond['run1_mc_hi'] )
129  # GlobalTag for data reprocessing
130 autoCond['com10'] = ( autoCond['run1_data'] )
131  # GlobalTag for running HLT on recent data: it points to the online GT (remove the snapshot!)
132 autoCond['hltonline'] = ( autoCond['run3_hlt'] )
133  # GlobalTag for POSTLS1 upgrade studies:
134 autoCond['upgradePLS1'] = ( autoCond['run2_mc'] )
135 autoCond['upgradePLS150ns'] = ( autoCond['run2_mc_50ns'] )
136 autoCond['upgrade2017'] = ( autoCond['phase1_2017_design'] )
137 autoCond['upgrade2021'] = ( autoCond['phase1_2021_design'] )
138 autoCond['upgradePLS3'] = ( autoCond['phase2_realistic'] )