CMS 3D CMS Logo

relval_nano.py
Go to the documentation of this file.
2 import math
3 
4 workflows = Matrix()
5 
6 _runOnly20events={'-n':'20'}
7 _run10kevents={'-n':'10000'}
8 
9 _NANO_data = merge([{'-s':'NANO,DQM:@nanoAODDQM',
10  '--process':'NANO',
11  '--data':'',
12  '--eventcontent':'NANOAOD,DQM',
13  '--datatier':'NANOAOD,DQMIO',
14  '-n':'10000',
15  '--customise':'"Configuration/DataProcessing/Utils.addMonitoring"'
16  }])
17 _HARVEST_nano = merge([{'-s':'HARVESTING:@nanoAODDQM',
18  '--filetype':'DQM',
19  '--filein':'file:step2_inDQM.root',
20  '--conditions':'auto:run2_data'
21  }])
22 _HARVEST_data = merge([_HARVEST_nano, {'--data':''}])
23 
24 
25 run2_lumis={ 277168: [[1, 1708]],
26  277194: [[913, 913], [916, 916], [919, 919], [932, 932], [939, 939]],
27  283877: [[1, 1496]],
28  299649: [[155, 332]],
29  303885: [[60, 2052]],
30  305040: [[200, 700]],
31  305050: [[200, 700]],
32  305234: [[1, 200]],
33  305377: [[1, 500]],
34  315489: [[1, 100]],
35  320822: [[1, 200]],
36  }
37 run3_lumis={}
38 
39 _NANO_mc = merge([{'-s':'NANO,DQM:@nanoAODDQM',
40  '--process':'NANO',
41  '--mc':'',
42  '--eventcontent':'NANOAODSIM,DQM',
43  '--datatier':'NANOAODSIM,DQMIO',
44  '-n':'10000',
45  '--customise':'"Configuration/DataProcessing/Utils.addMonitoring"'
46  }])
47 _HARVEST_mc = merge([_HARVEST_nano, {'--mc':''}])
48 steps['HRV_NANO_mc'] = _HARVEST_mc
49 steps['HRV_NANO_data'] = _HARVEST_data
50 
51 
52 steps['TTbarMINIAOD10.6_UL16v2'] = {'INPUT':InputInfo(location='STD',
53  dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2/MINIAODSIM')}
54 steps['NANO_mc10.6ul16v2']=merge([{'--era':'Run2_2016,run2_nanoAOD_106Xv2',
55  '--conditions':'auto:run2_mc'},
56  _NANO_mc])
57 
58 steps['TTbarMINIAOD10.6_UL17v2'] = {'INPUT':InputInfo(location='STD',
59  dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL17MiniAODv2-106X_mc2017_realistic_v9-v2/MINIAODSIM')}
60 steps['NANO_mc10.6ul17v2']=merge([{'--era':'Run2_2017,run2_nanoAOD_106Xv2',
61  '--conditions':'auto:phase1_2017_realistic'},
62  _NANO_mc])
63 
64 steps['TTbarMINIAOD10.6_UL18v2'] = {'INPUT':InputInfo(location='STD',
65  dataSet='/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL18MiniAODv2-106X_upgrade2018_realistic_v16_L1v1-v2/MINIAODSIM')}
66 steps['NANO_mc10.6ul18v2']=merge([{'--era':'Run2_2018,run2_nanoAOD_106Xv2',
67  '--conditions':'auto:phase1_2018_realistic'},
68  _NANO_mc])
69 
70 
71 steps['MuonEG2016MINIAOD10.6v2'] = {'INPUT':InputInfo(location='STD',ls=run2_lumis,
72  dataSet='/MuonEG/Run2016E-HIPM_UL2016_MiniAODv2-v2/MINIAOD')}
73 steps['NANO_data10.6ul16v2']=merge([{'--era':'Run2_2016,run2_nanoAOD_106Xv2,tracker_apv_vfp30_2016',
74  '--conditions':'auto:run2_data'},
75  _NANO_data])
76 
77 steps['MuonEG2017MINIAOD10.6v2'] = {'INPUT':InputInfo(location='STD',ls=run2_lumis,
78  dataSet='/MuonEG/Run2017F-UL2017_MiniAODv2-v1/MINIAOD')}
79 steps['NANO_data10.6ul17v2']=merge([{'--era':'Run2_2017,run2_nanoAOD_106Xv2',
80  '--conditions':'auto:run2_data'},
81  _NANO_data])
82 
83 
84 steps['MuonEG2018MINIAOD10.6v2'] = {'INPUT':InputInfo(location='STD',ls=run2_lumis,
85  dataSet='/MuonEG/Run2018D-UL2018_MiniAODv2-v1/MINIAOD')}
86 steps['NANO_data10.6ul18v2']=merge([{'--era':'Run2_2018,run2_nanoAOD_106Xv2',
87  '--conditions':'auto:run2_data'},
88  _NANO_data])
89 
90 steps['TTbarMINIAOD12.2'] = {'INPUT':InputInfo(location='STD',
91  dataSet='/TTToSemiLeptonic_TuneCP5_13p6TeV-powheg-pythia8/Run3Winter22MiniAOD-FlatPU0to70_122X_mcRun3_2021_realistic_v9-v2/MINIAODSIM')}
92 steps['NANO_mc12.2']=merge([{'--era':'Run3,run3_nanoAOD_122',
93  '--conditions':'auto:phase1_2022_realistic'},
94  _NANO_mc])
95 
96 
97 steps['TTbarMINIAOD12.4'] = {'INPUT':InputInfo(location='STD',
98 
99  dataSet='/RelValTTbar_14TeV/CMSSW_12_4_9_patch1-124X_mcRun3_2022_realistic_v10_BS2022-v1/MINIAODSIM')}
100 steps['NANO_mc12.4']=merge([{'--era':'Run3,run3_nanoAOD_124',
101  '--conditions':'auto:phase1_2022_realistic'},
102  _NANO_mc])
103 
104 steps['MuonEG2022MINIAOD12.4'] = {'INPUT':InputInfo(location='STD',ls=run3_lumis,
105  dataSet='/MuonEG/Run2022D-PromptReco-v2/MINIAOD')}
106 steps['NANO_data12.4']=merge([{'--era':'Run3,run3_nanoAOD_124',
107  '--conditions':'auto:run3_data'},
108  _NANO_data])
109 #prompt nano test
110 steps['NANO_data12.4_prompt']=merge([{'--customise' : 'PhysicsTools/NanoAOD/nano_cff.nanoL1TrigObjCustomize', '-n' : '1000'},
111  steps['NANO_data12.4']])
112 
113 
114 steps['TTBarMINIAOD12.6'] = {'INPUT':InputInfo(location='STD',ls=run3_lumis,
115 
116  dataSet='/RelValTTbar_14TeV/CMSSW_12_6_0_pre4-PU_125X_mcRun3_2022_realistic_v4-v1/MINIAODSIM')}
117 steps['NANO_mc12.6']=merge([{'--era':'Run3',
118  '--conditions':'auto:phase1_2022_realistic'},
119  _NANO_mc])
120 
121 
122 
124 workflows[2500.31 ] = ['NANOmc106Xul16v2', ['TTbarMINIAOD10.6_UL16v2','NANO_mc10.6ul16v2', 'HRV_NANO_mc']]
125 workflows[2500.311] = ['NANOmc106Xul17v2', ['TTbarMINIAOD10.6_UL17v2','NANO_mc10.6ul17v2', 'HRV_NANO_mc']]
126 workflows[2500.312] = ['NANOmc106Xul18v2', ['TTbarMINIAOD10.6_UL18v2','NANO_mc10.6ul18v2', 'HRV_NANO_mc']]
127 
128 workflows[2500.33 ] = ['NANOdata106Xul16v2', ['MuonEG2016MINIAOD10.6v2', 'NANO_data10.6ul16v2', 'HRV_NANO_data']]
129 workflows[2500.331] = ['NANOdata106Xul17v2', ['MuonEG2017MINIAOD10.6v2', 'NANO_data10.6ul17v2', 'HRV_NANO_data']]
130 workflows[2500.332] = ['NANOdata106Xul18v2', ['MuonEG2018MINIAOD10.6v2', 'NANO_data10.6ul18v2', 'HRV_NANO_data']]
131 
132 
134 workflows[2500.401] = ['NANOmc122Xrun3', ['TTbarMINIAOD12.2','NANO_mc12.2', 'HRV_NANO_mc']]
135 
136 
138 workflows[2500.501] = ['NANOmc124Xrun3', ['TTbarMINIAOD12.4','NANO_mc12.4', 'HRV_NANO_mc']]
139 workflows[2500.511] = ['NANOdata124Xrun3', ['MuonEG2022MINIAOD12.4','NANO_data12.4', 'HRV_NANO_data']]
140 workflows[2500.5111] = ['NANOdata124Xrun3', ['MuonEG2022MINIAOD12.4','NANO_data12.4_prompt', 'HRV_NANO_data']]
141 
142 
143 
146 workflows[2500.601] = ['NANOmc126X', ['TTBarMINIAOD12.6','NANO_mc12.6', 'HRV_NANO_mc']]
147 
148 
Definition: merge.py:1
portabletest::Matrix Matrix