12 print(
"this is not going to work nicely")
14 r=
float(f
'{self.offset}.{self.index}{self.subindex:02d}')
26 _runOnly20events={
'-n':
'20'}
27 _run10kevents={
'-n':
'10000'}
29 _NANO_data =
merge([{
'-s':
'NANO,DQM:@nanoAODDQM',
32 '--eventcontent':
'NANOAOD,DQM',
33 '--datatier':
'NANOAOD,DQMIO',
35 '--customise':
'"Configuration/DataProcessing/Utils.addMonitoring"' 37 _HARVEST_nano =
merge([{
'-s':
'HARVESTING:@nanoAODDQM',
39 '--filein':
'file:step2_inDQM.root',
40 '--conditions':
'auto:run2_data' 42 _HARVEST_data =
merge([_HARVEST_nano, {
'--data':
''}])
45 run2_lumis={ 277168: [[1, 1708]],
46 277194: [[913, 913], [916, 916], [919, 919], [932, 932], [939, 939]],
59 _NANO_mc =
merge([{
'-s':
'NANO,DQM:@nanoAODDQM',
62 '--eventcontent':
'NANOAODSIM,DQM',
63 '--datatier':
'NANOAODSIM,DQMIO',
65 '--customise':
'"Configuration/DataProcessing/Utils.addMonitoring"' 67 _HARVEST_mc =
merge([_HARVEST_nano, {
'--mc':
''}])
68 steps[
'HRV_NANO_mc'] = _HARVEST_mc
69 steps[
'HRV_NANO_data'] = _HARVEST_data
72 steps[
'TTbarMINIAOD10.6_UL16v2'] = {
'INPUT':InputInfo(location=
'STD',
73 dataSet=
'/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2/MINIAODSIM')}
74 steps[
'NANO_mc10.6ul16v2']=
merge([{
'--era':
'Run2_2016,run2_nanoAOD_106Xv2',
75 '--conditions':
'auto:run2_mc'},
78 steps[
'TTbarMINIAOD10.6_UL17v2'] = {
'INPUT':InputInfo(location=
'STD',
79 dataSet=
'/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL17MiniAODv2-106X_mc2017_realistic_v9-v2/MINIAODSIM')}
80 steps[
'NANO_mc10.6ul17v2']=
merge([{
'--era':
'Run2_2017,run2_nanoAOD_106Xv2',
81 '--conditions':
'auto:phase1_2017_realistic'},
84 steps[
'TTbarMINIAOD10.6_UL18v2'] = {
'INPUT':InputInfo(location=
'STD',
85 dataSet=
'/TTJets_SingleLeptFromT_TuneCP5_13TeV-madgraphMLM-pythia8/RunIISummer20UL18MiniAODv2-106X_upgrade2018_realistic_v16_L1v1-v2/MINIAODSIM')}
86 steps[
'NANO_mc10.6ul18v2']=
merge([{
'--era':
'Run2_2018,run2_nanoAOD_106Xv2',
87 '--conditions':
'auto:phase1_2018_realistic'},
91 steps[
'MuonEG2016MINIAOD10.6v2'] = {
'INPUT':InputInfo(location=
'STD',ls=run2_lumis,
92 dataSet=
'/MuonEG/Run2016E-HIPM_UL2016_MiniAODv2-v2/MINIAOD')}
93 steps[
'NANO_data10.6ul16v2']=
merge([{
'--era':
'Run2_2016,run2_nanoAOD_106Xv2,tracker_apv_vfp30_2016',
94 '--conditions':
'auto:run2_data'},
97 steps[
'MuonEG2017MINIAOD10.6v2'] = {
'INPUT':InputInfo(location=
'STD',ls=run2_lumis,
98 dataSet=
'/MuonEG/Run2017F-UL2017_MiniAODv2-v1/MINIAOD')}
99 steps[
'NANO_data10.6ul17v2']=
merge([{
'--era':
'Run2_2017,run2_nanoAOD_106Xv2',
100 '--conditions':
'auto:run2_data'},
104 steps[
'MuonEG2018MINIAOD10.6v2'] = {
'INPUT':InputInfo(location=
'STD',ls=run2_lumis,
105 dataSet=
'/MuonEG/Run2018D-UL2018_MiniAODv2-v1/MINIAOD')}
106 steps[
'NANO_data10.6ul18v2']=
merge([{
'--era':
'Run2_2018,run2_nanoAOD_106Xv2',
107 '--conditions':
'auto:run2_data'},
110 steps[
'TTbarMINIAOD12.2'] = {
'INPUT':InputInfo(location=
'STD',
111 dataSet=
'/TTToSemiLeptonic_TuneCP5_13p6TeV-powheg-pythia8/Run3Winter22MiniAOD-FlatPU0to70_122X_mcRun3_2021_realistic_v9-v2/MINIAODSIM')}
112 steps[
'NANO_mc12.2']=
merge([{
'--era':
'Run3,run3_nanoAOD_122',
113 '--conditions':
'auto:phase1_2022_realistic'},
117 steps[
'TTbarMINIAOD12.4'] = {
'INPUT':InputInfo(location=
'STD',
118 dataSet=
'/TT_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22MiniAODv3-124X_mcRun3_2022_realistic_v12-v3/MINIAODSIM')}
119 steps[
'NANO_mc12.4']=
merge([{
'--era':
'Run3,run3_nanoAOD_124',
120 '--conditions':
'124X_mcRun3_2022_realistic_v12'},
123 steps[
'MuonEG2022MINIAOD12.4'] = {
'INPUT':InputInfo(location=
'STD',ls=run3_lumis,
124 dataSet=
'/MuonEG/Run2022D-PromptReco-v2/MINIAOD')}
125 steps[
'NANO_data12.4']=
merge([{
'--era':
'Run3,run3_nanoAOD_124',
126 '--conditions':
'auto:run3_data'},
128 steps[
'NANO_data12.4_prompt']=
merge([{
'--customise' :
'PhysicsTools/NanoAOD/nano_cff.nanoL1TrigObjCustomize',
'-n' :
'1000'},
129 steps[
'NANO_data12.4']])
132 steps[
'TTBarMINIAOD13.0'] = {
'INPUT':InputInfo(location=
'STD',
133 dataSet=
'/RelValTTbar_14TeV/CMSSW_13_0_0-PU_130X_mcRun3_2022_realistic_v2_HS-v4/MINIAODSIM')}
135 steps[
'NANO_mc13.0']=
merge([{
'--era':
'Run3',
136 '--conditions':
'130X_mcRun3_2022_realistic_v2'},
139 steps[
'MuonEG2023MINIAOD13.0'] = {
'INPUT':InputInfo(location=
'STD',ls=run3_lumis,
140 dataSet=
'/MuonEG/Run2023C-PromptReco-v4/MINIAOD')}
142 steps[
'NANO_data13.0']=
merge([{
'--era':
'Run3',
143 '--conditions':
'auto:run3_data'},
146 steps[
'NANO_data13.0_prompt']=
merge([{
'--customise' :
'PhysicsTools/NanoAOD/nano_cff.nanoL1TrigObjCustomize',
'-n' :
'1000'},
147 steps[
'NANO_data13.0']])
150 steps[
'TTBarMINIAOD13.2'] = {
'INPUT':InputInfo(location=
'STD',
152 dataSet=
'/RelValTTbar_14TeV/CMSSW_13_0_0-PU_130X_mcRun3_2022_realistic_v2_HS-v4/MINIAODSIM')}
154 steps[
'NANO_mc13.2']=
merge([{
'--era':
'Run3',
155 '--conditions':
'auto:phase1_2022_realistic'},
159 steps[
'RunScoutingPFRun32022D13.X']={
'INPUT':InputInfo(dataSet=
'/ScoutingPFRun3/Run2022D-v1/RAW',label=
'2022D',events=100000,location=
'STD', ls=Run2022D)}
161 steps[
'NANO_dataRun3ScoutingPF13.X']=
merge([{
'-s':
'NANO:PhysicsTools/NanoAOD/custom_run3scouting_cff',
162 '--conditions':
'auto:run3_data',
165 '--geometry' :
'DB:Extended',
166 '--datatier':
'NANOAOD',
167 '--eventcontent':
'NANOAOD'}])
169 steps[
'NANO_mcRun3ScoutingPF13.X']=
merge([{
'-s':
'NANO:PhysicsTools/NanoAOD/custom_run3scouting_cff.nanoSequenceMC',
170 '--conditions':
'auto:phase1_2022_realistic',
174 '--geometry' :
'DB:Extended',
175 '--datatier':
'NANOAOD',
176 '--eventcontent':
'NANOAOD',
177 '--filein':
'/store/mc/Run3Summer22MiniAODv3/BulkGravitonToHH_MX1120_MH121_TuneCP5_13p6TeV_madgraph-pythia8/MINIAODSIM/124X_mcRun3_2022_realistic_v12-v3/2810000/f9cdd76c-faac-4f24-bf0c-2496c8fffe54.root',
178 '--secondfilein':
'/store/mc/Run3Summer22DRPremix/BulkGravitonToHH_MX1120_MH121_TuneCP5_13p6TeV_madgraph-pythia8/AODSIM/124X_mcRun3_2022_realistic_v12-v3/2810000/ab09fc5d-859c-407f-b7ce-74b0bae9bb96.root'}])
183 workflows[_wfn()] = [
'NANOmc106Xul16v2', [
'TTbarMINIAOD10.6_UL16v2',
'NANO_mc10.6ul16v2',
'HRV_NANO_mc']]
184 workflows[_wfn()] = [
'NANOmc106Xul17v2', [
'TTbarMINIAOD10.6_UL17v2',
'NANO_mc10.6ul17v2',
'HRV_NANO_mc']]
185 workflows[_wfn()] = [
'NANOmc106Xul18v2', [
'TTbarMINIAOD10.6_UL18v2',
'NANO_mc10.6ul18v2',
'HRV_NANO_mc']]
187 workflows[_wfn()] = [
'NANOdata106Xul16v2', [
'MuonEG2016MINIAOD10.6v2',
'NANO_data10.6ul16v2',
'HRV_NANO_data']]
188 workflows[_wfn()] = [
'NANOdata106Xul17v2', [
'MuonEG2017MINIAOD10.6v2',
'NANO_data10.6ul17v2',
'HRV_NANO_data']]
189 workflows[_wfn()] = [
'NANOdata106Xul18v2', [
'MuonEG2018MINIAOD10.6v2',
'NANO_data10.6ul18v2',
'HRV_NANO_data']]
194 workflows[_wfn()] = [
'NANOmc122Xrun3', [
'TTbarMINIAOD12.2',
'NANO_mc12.2',
'HRV_NANO_mc']]
199 workflows[_wfn()] = [
'NANOmc124Xrun3', [
'TTbarMINIAOD12.4',
'NANO_mc12.4',
'HRV_NANO_mc']]
201 workflows[_wfn()] = [
'NANOdata124Xrun3', [
'MuonEG2022MINIAOD12.4',
'NANO_data12.4',
'HRV_NANO_data']]
202 workflows[_wfn()] = [
'NANOdata124Xrun3', [
'MuonEG2022MINIAOD12.4',
'NANO_data12.4_prompt',
'HRV_NANO_data']]
207 workflows[_wfn()] = [
'NANOmc130X', [
'TTBarMINIAOD13.0',
'NANO_mc13.0',
'HRV_NANO_mc']]
209 workflows[_wfn()] = [
'NANOdata130Xrun3', [
'MuonEG2023MINIAOD13.0',
'NANO_data13.0',
'HRV_NANO_data']]
210 workflows[_wfn()] = [
'NANOdata130Xrun3', [
'MuonEG2023MINIAOD13.0',
'NANO_data13.0_prompt',
'HRV_NANO_data']]
215 workflows[_wfn()] = [
'NANOmc132X', [
'TTBarMINIAOD13.2',
'NANO_mc13.2',
'HRV_NANO_mc']]
220 workflows[_wfn()] = [
'ScoutingNanodata13X',[
'RunScoutingPFRun32022D13.X',
'NANO_dataRun3ScoutingPF13.X']]
222 workflows[_wfn()] = [
'ScoutingNanomc13X',[
'NANO_mcRun3ScoutingPF13.X']]
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
as simple class to number workflows dynamically
def __init__(self, offset)
portabletest::Matrix Matrix