CMS 3D CMS Logo

autoCond.py
Go to the documentation of this file.
1 autoCond = {
2 
3 
5  'run1_design' : '131X_mcRun1_design_v3',
6  # GlobalTag for MC production (pp collisions) with realistic alignment and calibrations for Run1
7  'run1_mc' : '131X_mcRun1_realistic_v3',
8  # GlobalTag for MC production (Heavy Ions collisions) with realistic alignment and calibrations for Run1
9  'run1_mc_hi' : '131X_mcRun1_HeavyIon_v3',
10  # GlobalTag for MC production with pessimistic alignment and calibrations for Run2
11  'run2_mc_50ns' : '131X_mcRun2_startup_v3',
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' : '131X_mcRun2_asymptotic_l1stage1_v3',
14  # GlobalTag for MC production with perfectly aligned and calibrated detector for Run2
15  'run2_design' : '131X_mcRun2_design_v3',
16  #GlobalTag for MC production with optimistic alignment and calibrations for 2016, prior to VFP change
17  'run2_mc_pre_vfp' : '131X_mcRun2_asymptotic_preVFP_v3',
18  #GlobalTag for MC production with optimistic alignment and calibrations for 2016, after VFP change
19  'run2_mc' : '131X_mcRun2_asymptotic_v3',
20  # GlobalTag for MC production (cosmics) with starup-like alignment and calibrations for Run2, Strip tracker in peak mode
21  'run2_mc_cosmics' : '131X_mcRun2cosmics_asymptotic_deco_v3',
22  # GlobalTag for MC production (Heavy Ions collisions) with optimistic alignment and calibrations for Run2
23  'run2_mc_hi' : '131X_mcRun2_HeavyIon_v3',
24  # GlobalTag for MC production (p-Pb collisions) with realistic alignment and calibrations for Run2
25  'run2_mc_pa' : '131X_mcRun2_pA_v3',
26  # GlobalTag for Run2 data reprocessing
27  'run2_data' : '141X_dataRun2_v2',
28  # GlobalTag for Run2 data 2018B relvals only: HEM-15-16 fail
29  'run2_data_HEfail' : '140X_dataRun2_HEfail_v1',
30  # GlobalTag for Run2 HI data
31  'run2_data_promptlike_hi' : '140X_dataRun2_PromptLike_HI_v1',
32  # GlobalTag with fixed snapshot time for Run2 HLT RelVals: customizations to run with fixed L1 Menu
33  'run2_hlt_relval' : '140X_dataRun2_HLT_relval_v1',
34  # GlobalTag for Run3 HLT: identical the online GT 140X_dataRun3_HLT_v3 with snapshot at 2024-06-13 14:22:43 (UTC)
35  'run3_hlt' : '141X_dataRun3_HLT_frozen_v1',
36  # GlobalTag for Run3 data relvals (express GT): same as 141X_dataRun3_Express_v2 but with snapshot at 2024-09-12 10:35:04 (UTC)
37  'run3_data_express' : '141X_dataRun3_Express_frozen_v3',
38  # GlobalTag for Run3 data relvals (prompt GT): same as 141X_dataRun3_Prompt_v3 but with snapshot at 2024-09-12 11:03:32 (UTC)
39  'run3_data_prompt' : '141X_dataRun3_Prompt_frozen_v3',
40  # GlobalTag for Run3 offline data reprocessing - snapshot at 2024-10-16 18:21:05 (UTC)
41  'run3_data' : '140X_dataRun3_v16',
42  # GlobalTag for Run3 offline data reprocessing with Prompt GT, currently for 2022FG - snapshot at 2024-02-12 12:00:00 (UTC)
43  'run3_data_PromptAnalysis' : '140X_dataRun3_PromptAnalysis_v2',
44  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2017 (and 0,0,~0-centred beamspot)
45  'phase1_2017_design' : '131X_mc2017_design_v3',
46  # GlobalTag for MC production with realistic conditions for Phase1 2017 detector
47  'phase1_2017_realistic' : '131X_mc2017_realistic_v3',
48  # GlobalTag for MC production (cosmics) with realistic alignment and calibrations for Phase1 2017 detector, Strip tracker in DECO mode
49  'phase1_2017_cosmics' : '131X_mc2017cosmics_realistic_deco_v3',
50  # GlobalTag for MC production (cosmics) with realistic alignment and calibrations for Phase1 2017 detector, Strip tracker in PEAK mode
51  'phase1_2017_cosmics_peak' : '131X_mc2017cosmics_realistic_peak_v3',
52  # GlobalTag for MC production with perfectly aligned and calibrated detector for full Phase1 2018 (and 0,0,0-centred beamspot)
53  'phase1_2018_design' : '131X_upgrade2018_design_v3',
54  # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector
55  'phase1_2018_realistic' : '131X_upgrade2018_realistic_v3',
56  # GlobalTag for MC production with realistic run-dependent (RD) conditions for full Phase1 2018 detector
57  'phase1_2018_realistic_rd' : '131X_upgrade2018_realistic_RD_v3',
58  # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector for Heavy Ion
59  'phase1_2018_realistic_hi' : '131X_upgrade2018_realistic_HI_v3',
60  # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector: HEM-15-16 fail
61  'phase1_2018_realistic_HEfail' : '131X_upgrade2018_realistic_HEfail_v4',
62  # GlobalTag for MC production (cosmics) with realistic conditions for full Phase1 2018 detector, Strip tracker in DECO mode
63  'phase1_2018_cosmics' : '131X_upgrade2018cosmics_realistic_deco_v3',
64  # GlobalTag for MC production (cosmics) with realistic conditions for full Phase1 2018 detector, Strip tracker in PEAK mode
65  'phase1_2018_cosmics_peak' : '131X_upgrade2018cosmics_realistic_peak_v4',
66  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2022
67  'phase1_2022_design' : '140X_mcRun3_2022_design_v1',
68  # GlobalTag for MC production with realistic conditions for Phase1 2022
69  'phase1_2022_realistic' : '140X_mcRun3_2022_realistic_v11',
70  # GlobalTag for MC production with realistic conditions for Phase1 2022 post-EE+ leak
71  'phase1_2022_realistic_postEE' : '140X_mcRun3_2022_realistic_postEE_v3',
72  # GlobalTag for MC production (cosmics) with realistic conditions for Phase1 2022, Strip tracker in DECO mode
73  'phase1_2022_cosmics' : '140X_mcRun3_2022cosmics_realistic_deco_v3',
74  # GlobalTag for MC production (cosmics) with perfectly aligned and calibrated detector for Phase1 2022, Strip tracker in DECO mode
75  'phase1_2022_cosmics_design' : '140X_mcRun3_2022cosmics_design_deco_v1',
76  # GlobalTag for MC production with realistic conditions for Phase1 2022 detector for Heavy Ion
77  'phase1_2022_realistic_hi' : '140X_mcRun3_2022_realistic_HI_v3',
78  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2023
79  'phase1_2023_design' : '140X_mcRun3_2023_design_v1',
80  # GlobalTag for MC production with realistic conditions for Phase1 2023
81  'phase1_2023_realistic' : '140X_mcRun3_2023_realistic_v7',
82  # GlobalTag for MC production with realistic conditions for Phase1 postBPix issue 2023
83  'phase1_2023_realistic_postBPix' : '140X_mcRun3_2023_realistic_postBPix_v3',
84  # GlobalTag for MC production (cosmics) with realistic conditions for Phase1 preBPix 2023, Strip tracker in DECO mode
85  'phase1_2023_cosmics' : '140X_mcRun3_2023cosmics_realistic_deco_v3',
86  # GlobalTag for MC production (cosmics) with realistic conditions for Phase1 postBPix 2023, Strip tracker in DECO mode
87  'phase1_2023_cosmics_postBPix' : '140X_mcRun3_2023cosmics_realistic_postBPix_deco_v3',
88  # GlobalTag for MC production (cosmics) with perfectly aligned and calibrated detector for Phase1 2023, Strip tracker in DECO mode
89  'phase1_2023_cosmics_design' : '140X_mcRun3_2023cosmics_design_deco_v1',
90  # GlobalTag for MC production with realistic conditions for Phase1 2023 detector for Heavy Ion
91  'phase1_2023_realistic_hi' : '141X_mcRun3_2023_realistic_HI_v3',
92  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2024
93  'phase1_2024_design' : '140X_mcRun3_2024_design_v11',
94  # GlobalTag for MC production with realistic conditions for Phase1 2024
95  'phase1_2024_realistic' : '140X_mcRun3_2024_realistic_v26',
96  # GlobalTag for MC production (cosmics) with realistic conditions for Phase1 2024, Strip tracker in DECO mode
97  'phase1_2024_cosmics' : '140X_mcRun3_2024cosmics_realistic_deco_v14',
98  # GlobalTag for MC production (cosmics) with perfectly aligned and calibrated detector for Phase1 2024, Strip tracker in DECO mode
99  'phase1_2024_cosmics_design' : '140X_mcRun3_2024cosmics_design_deco_v11',
100  # GlobalTag for MC production with realistic conditions for Phase1 2024 detector for Heavy Ion
101  'phase1_2024_realistic_hi' : '141X_mcRun3_2024_realistic_HI_v8',
102  # GlobalTag for MC production with realistic conditions for Phase1 2024 detector for ppRef5TeV
103  'phase1_2024_realistic_ppRef5TeV' : '141X_mcRun3_2024_realistic_ppRef5TeV_v5',
104  # GlobalTag for MC production with realistic conditions for Phase2
105  'phase2_realistic' : '141X_mcRun4_realistic_v3'
106 }
107 
108 aliases = {
109  'MAINGT' : 'FT_P_V42D|AN_V4',
110  'BASEGT' : 'BASE1_V1|BASE2_V1'
111 }
112 
113 # take fixed L1T menu as a symbolic GT
114 from Configuration.AlCa.autoCondModifiers import autoCondRelValForRun2
115 autoCond = autoCondRelValForRun2(autoCond)
116 
117 from Configuration.AlCa.autoCondModifiers import autoCondRelValForRun3
118 autoCond = autoCondRelValForRun3(autoCond)
119 
120 # GlobalTag for Run1 data reprocessing, history was carried over to run2 GTs
121 autoCond['run1_data'] = autoCond['run2_data']
122 
123 # dedicated GlobalTags for HLT
124 from Configuration.HLT.autoCondHLT import autoCondHLT
125 autoCond = autoCondHLT(autoCond)
126 
127 # dedicated GlobalTags for phase-2 (specializing conditions for each geometry)
128 from Configuration.AlCa.autoCondPhase2 import autoCondPhase2
129 autoCond = autoCondPhase2(autoCond)
130 
131 # special GTs for phase-2 with BeamSpot at 13 TeV (instead of 14 TeV)
132 from Configuration.AlCa.autoCondModifiers import autoCondBSHLLHC13TeV
133 autoCond = autoCondBSHLLHC13TeV(autoCond)
134 
135 # special cases modifier for autoCond GTs
136 from Configuration.AlCa.autoCondModifiers import autoCond0T
137 autoCond = autoCond0T(autoCond)
138 
139 # special GT for 2015 HLT HI run
140 from Configuration.AlCa.autoCondModifiers import autoCondHLTHI
141 autoCond = autoCondHLTHI(autoCond)
142 
143 # special GT for Run3 DDD geometry
144 from Configuration.AlCa.autoCondModifiers import autoCondDDD
145 autoCond = autoCondDDD(autoCond)
146 
147 # special GT for 2017 ppRef 5 TeV
148 from Configuration.AlCa.autoCondModifiers import autoCond2017ppRef5TeV
149 autoCond = autoCond2017ppRef5TeV(autoCond)
150 
151 
153 autoCond['mc'] = ( autoCond['run1_design'] )
154  # GlobalTag for MC production with realistic alignment and calibrations
155 autoCond['startup'] = ( autoCond['run1_mc'] )
156  # GlobalTag for MC production of Heavy Ions events with realistic alignment and calibrations
157 autoCond['starthi'] = ( autoCond['run1_mc_hi'] )
158  # GlobalTag for data reprocessing
159 autoCond['com10'] = ( autoCond['run1_data'] )
160  # GlobalTag for running HLT on recent data: it points to the online GT (remove the snapshot!)
161 autoCond['hltonline'] = ( autoCond['run3_hlt'] )
162  # GlobalTag for POSTLS1 upgrade studies:
163 autoCond['upgradePLS1'] = ( autoCond['run2_mc'] )
164 autoCond['upgradePLS150ns'] = ( autoCond['run2_mc_50ns'] )
165 autoCond['upgrade2017'] = ( autoCond['phase1_2017_design'] )
166 autoCond['upgrade2021'] = ( autoCond['phase1_2022_design'] )
167 autoCond['upgrade2022'] = ( autoCond['phase1_2022_design'] )
168 autoCond['upgradePLS3'] = ( autoCond['phase2_realistic'] )
def autoCondRelValForRun3(autoCond)
def autoCondRelValForRun2(autoCond)
def autoCondDDD(autoCond)
def autoCond0T(autoCond)
def autoCondBSHLLHC13TeV(autoCond)
def autoCondHLTHI(autoCond)
def autoCond2017ppRef5TeV(autoCond)