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 
3  ### NEW KEYS ###
4  # GlobalTag for MC production with perfectly aligned and calibrated detector for Run1
5  'run1_design' : 'DESRUN1_73_V2::All',
6  # GlobalTag for MC production (pp collisions) with realistic alignment and calibrations for Run1
7  'run1_mc' : 'MCRUN1_73_V2::All',
8  # GlobalTag for MC production (Heavy Ions collisions) with realistic alignment and calibrations for Run1
9  'run1_mc_hi' : 'MCHI1_73_V2::All',
10  # GlobalTag for MC production (p-Pb collisions) with realistic alignment and calibrations for Run1
11  'run1_mc_pa' : 'MCPA1_73_V2::All',
12  # GlobalTag for MC production with perfectly aligned and calibrated detector for Run2
13  'run2_design' : 'DESRUN2_73_V3::All',
14  # GlobalTag for MC production with pessimistic alignment and calibrations for Run2
15  'run2_mc_50ns' : 'MCRUN2_73_V6::All',
16  #GlobalTag for MC production with optimistic alignment and calibrations for Run2
17  'run2_mc' : 'MCRUN2_73_V7::All',
18  # GlobalTag for Run1 data reprocessing
19  'run1_data' : 'GR_R_73_V0A::All',
20  # GlobalTag for Run2 data reprocessing
21  'run2_data' : 'GR_R_73_V1A::All',
22  # GlobalTag for Run1 HLT: it points to the online GT and overrides the connection string and pfnPrefix for use offline
23  'run1_hlt' : 'GR_H_V43A::All,frontier://FrontierProd/CMS_COND_31X_GLOBALTAG,frontier://FrontierProd/',
24  # GlobalTag for Run2 HLT: it points to the online GT and overrides the connection string and pfnPrefix for use offline
25  'run2_hlt' : 'GR_H_V44A::All,frontier://FrontierProd/CMS_COND_31X_GLOBALTAG,frontier://FrontierProd/',
26  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2017
27  'phase1_2017_design' : 'DES17_70_V2::All', # placeholder (GT not meant for standard RelVal)
28  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2019
29  'phase1_2019_design' : 'DES19_70_V2::All', # placeholder (GT not meant for standard RelVal)
30  # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase2
31  'phase2_design' : 'POSTLS262_V1::All', # placeholder (GT not meant for standard RelVal)
32 }
33 
34 aliases = {
35  'MAINGT' : 'FT_P_V42D::All|AN_V4::All',
36  'BASEGT' : 'BASE1_V1::All|BASE2_V1::All'
37 }
38 
39 # dedicated GlobalTags for MC production with the fixed HLT menus
40 autoCond['run1_mc_2014'] = ( autoCond['run1_mc'] )
41 autoCond['run1_mc_Fake'] = ( autoCond['run1_mc'] )
42 
43 autoCond['run1_mc_FULL'] = ( autoCond['run1_mc'] )
44 autoCond['run1_mc_GRun'] = ( autoCond['run1_mc'] )
45 autoCond['run1_mc_HIon'] = ( autoCond['run1_mc_hi'] )
46 autoCond['run1_mc_PIon'] = ( autoCond['run1_mc_pa'] )
47 
48 autoCond['run2_mc_FULL'] = ( autoCond['run2_mc'] )
49 autoCond['run2_mc_GRun'] = ( autoCond['run2_mc'] )
50 autoCond['run2_mc_HIon'] = ( autoCond['run2_mc'] )
51 autoCond['run2_mc_PIon'] = ( autoCond['run2_mc'] )
52 
53 # dedicated GlobalTags for running the fixed HLT menus on data
54 autoCond['run1_hlt_2014'] = ( autoCond['run1_hlt'] )
55 autoCond['run1_hlt_Fake'] = ( autoCond['run1_hlt'] )
56 
57 autoCond['run1_hlt_FULL'] = ( autoCond['run1_hlt'] )
58 autoCond['run1_hlt_GRun'] = ( autoCond['run1_hlt'] )
59 autoCond['run1_hlt_HIon'] = ( autoCond['run1_hlt'] )
60 autoCond['run1_hlt_PIon'] = ( autoCond['run1_hlt'] )
61 
62 autoCond['run2_hlt_FULL'] = ( autoCond['run2_hlt'] )
63 autoCond['run2_hlt_GRun'] = ( autoCond['run2_hlt'] )
64 autoCond['run2_hlt_HIon'] = ( autoCond['run2_hlt'] )
65 autoCond['run2_hlt_PIon'] = ( autoCond['run2_hlt'] )
66 
67 # dedicated GlobalTags for running RECO and the fixed HLT menus on data
68 autoCond['run1_data_2014'] = ( autoCond['run1_data'] )
69 autoCond['run1_data_Fake'] = ( autoCond['run1_data'] )
70 
71 autoCond['run1_data_FULL'] = ( autoCond['run1_data'] )
72 autoCond['run1_data_GRun'] = ( autoCond['run1_data'] )
73 autoCond['run1_data_HIon'] = ( autoCond['run1_data'] )
74 autoCond['run1_data_PIon'] = ( autoCond['run1_data'] )
75 
76 autoCond['run2_data_FULL'] = ( autoCond['run2_data'] )
77 autoCond['run2_data_GRun'] = ( autoCond['run2_data'] )
78 autoCond['run2_data_HIon'] = ( autoCond['run2_data'] )
79 autoCond['run2_data_PIon'] = ( autoCond['run2_data'] )
80 
81 
82 ### OLD KEYS ### kept for backward compatibility
83  # GlobalTag for MC production with perfectly aligned and calibrated detector
84 autoCond['mc'] = ( autoCond['run1_design'] )
85  # GlobalTag for MC production with realistic alignment and calibrations
86 autoCond['startup'] = ( autoCond['run1_mc'] )
87  # GlobalTag for MC production of Heavy Ions events with realistic alignment and calibrations
88 autoCond['starthi'] = ( autoCond['run1_mc_hi'] )
89  # GlobalTag for MC production of p-Pb events with realistic alignment and calibrations
90 autoCond['startpa'] = ( autoCond['run1_mc_pa'] )
91  # GlobalTag for data reprocessing: this should always be the GR_R tag
92 autoCond['com10'] = ( autoCond['run1_data'] )
93  # 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,
94  # then it should point to the GR_H tag and override the connection string and pfnPrefix for use offline
95 autoCond['hltonline'] = ( autoCond['run1_hlt'] )
96  # GlobalTag for POSTLS1 upgrade studies:
97 autoCond['upgradePLS1'] = ( autoCond['run2_mc'] )
98 autoCond['upgradePLS150ns'] = ( autoCond['run2_mc_50ns'] )
99 autoCond['upgrade2017'] = ( autoCond['phase1_2017_design'] )
100 autoCond['upgrade2019'] = ( autoCond['phase1_2019_design'] )
101 autoCond['upgradePLS3'] = ( autoCond['phase2_design'] )
102 
103 ### OLD KEYS ### for HLT
104 
105 autoCond['startup_2014'] = ( autoCond['run1_mc_2014'] )
106 autoCond['startup_GRun'] = ( autoCond['run1_mc_GRun'] )
107 autoCond['starthi_HIon'] = ( autoCond['run1_mc_HIon'] )
108 autoCond['startup_PIon'] = ( autoCond['run1_mc_PIon'] )
109 
110 autoCond['hltonline_2014'] = ( autoCond['run1_hlt_2014'] )
111 autoCond['hltonline_GRun'] = ( autoCond['run1_hlt_GRun'] )
112 autoCond['hltonline_HIon'] = ( autoCond['run1_hlt_HIon'] )
113 autoCond['hltonline_PIon'] = ( autoCond['run1_hlt_PIon'] )
114 
115 autoCond['com10_2014'] = ( autoCond['run1_data_2014'] )
116 autoCond['com10_GRun'] = ( autoCond['run1_data_GRun'] )
117 autoCond['com10_HIon'] = ( autoCond['run1_data_HIon'] )
118 autoCond['com10_PIon'] = ( autoCond['run1_data_PIon'] )