CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
autoCond.py
Go to the documentation of this file.
1 autoCond = {
2  # GlobalTag for MC production with perfectly aligned and calibrated detector
3  'mc' : 'PRE_MC62_V8::All',
4  # GlobalTag for MC production with realistic alignment and calibrations
5  'startup' : 'PRE_ST62_V8::All',
6  # GlobalTag for MC production of Heavy Ions events with realistic alignment and calibrations
7  'starthi' : 'PRE_SH62_V15::All',
8  # GlobalTag for MC production of p-Pb events with realistic alignment and calibrations
9  'startpa' : 'PRE_SH62_V16::All',
10  # GlobalTag for data reprocessing: this should always be the GR_R tag
11  'com10' : 'PRE_62_V8::All',
12  # GlobalTag for running HLT on recent data: this should be the GR_P (prompt reco) global tag until a compatible GR_H tag is available,
13  # then it should point to the GR_H tag and override the connection string and pfnPrefix for use offline
14  'hltonline' : 'PRE_P62_V8::All',
15  # GlobalTag for POSTLS1 upgrade studies:
16  'upgradePLS1' : 'POSTLS162_V1::All',
17  'upgrade2017' : 'DES17_61_V5::All', # placeholder (GT not meant for 62X)
18  'upgrade2019' : 'DES19_61_V5::All', # placeholder (GT not meant for 62X)
19  'upgradePLS3' : 'POSTLS261_V2::All' # placeholder (GT not meant for 62X)
20 }
21 
22 aliases = {
23  'MAINGT' : 'FT_P_V42D::All|AN_V4::All',
24  'BASEGT' : 'BASE1_V1::All|BASE2_V1::All'
25 }
26 
27 # L1 configuration used during Run2012A
28 conditions_L1_Run2012A = (
29  # L1 GT menu 2012 v0, used during Run2012A
30  'L1GtTriggerMenu_L1Menu_Collisions2012_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
31  # L1 GCT configuration without jet seed threshold, used up to Run2012B
32  'L1GctJetFinderParams_GCTPhysics_2011_09_01_B_mc,L1GctJetFinderParamsRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
33  'L1HfRingEtScale_GCTPhysics_2011_09_01_B_mc,L1HfRingEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
34  'L1HtMissScale_GCTPhysics_2011_09_01_B_mc,L1HtMissScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
35  'L1JetEtScale_GCTPhysics_2011_09_01_B_mc,L1JetEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
36  # L1 CSCTF configuration used up to Run2012A
37  'L1MuCSCPtLut_key-10_mc,L1MuCSCPtLutRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
38  # L1 DTTF settings used up to Run2012B
39  'L1MuDTTFParameters_dttf11_TSC_09_17_col_mc,L1MuDTTFParametersRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
40 )
41 
42 # L1 configuration used during Run2012B
43 conditions_L1_Run2012B = (
44  # L1 GT menu 2012 v1, used during Run2012B
45  'L1GtTriggerMenu_L1Menu_Collisions2012_v1a_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
46  # L1 GCT configuration without jet seed threshold, used up to Run2012B
47  'L1GctJetFinderParams_GCTPhysics_2011_09_01_B_mc,L1GctJetFinderParamsRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
48  'L1HfRingEtScale_GCTPhysics_2011_09_01_B_mc,L1HfRingEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
49  'L1HtMissScale_GCTPhysics_2011_09_01_B_mc,L1HtMissScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
50  'L1JetEtScale_GCTPhysics_2011_09_01_B_mc,L1JetEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
51  # L1 CSCTF configuration used since Run2012B
52  'L1MuCSCPtLut_key-11_mc,L1MuCSCPtLutRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
53  # L1 DTTF settings used up to Run2012B
54  'L1MuDTTFParameters_dttf11_TSC_09_17_col_mc,L1MuDTTFParametersRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
55 )
56 
57 # L1 configuration used during Run2012C
58 conditions_L1_Run2012C = (
59  # L1 GT menu 2012 v2, used during Run2012C
60  'L1GtTriggerMenu_L1Menu_Collisions2012_v2_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
61  # L1 GCT configuration with 5 GeV jet seed threshold, used since Run2012C
62  'L1GctJetFinderParams_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1GctJetFinderParamsRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
63  'L1HfRingEtScale_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1HfRingEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
64  'L1HtMissScale_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1HtMissScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
65  'L1JetEtScale_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1JetEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
66  # L1 CSCTF configuration used since Run2012B
67  'L1MuCSCPtLut_key-11_mc,L1MuCSCPtLutRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
68  # L1 DTTF settings used since Run2012C
69  'L1MuDTTFParameters_dttf12_TSC_03_csc_col_mc,L1MuDTTFParametersRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
70 )
71 
72 
73 # L1 configuration used during Run2012D
74 conditions_L1_Run2012D = (
75  # L1 GT menu 2012 v3, used during Run2012D
76  'L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
77  # L1 GCT configuration with 5 GeV jet seed threshold, used since Run2012C
78  'L1GctJetFinderParams_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1GctJetFinderParamsRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
79  'L1HfRingEtScale_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1HfRingEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
80  'L1HtMissScale_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1HtMissScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
81  'L1JetEtScale_GCTPhysics_2012_04_27_JetSeedThresh5GeV_mc,L1JetEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
82  # L1 CSCTF configuration used since Run2012B
83  'L1MuCSCPtLut_key-11_mc,L1MuCSCPtLutRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
84  # L1 DTTF settings used since Run2012C
85  'L1MuDTTFParameters_dttf12_TSC_03_csc_col_mc,L1MuDTTFParametersRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
86 )
87 
88 # L1 configuration used during HIRun2011
89 conditions_L1_HIRun2011 = (
90  # L1 heavy ions menu 2011 v0
91  'L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2011_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
92 )
93 
94 # L1 configuration used during PARun2013
95 conditions_L1_PARun2013 = (
96  # L1 GT menu HI 2013 v0, used for the p-Pb run 2013
97  'L1GtTriggerMenu_L1Menu_CollisionsHeavyIons2013_v0_mc,L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
98  # L1 GCT configuration without jet seed threshold (same as 2012B)
99  'L1GctJetFinderParams_GCTPhysics_2011_09_01_B_mc,L1GctJetFinderParamsRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
100  'L1HfRingEtScale_GCTPhysics_2011_09_01_B_mc,L1HfRingEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
101  'L1HtMissScale_GCTPhysics_2011_09_01_B_mc,L1HtMissScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
102  'L1JetEtScale_GCTPhysics_2011_09_01_B_mc,L1JetEtScaleRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
103  # L1 CSCTF configuration used since Run2012B
104  'L1MuCSCPtLut_key-11_mc,L1MuCSCPtLutRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
105  # L1 DTTF settings used since Run2012C
106  'L1MuDTTFParameters_dttf12_TSC_03_csc_col_mc,L1MuDTTFParametersRcd,frontier://FrontierProd/CMS_COND_31X_L1T',
107 )
108 
109 # HLT Jet Energy Corrections
110 conditions_HLT_JECs = (
111  # HLT 2012 jet energy corrections
112  'JetCorrectorParametersCollection_Jec11_V12_AK5CaloHLT,JetCorrectionsRecord,frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS,AK5CaloHLT',
113  'JetCorrectorParametersCollection_AK5PF_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS,AK5PFHLT',
114  'JetCorrectorParametersCollection_AK5PFchs_2012_V8_hlt_mc,JetCorrectionsRecord,frontier://FrontierProd/CMS_COND_31X_PHYSICSTOOLS,AK5PFchsHLT',
115 )
116 
117 
118 # dedicated GlobalTags for MC production with the frozen HLT menus
119 autoCond['startup_5E33v4'] = ( autoCond['startup'], ) \
120  + conditions_L1_Run2012A
121 
122 autoCond['startup_7E33v2'] = ( autoCond['startup'], ) \
123  + conditions_L1_Run2012B
124 
125 autoCond['startup_7E33v3'] = ( autoCond['startup'], ) \
126  + conditions_L1_Run2012C
127 
128 autoCond['startup_7E33v4'] = ( autoCond['startup'], ) \
129  + conditions_L1_Run2012C
130 
131 autoCond['startup_8E33v2'] = ( autoCond['startup'], ) \
132  + conditions_L1_Run2012D
133 
134 autoCond['startup_GRun'] = ( autoCond['startup'], ) \
135  + conditions_L1_Run2012D
136 
137 autoCond['starthi_HIon'] = ( autoCond['starthi'], ) \
138  + conditions_L1_HIRun2011 \
139  + conditions_HLT_JECs
140 
141 autoCond['startup_PIon'] = ( autoCond['startpa'], )
142 
143 
144 # dedicated GlobalTags for running the frozen HLT menus on data
145 autoCond['hltonline_5E33v4'] = ( autoCond['hltonline'], ) \
146  + conditions_L1_Run2012A
147 
148 autoCond['hltonline_7E33v2'] = ( autoCond['hltonline'], ) \
149  + conditions_L1_Run2012B
150 
151 autoCond['hltonline_7E33v3'] = ( autoCond['hltonline'], ) \
152  + conditions_L1_Run2012C
153 
154 autoCond['hltonline_7E33v4'] = ( autoCond['hltonline'], ) \
155  + conditions_L1_Run2012C
156 
157 autoCond['hltonline_8E33v2'] = ( autoCond['hltonline'], ) \
158  + conditions_L1_Run2012D
159 
160 autoCond['hltonline_GRun'] = ( autoCond['hltonline'], ) \
161  + conditions_L1_Run2012D
162 
163 autoCond['hltonline_HIon'] = ( autoCond['hltonline'], ) \
164  + conditions_L1_HIRun2011
165 
166 autoCond['hltonline_PIon'] = ( autoCond['hltonline'], ) \
167  + conditions_L1_PARun2013
168 
169 # dedicated GlobalTags for running RECO and the frozen HLT menus on data
170 autoCond['com10_5E33v4'] = ( autoCond['com10'], ) \
171  + conditions_L1_Run2012A
172 
173 autoCond['com10_7E33v2'] = ( autoCond['com10'], ) \
174  + conditions_L1_Run2012B
175 
176 autoCond['com10_7E33v3'] = ( autoCond['com10'], ) \
177  + conditions_L1_Run2012C
178 
179 autoCond['com10_7E33v4'] = ( autoCond['com10'], ) \
180  + conditions_L1_Run2012C
181 
182 autoCond['com10_8E33v2'] = ( autoCond['com10'], ) \
183  + conditions_L1_Run2012D
184 
185 autoCond['com10_GRun'] = ( autoCond['com10'], ) \
186  + conditions_L1_Run2012D
187 
188 autoCond['com10_HIon'] = ( autoCond['com10'], ) \
189  + conditions_L1_HIRun2011
190 
191 autoCond['com10_PIon'] = ( autoCond['com10'], ) \
192  + conditions_L1_PARun2013