00001
00002
00003 class Matrix(dict):
00004 def __setitem__(self,key,value):
00005 if key in self:
00006 print "ERROR in Matrix"
00007 print "overwritting",key,"not allowed"
00008 else:
00009 self.update({float(key):WF(float(key),value)})
00010
00011
00012
00013 class Steps(dict):
00014 def __setitem__(self,key,value):
00015 if key in self:
00016 print "ERROR in Step"
00017 print "overwritting",key,"not allowed"
00018 import sys
00019 sys.exit(-9)
00020 else:
00021 self.update({key:value})
00022
00023
00024
00025 def overwrite(self,keypair):
00026 value=self[keypair[1]]
00027 print "overwritting step",keypair[0],"with",keypair[1],str(value)
00028 self.update({keypair[0]:value})
00029
00030 class WF(list):
00031 def __init__(self,n,l):
00032 self.extend(l)
00033 self.num=n
00034
00035 self.steps=[]
00036
00037
00038 def interpret(self,stepsDict):
00039 for s in self:
00040 steps.append(stepsDict[s])
00041
00042 InputInfoNDefault=2000000
00043 class InputInfo(object):
00044 def __init__(self,dataSet,label='',run=[],files=1000,events=InputInfoNDefault,split=10,location='CAF',ib_blacklist=None,ib_block=None) :
00045 self.run = run
00046 self.files = files
00047 self.events = events
00048 self.location = location
00049 self.label = label
00050 self.dataSet = dataSet
00051 self.split = split
00052 self.ib_blacklist = ib_blacklist
00053 self.ib_block = ib_block
00054
00055 def dbs(self):
00056 query_by = "block" if self.ib_block else "dataset"
00057 query_source = "{0}#{1}".format(self.dataSet, self.ib_block) if self.ib_block else self.dataSet
00058 if len(self.run) is not 0:
00059 command = ";".join(["das_client.py --limit=0 --query 'file {0}={1} run={2}'".format(query_by, query_source, query_run) for query_run in self.run])
00060 command = "({0})".format(command)
00061 else:
00062 command = "das_client.py --limit=0 --query 'file {0}={1} site=T2_CH_CERN'".format(query_by, query_source)
00063
00064
00065 if self.ib_blacklist:
00066 command += " | grep -E -v "
00067 command += " ".join(["-e '{0}'".format(pattern) for pattern in self.ib_blacklist])
00068 command += " | sort -u"
00069 return command
00070
00071 def __str__(self):
00072 if self.ib_block:
00073 return "input from: {0} with run {1}#{2}".format(self.dataSet, self.ib_block, self.run)
00074 return "input from: {0} with run {1}".format(self.dataSet, self.run)
00075
00076
00077 def merge(dictlist,TELL=False):
00078 import copy
00079 last=len(dictlist)-1
00080 if TELL: print last,dictlist
00081 if last==0:
00082
00083 return copy.copy(dictlist[0])
00084 else:
00085 reducedlist=dictlist[0:max(0,last-1)]
00086 if TELL: print reducedlist
00087
00088 d=copy.copy(dictlist[last])
00089
00090 d.update(dictlist[last-1])
00091
00092 reducedlist.append(d)
00093 return merge(reducedlist,TELL)
00094
00095
00096
00097 step1Defaults = {'--relval' : None,
00098 '-s' : 'GEN,SIM',
00099 '-n' : 10,
00100 '--conditions' : 'auto:startup',
00101 '--datatier' : 'GEN-SIM',
00102 '--eventcontent': 'RAWSIM',
00103 }
00104
00105 steps = Steps()
00106 wmsplit = {}
00107
00108
00109 steps['ProdMinBias']=merge([{'cfg':'MinBias_8TeV_cfi','--relval':'9000,300'},step1Defaults])
00110 steps['ProdTTbar']=merge([{'cfg':'TTbar_Tauola_8TeV_cfi','--relval':'9000,100'},step1Defaults])
00111 steps['ProdQCD_Pt_3000_3500']=merge([{'cfg':'QCD_Pt_3000_3500_8TeV_cfi','--relval':'9000,50'},step1Defaults])
00112
00113
00114
00115
00116 Run2010ASk=[138937,138934,138924,138923,139790,139789,139788,139787,144086,144085,144084,144083,144011]
00117 Run2010BSk=[146644,147115,147929,148822,149011,149181,149182,149291,149294,149442]
00118 steps['MinimumBias2010A']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2010A-valskim-v6/RAW-RECO',label='run2010A',location='STD',run=Run2010ASk)}
00119 steps['MinimumBias2010B']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2010B-valskim-v2/RAW-RECO',label='run2010B',run=Run2010BSk)}
00120 steps['WZMuSkim2010A']={'INPUT':InputInfo(dataSet='/Mu/Run2010A-WZMu-Nov4Skim_v1/RAW-RECO',label='wzMu2010A',run=Run2010ASk)}
00121 steps['WZMuSkim2010B']={'INPUT':InputInfo(dataSet='/Mu/Run2010B-WZMu-Nov4Skim_v1/RAW-RECO',label='wzMu2010B',run=Run2010BSk)}
00122 steps['WZEGSkim2010A']={'INPUT':InputInfo(dataSet='/EG/Run2010A-WZEG-Nov4Skim_v1/RAW-RECO',label='wzEG2010A',run=Run2010ASk)}
00123 steps['WZEGSkim2010B']={'INPUT':InputInfo(dataSet='/Electron/Run2010B-WZEG-Nov4Skim_v1/RAW-RECO',label='wzEG2010B',run=Run2010BSk)}
00124
00125 steps['RunCosmicsA']={'INPUT':InputInfo(dataSet='/Cosmics/Run2010A-v1/RAW',label='cos2010A',run=[142089],events=100000)}
00126 Run2010B=[149011]
00127 steps['RunMinBias2010B']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2010B-RelValRawSkim-v1/RAW',label='mb2010B',run=Run2010B,events=100000)}
00128 steps['RunMu2010B']={'INPUT':InputInfo(dataSet='/Mu/Run2010B-RelValRawSkim-v1/RAW',label='mu2010B',run=Run2010B,events=100000)}
00129 steps['RunElectron2010B']={'INPUT':InputInfo(dataSet='/Electron/Run2010B-RelValRawSkim-v1/RAW',label='electron2010B',run=Run2010B,events=100000)}
00130 steps['RunPhoton2010B']={'INPUT':InputInfo(dataSet='/Photon/Run2010B-RelValRawSkim-v1/RAW',label='photon2010B',run=Run2010B,events=100000)}
00131 steps['RunJet2010B']={'INPUT':InputInfo(dataSet='/Jet/Run2010B-RelValRawSkim-v1/RAW',label='jet2010B',run=Run2010B,events=100000)}
00132
00133
00134 Run2011ASk=[165121,172802]
00135 steps['ValSkim2011A']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2011A-ValSkim-08Nov2011-v1/RAW-RECO',ib_block='239c497e-0fae-11e1-a8b1-00221959e72f',label='run2011A',location='STD',run=Run2011ASk)}
00136 steps['WMuSkim2011A']={'INPUT':InputInfo(dataSet='/SingleMu/Run2011A-WMu-08Nov2011-v1/RAW-RECO',ib_block='388c2990-0de6-11e1-bb7e-00221959e72f',label='wMu2011A',location='STD',run=Run2011ASk)}
00137 steps['WElSkim2011A']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2011A-WElectron-08Nov2011-v1/RAW-RECO',ib_block='9c48c4ea-0db2-11e1-b62c-00221959e69e',label='wEl2011A',location='STD',run=Run2011ASk)}
00138 steps['ZMuSkim2011A']={'INPUT':InputInfo(dataSet='/DoubleMu/Run2011A-ZMu-08Nov2011-v1/RAW-RECO',label='zMu2011A',location='STD',run=Run2011ASk)}
00139 steps['ZElSkim2011A']={'INPUT':InputInfo(dataSet='/DoubleElectron/Run2011A-ZElectron-08Nov2011-v1/RAW-RECO',label='zEl2011A',location='STD',run=Run2011ASk)}
00140 steps['HighMet2011A']={'INPUT':InputInfo(dataSet='/Jet/Run2011A-HighMET-08Nov2011-v1/RAW-RECO',ib_block='3c764584-0b59-11e1-b62c-00221959e69e',label='hMet2011A',location='STD',run=Run2011ASk)}
00141
00142 steps['RunCosmics2011A']={'INPUT':InputInfo(dataSet='/Cosmics/Run2011A-v1/RAW',label='cos2011A',run=[160960],events=100000,location='STD')}
00143 Run2011A=[165121]
00144 steps['RunMinBias2011A']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2011A-v1/RAW',label='mb2011A',run=Run2011A,events=100000,location='STD')}
00145 steps['RunMu2011A']={'INPUT':InputInfo(dataSet='/SingleMu/Run2011A-v1/RAW',label='mu2011A',run=Run2011A,events=100000)}
00146 steps['RunElectron2011A']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2011A-v1/RAW',label='electron2011A',run=Run2011A,events=100000)}
00147 steps['RunPhoton2011A']={'INPUT':InputInfo(dataSet='/Photon/Run2011A-v1/RAW',label='photon2011A',run=Run2011A,events=100000)}
00148 steps['RunJet2011A']={'INPUT':InputInfo(dataSet='/Jet/Run2011A-v1/RAW',label='jet2011A',run=Run2011A,events=100000)}
00149
00150 Run2011B=[177719]
00151 Run2011BSk=[177719,177790,177096,175874]
00152 steps['RunMinBias2011B']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2011B-v1/RAW',label='mb2011B',run=Run2011B,events=100000,location='STD')}
00153 steps['RunMu2011B']={'INPUT':InputInfo(dataSet='/SingleMu/Run2011B-v1/RAW',label='mu2011B',run=Run2011B,events=100000)}
00154 steps['RunElectron2011B']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2011B-v1/RAW',label='electron2011B',run=Run2011B,events=100000)}
00155 steps['RunPhoton2011B']={'INPUT':InputInfo(dataSet='/Photon/Run2011B-v1/RAW',label='photon2011B',run=Run2011B,events=100000)}
00156 steps['RunJet2011B']={'INPUT':InputInfo(dataSet='/Jet/Run2011B-v1/RAW',label='jet2011B',run=Run2011B,events=100000)}
00157
00158 steps['ValSkim2011B']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2011B-ValSkim-19Nov2011-v1/RAW-RECO',label='run2011B',location='STD',run=Run2011BSk)}
00159 steps['WMuSkim2011B']={'INPUT':InputInfo(dataSet='/SingleMu/Run2011B-WMu-19Nov2011-v1/RAW-RECO',ib_block='19110c74-1b66-11e1-a98b-003048f02c8a',label='wMu2011B',location='STD',run=Run2011BSk)}
00160 steps['WElSkim2011B']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2011B-WElectron-19Nov2011-v1/RAW-RECO',ib_block='d75771a4-1b3f-11e1-aef4-003048f02c8a',label='wEl2011B',location='STD',run=Run2011BSk)}
00161 steps['ZMuSkim2011B']={'INPUT':InputInfo(dataSet='/DoubleMu/Run2011B-ZMu-19Nov2011-v1/RAW-RECO',label='zMu2011B',location='STD',run=Run2011BSk)}
00162 steps['ZElSkim2011B']={'INPUT':InputInfo(dataSet='/DoubleElectron/Run2011B-ZElectron-19Nov2011-v1/RAW-RECO',label='zEl2011B',run=Run2011BSk)}
00163 steps['HighMet2011B']={'INPUT':InputInfo(dataSet='/Jet/Run2011B-HighMET-19Nov2011-v1/RAW-RECO',label='hMet2011B',run=Run2011BSk)}
00164
00165 steps['RunHI2010']={'INPUT':InputInfo(dataSet='/HIAllPhysics/HIRun2010-v1/RAW',label='hi2010',run=[152698],events=10000,location='STD')}
00166 steps['RunHI2011']={'INPUT':InputInfo(dataSet='/HIAllPhysics/HIRun2011A-v1/RAW',label='hi2011',run=[174773],events=10000,location='STD')}
00167
00168
00169 Run2012A=[191226]
00170 Run2012ASk=Run2012A+[]
00171 steps['RunMinBias2012A']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2012A-v1/RAW',label='mb2012A',run=Run2012A, events=100000,location='STD')}
00172 steps['RunTau2012A']={'INPUT':InputInfo(dataSet='/Tau/Run2012A-v1/RAW',label='tau2012A', run=Run2012A, events=100000,location='STD')}
00173 steps['RunMET2012A']={'INPUT':InputInfo(dataSet='/MET/Run2012A-v1/RAW',label='met2012A', run=Run2012A, events=100000,location='STD')}
00174 steps['RunMu2012A']={'INPUT':InputInfo(dataSet='/SingleMu/Run2012A-v1/RAW',label='mu2012A', run=Run2012A, events=100000,location='STD')}
00175 steps['RunElectron2012A']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2012A-v1/RAW',label='electron2012A', run=Run2012A, events=100000,location='STD')}
00176 steps['RunJet2012A']={'INPUT':InputInfo(dataSet='/Jet/Run2012A-v1/RAW',label='jet2012A', run=Run2012A, events=100000,location='STD')}
00177
00178 steps['WElSkim2012A']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2012A-WElectron-13Jul2012-v1/USER',label='wEl2012A',location='STD',run=Run2012ASk)}
00179 steps['ZMuSkim2012A']={'INPUT':InputInfo(dataSet='/SingleMu/Run2012A-ZMu-13Jul2012-v1/RAW-RECO',label='zMu2012A',location='STD',run=Run2012ASk)}
00180 steps['ZElSkim2012A']={'INPUT':InputInfo(dataSet='/DoubleElectron/Run2012A-ZElectron-13Jul2012-v1/RAW-RECO',label='zEl2012A',run=Run2012ASk)}
00181 steps['HighMet2012A']={'INPUT':InputInfo(dataSet='/HT/Run2012A-HighMET-13Jul2012-v1/RAW-RECO',label='hMet2012A',run=Run2012ASk)}
00182
00183
00184 Run2012B=[194533]
00185 Run2012Bsk=Run2012B+[194912,195016]
00186 steps['RunMinBias2012B']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2012B-v1/RAW',label='mb2012B',run=Run2012B, events=100000,location='STD')}
00187 steps['RunMu2012B']={'INPUT':InputInfo(dataSet='/SingleMu/Run2012B-v1/RAW',label='mu2012B',location='STD',run=Run2012B)}
00188 steps['RunPhoton2012B']={'INPUT':InputInfo(dataSet='/SinglePhoton/Run2012B-v1/RAW',label='photon2012B',location='STD',run=Run2012B)}
00189 steps['RunEl2012B']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2012B-v1/RAW',label='electron2012B',location='STD',run=Run2012B)}
00190 steps['RunJet2012B']={'INPUT':InputInfo(dataSet='/JetHT/Run2012B-v1/RAW',label='jet2012B',location='STD',run=Run2012B)}
00191 steps['ZMuSkim2012B']={'INPUT':InputInfo(dataSet='/SingleMu/Run2012B-ZMu-13Jul2012-v1/RAW-RECO',label='zMu2012B',location='CAF',run=Run2012Bsk)}
00192 steps['WElSkim2012B']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2012B-WElectron-13Jul2012-v1/USER',label='wEl2012B',location='STD',run=Run2012Bsk)}
00193 steps['ZElSkim2012B']={'INPUT':InputInfo(dataSet='/DoubleElectron/Run2012B-ZElectron-13Jul2012-v1/RAW-RECO',label='zEl2012B',location='STD',run=Run2012Bsk)}
00194
00195 Run2012C=[199812]
00196 Run2012Csk=Run2012C+[]
00197 steps['RunMinBias2012C']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2012C-v1/RAW',label='mb2012C',run=Run2012C, events=100000,location='STD')}
00198 steps['RunMu2012C']={'INPUT':InputInfo(dataSet='/SingleMu/Run2012C-v1/RAW',label='mu2012C',location='STD',run=Run2012C)}
00199 steps['RunPhoton2012C']={'INPUT':InputInfo(dataSet='/SinglePhoton/Run2012C-v1/RAW',label='photon2012C',location='STD',run=Run2012C)}
00200 steps['RunEl2012C']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2012C-v1/RAW',label='electron2012C',location='STD',run=Run2012C)}
00201 steps['RunJet2012C']={'INPUT':InputInfo(dataSet='/JetHT/Run2012C-v1/RAW',label='jet2012C',location='STD',run=Run2012C)}
00202 steps['ZMuSkim2012C']={'INPUT':InputInfo(dataSet='/SingleMu/Run2012C-ZMu-PromptSkim-v3/RAW-RECO',label='zMu2012C',location='CAF',run=Run2012Csk)}
00203 steps['WElSkim2012C']={'INPUT':InputInfo(dataSet='/SingleElectron/Run2012C-WElectron-PromptSkim-v3/USER',label='wEl2012C',location='STD',run=Run2012Csk)}
00204 steps['ZElSkim2012C']={'INPUT':InputInfo(dataSet='/DoubleElectron/Run2012C-ZElectron-PromptSkim-v3/RAW-RECO',label='zEl2012C',location='STD',run=Run2012Csk)}
00205
00206
00207
00208 stCond={'--conditions':'auto:startup'}
00209 def Kby(N,s):
00210 return {'--relval':'%s000,%s'%(N,s)}
00211
00212
00213 def gen(fragment,howMuch):
00214 global step1Defaults
00215 return merge([{'cfg':fragment},howMuch,step1Defaults])
00216
00217 steps['MinBias']=gen('MinBias_8TeV_cfi',Kby(9,300))
00218 steps['QCD_Pt_3000_3500']=gen('QCD_Pt_3000_3500_8TeV_cfi',Kby(9,25))
00219 steps['QCD_Pt_600_800']=gen('QCD_Pt_600_800_8TeV_cfi',Kby(9,50))
00220 steps['QCD_Pt_80_120']=gen('QCD_Pt_80_120_8TeV_cfi',Kby(9,100))
00221 steps['SingleElectronPt10']=gen('SingleElectronPt10_cfi',Kby(9,3000))
00222 steps['SingleElectronPt35']=gen('SingleElectronPt35_cfi',Kby(9,500))
00223 steps['SingleElectronPt1000']=gen('SingleElectronPt1000_cfi',Kby(9,50))
00224 steps['SingleGammaPt10']=gen('SingleGammaPt10_cfi',Kby(9,3000))
00225 steps['SingleGammaPt35']=gen('SingleGammaPt35_cfi',Kby(9,500))
00226 steps['SingleMuPt1']=gen('SingleMuPt1_cfi',Kby(25,1000))
00227 steps['SingleMuPt10']=gen('SingleMuPt10_cfi',Kby(25,500))
00228 steps['SingleMuPt100']=gen('SingleMuPt100_cfi',Kby(9,500))
00229 steps['SingleMuPt1000']=gen('SingleMuPt1000_cfi',Kby(9,500))
00230 steps['TTbar']=gen('TTbar_Tauola_8TeV_cfi',Kby(9,100))
00231 steps['TTbarLepton']=gen('TTbarLepton_Tauola_8TeV_cfi',Kby(9,100))
00232 steps['ZEE']=gen('ZEE_8TeV_cfi',Kby(9,100))
00233 steps['Wjet_Pt_80_120']=gen('Wjet_Pt_80_120_8TeV_cfi',Kby(9,100))
00234 steps['Wjet_Pt_3000_3500']=gen('Wjet_Pt_3000_3500_8TeV_cfi',Kby(9,50))
00235 steps['LM1_sfts']=gen('LM1_sfts_8TeV_cfi',Kby(9,100))
00236 steps['QCD_FlatPt_15_3000']=gen('QCDForPF_8TeV_cfi',Kby(9,100))
00237 steps['QCD_FlatPt_15_3000HS']=gen('QCDForPF_8TeV_cfi',Kby(50,100))
00238
00239 def identitySim(wf):
00240 return merge([{'--restoreRND':'SIM','--process':'SIM2'},wf])
00241
00242 steps['SingleMuPt10_ID']=identitySim(steps['SingleMuPt10'])
00243 steps['TTbar_ID']=identitySim(steps['TTbar'])
00244
00245 baseDataSetRelease=[
00246 'CMSSW_6_1_0_pre6-START61_V5-v1',
00247 'CMSSW_6_1_0_pre6-STARTHI61_V6-v1',
00248 'CMSSW_6_1_0_pre6-START61_V5-v2',
00249 'CMSSW_6_1_0_pre6-START61_V5_FastSim-v1'
00250 ]
00251
00252 steps['MinBiasINPUT']={'INPUT':InputInfo(dataSet='/RelValMinBias/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00253 steps['QCD_Pt_3000_3500INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_Pt_3000_3500/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00254 steps['QCD_Pt_600_800INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_Pt_600_800/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00255 steps['QCD_Pt_80_120INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_Pt_80_120/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00256 steps['SingleElectronPt10INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleElectronPt10/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00257 steps['SingleElectronPt1000INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleElectronPt1000/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00258 steps['SingleElectronPt35INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleElectronPt35/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00259 steps['SingleGammaPt10INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleGammaPt10/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00260 steps['SingleGammaPt35INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleGammaPt35/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00261 steps['SingleMuPt1INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleMuPt1/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00262 steps['SingleMuPt10INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleMuPt10/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00263 steps['SingleMuPt10IdINPUT']={'INPUT':InputInfo(dataSet='/RelValSingleMuPt10/%s/GEN-SIM-DIGI-RAW-HLTDEBUG'%(baseDataSetRelease[0],),location='STD')}
00264 steps['SingleMuPt10FSIdINPUT']={'INPUT':InputInfo(dataSet='/RelValSingleMuPt10/%s/GEN-SIM-DIGI-RECO'%(baseDataSetRelease[3],),location='STD')}
00265 steps['SingleMuPt100INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleMuPt100/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00266 steps['SingleMuPt1000INPUT']={'INPUT':InputInfo(dataSet='/RelValSingleMuPt1000/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00267 steps['TTbarINPUT']={'INPUT':InputInfo(dataSet='/RelValTTbar/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00268 steps['TTbarIdINPUT']={'INPUT':InputInfo(dataSet='/RelValTTbar/%s/GEN-SIM-DIGI-RAW-HLTDEBUG'%(baseDataSetRelease[0],),location='STD')}
00269 steps['TTbarFSIdINPUT']={'INPUT':InputInfo(dataSet='/RelValTTbar/%s/GEN-SIM-DIGI-RECO'%(baseDataSetRelease[3],),location='STD')}
00270 steps['TTbarLeptonINPUT']={'INPUT':InputInfo(dataSet='/RelValTTbarLepton/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00271 steps['OldTTbarINPUT']={'INPUT':InputInfo(dataSet='/RelValProdTTbar/CMSSW_5_0_0_pre6-START50_V5-v1/GEN-SIM-RECO',location='STD')}
00272 steps['OldGenSimINPUT']={'INPUT':InputInfo(dataSet='/RelValTTbar/CMSSW_4_4_2-START44_V7-v1/GEN-SIM-DIGI-RAW-HLTDEBUG',location='STD')}
00273 steps['Wjet_Pt_80_120INPUT']={'INPUT':InputInfo(dataSet='/RelValWjet_Pt_80_120/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00274 steps['Wjet_Pt_3000_3500INPUT']={'INPUT':InputInfo(dataSet='/RelValWjet_Pt_3000_3500/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00275 steps['LM1_sftsINPUT']={'INPUT':InputInfo(dataSet='/RelValLM1_sfts/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00276 steps['QCD_FlatPt_15_3000INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_FlatPt_15_3000/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00277
00278 steps['QCD_FlatPt_15_3000HSINPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_FlatPt_15_3000/CMSSW_5_2_2-PU_START52_V4_special_120326-v1/GEN-SIM',location='STD')}
00279 steps['QCD_FlatPt_15_3000HS__DIGIPU1INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_FlatPt_15_3000/CMSSW_5_2_2-PU_START52_V4_special_120326-v1/GEN-SIM-DIGI-RAW-HLTDEBUG',location='STD')}
00280 steps['TTbar__DIGIPU1INPUT']={'INPUT':InputInfo(dataSet='/RelValTTbar/CMSSW_5_2_2-PU_START52_V4_special_120326-v1/GEN-SIM-DIGI-RAW-HLTDEBUG',location='STD')}
00281
00282
00283 K700by280={'--relval': '70000,280'}
00284 K250by100={'--relval': '25000,100'}
00285 K3250000by1300000={'--relval': '325000000,1300000'}
00286 K250by250={'--relval': '25000,250'}
00287 K110000by45000={'--relval': '11000000,45000'}
00288 K562by225={'--relval': '56250,225'}
00289
00290 ecalHcal={
00291 '-s':'GEN,SIM,DIGI,DIGI2RAW,RAW2DIGI,L1Reco,RECO',
00292 '--datatier':'GEN-SIM-DIGI-RAW-RECO',
00293
00294 '--eventcontent':'FEVTDEBUG',
00295 '--customise':'Validation/Configuration/ECALHCAL.customise',
00296 '--beamspot':'NoSmear'}
00297
00298 K25by250={'--relval':'25000,250'}
00299 steps['SingleElectronE120EHCAL']=merge([{'cfg':'SingleElectronE120EHCAL_cfi'},ecalHcal,K25by250,step1Defaults])
00300 steps['SinglePiE50HCAL']=merge([{'cfg':'SinglePiE50HCAL_cfi'},ecalHcal,K25by250,step1Defaults])
00301
00302 steps['MinBiasHS']=gen('MinBias_8TeV_cfi',Kby(25,300))
00303 steps['InclusiveppMuX']=gen('InclusiveppMuX_8TeV_cfi',K110000by45000)
00304 steps['SingleElectronFlatPt5To100']=gen('SingleElectronFlatPt5To100_cfi',K250by250)
00305 steps['SinglePiPt1']=gen('SinglePiPt1_cfi',K250by250)
00306 steps['SingleMuPt1HS']=gen('SingleMuPt1_cfi',Kby(250,1000))
00307 steps['ZPrime5000Dijet']=gen('ZPrime5000JJ_8TeV_cfi',K250by100)
00308 steps['SinglePi0E10']=gen('SinglePi0E10_cfi',K250by100)
00309 steps['SinglePiPt10']=gen('SinglePiPt10_cfi',K250by250)
00310 steps['SingleGammaFlatPt10To100']=gen('SingleGammaFlatPt10To100_cfi',K250by250)
00311 steps['SingleTauPt50Pythia']=gen('SingleTaupt_50_cfi',K250by100)
00312 steps['SinglePiPt100']=gen('SinglePiPt100_cfi',K250by250)
00313
00314
00315 def genS(fragment,howMuch):
00316 global step1Defaults,stCond
00317 return merge([{'cfg':fragment},stCond,howMuch,step1Defaults])
00318
00319 steps['Higgs200ChargedTaus']=genS('H200ChargedTaus_Tauola_8TeV_cfi',Kby(9,100))
00320 steps['JpsiMM']=genS('JpsiMM_8TeV_cfi',Kby(66,1000))
00321 steps['WE']=genS('WE_8TeV_cfi',Kby(9,100))
00322 steps['WM']=genS('WM_8TeV_cfi',Kby(9,200))
00323 steps['WpM']=genS('WpM_8TeV_cfi',Kby(9,200))
00324 steps['ZMM']=genS('ZMM_8TeV_cfi',Kby(18,300))
00325 steps['ZpMM']=genS('ZpMM_8TeV_cfi',Kby(9,200))
00326
00327 steps['ZTT']=genS('ZTT_Tauola_All_hadronic_8TeV_cfi',Kby(9,150))
00328 steps['H130GGgluonfusion']=genS('H130GGgluonfusion_8TeV_cfi',Kby(9,100))
00329 steps['PhotonJets_Pt_10']=genS('PhotonJet_Pt_10_8TeV_cfi',Kby(9,150))
00330 steps['QQH1352T_Tauola']=genS('QQH1352T_Tauola_8TeV_cfi',Kby(9,100))
00331 steps['ZmumuJets_Pt_20_300']=gen('ZmumuJets_Pt_20_300_GEN_8TeV_cfg',Kby(250,100))
00332 steps['ADDMonoJet_d3MD3']=genS('ADDMonoJet_8TeV_d3MD3_cfi',Kby(9,100))
00333
00334 steps['MinBias2INPUT']={'INPUT':InputInfo(dataSet='/RelValMinBias/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00335 steps['Higgs200ChargedTausINPUT']={'INPUT':InputInfo(dataSet='/RelValHiggs200ChargedTaus/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00336 steps['QCD_Pt_3000_3500_2INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_Pt_3000_3500/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00337 steps['QCD_Pt_80_120_2INPUT']={'INPUT':InputInfo(dataSet='/RelValQCD_Pt_80_120/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00338 steps['JpsiMMINPUT']={'INPUT':InputInfo(dataSet='/RelValJpsiMM/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00339 steps['TTbar2INPUT']={'INPUT':InputInfo(dataSet='/RelValTTbar/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00340 steps['WEINPUT']={'INPUT':InputInfo(dataSet='/RelValWE/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00341 steps['WMINPUT']={'INPUT':InputInfo(dataSet='/RelValWM/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00342 steps['ZEEINPUT']={'INPUT':InputInfo(dataSet='/RelValZEE/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00343 steps['ZMMINPUT']={'INPUT':InputInfo(dataSet='/RelValZMM/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00344 steps['ZTTINPUT']={'INPUT':InputInfo(dataSet='/RelValZTT/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00345 steps['H130GGgluonfusionINPUT']={'INPUT':InputInfo(dataSet='/RelValH130GGgluonfusion/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00346 steps['PhotonJets_Pt_10INPUT']={'INPUT':InputInfo(dataSet='/RelValPhotonJets_Pt_10/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00347 steps['QQH1352T_TauolaINPUT']={'INPUT':InputInfo(dataSet='/RelValQQH1352T_Tauola/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00348 steps['ADDMonoJet_d3MD3INPUT']={'INPUT':InputInfo(dataSet='/RelValADDMonoJet_d3MD3/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00349 steps['WpMINPUT']={'INPUT':InputInfo(dataSet='/RelValZpMM/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00350 steps['ZpMMINPUT']={'INPUT':InputInfo(dataSet='/RelValWpM/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00351
00352 steps['ZmumuJets_Pt_20_300INPUT']={'INPUT':InputInfo(dataSet='/RelValZmumuJets_Pt_20_300/%s/GEN-SIM'%(baseDataSetRelease[2],),location='STD')}
00353
00354
00355 steps['Cosmics']=merge([{'cfg':'UndergroundCosmicMu_cfi.py','--scenario':'cosmics'},Kby(666,100000),step1Defaults])
00356 steps['BeamHalo']=merge([{'cfg':'BeamHalo_cfi.py','--scenario':'cosmics'},Kby(9,100),step1Defaults])
00357
00358 steps['CosmicsINPUT']={'INPUT':InputInfo(dataSet='/RelValCosmics/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00359 steps['BeamHaloINPUT']={'INPUT':InputInfo(dataSet='/RelValBeamHalo/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00360
00361 steps['QCD_Pt_50_80']=genS('QCD_Pt_50_80_8TeV_cfi',K250by100)
00362 steps['QCD_Pt_15_20']=genS('QCD_Pt_15_20_8TeV_cfi',K250by100)
00363 steps['ZTTHS']=merge([K250by100,steps['ZTT']])
00364 steps['QQH120Inv']=genS('QQH120Inv_8TeV_cfi',K250by100)
00365 steps['TTbar2HS']=merge([K250by100,steps['TTbar']])
00366 steps['JpsiMM_Pt_20_inf']=genS('JpsiMM_Pt_20_inf_8TeV_cfi',K700by280)
00367 steps['QCD_Pt_120_170']=genS('QCD_Pt_120_170_8TeV_cfi',K250by100)
00368 steps['H165WW2L']=genS('H165WW2L_Tauola_8TeV_cfi',K250by100)
00369 steps['UpsMM']=genS('UpsMM_8TeV_cfi',K562by225)
00370 steps['RSGrav']=genS('RS750_quarks_and_leptons_8TeV_cff',K250by100)
00371 steps['QCD_Pt_80_120_2HS']=merge([K250by100,steps['QCD_Pt_80_120']])
00372 steps['bJpsiX']=genS('bJpsiX_8TeV_cfi',K3250000by1300000)
00373 steps['QCD_Pt_30_50']=genS('QCD_Pt_30_50_8TeV_cfi',K250by100)
00374 steps['H200ZZ4L']=genS('H200ZZ4L_Tauola_8TeV_cfi',K250by100)
00375 steps['LM9p']=genS('LM9p_8TeV_cff',K250by100)
00376 steps['QCD_Pt_20_30']=genS('QCD_Pt_20_30_8TeV_cfi',K250by100)
00377 steps['QCD_Pt_170_230']=genS('QCD_Pt_170_230_8TeV_cfi',K250by100)
00378
00379
00380
00381
00382 step1UpepiDefaults = {'-s' : 'GEN,SIM',
00383 '-n' : 10,
00384 '--conditions' : 'DESIGN61_V10::All',
00385 '--beamspot' : 'Gauss',
00386 '--datatier' : 'GEN-SIM',
00387 '--eventcontent': 'FEVTDEBUG',
00388 '--geometry' : 'ExtendedPhaseIPixel',
00389 '--customise' : 'SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise'
00390 }
00391 def genepi(fragment,howMuch):
00392 global step1UpepiDefaults
00393 return merge([{'cfg':fragment},howMuch,step1UpepiDefaults])
00394
00395 steps['FourMuPt1_200_UPGPhase1']=genepi('FourMuPt_1_200_cfi',Kby(10,100))
00396 steps['SingleElectronPt10_UPGPhase1']=genepi('SingleElectronPt10_cfi',Kby(9,3000))
00397 steps['SingleElectronPt35_UPGPhase1']=genepi('SingleElectronPt35_cfi',Kby(9,500))
00398 steps['SingleElectronPt1000_UPGPhase1']=genepi('SingleElectronPt1000_cfi',Kby(9,50))
00399 steps['SingleGammaPt10_UPGPhase1']=genepi('SingleGammaPt10_cfi',Kby(9,3000))
00400 steps['SingleGammaPt35_UPGPhase1']=genepi('SingleGammaPt35_cfi',Kby(9,500))
00401 steps['SingleMuPt1_UPGPhase1']=genepi('SingleMuPt1_cfi',Kby(25,1000))
00402 steps['SingleMuPt10_UPGPhase1']=genepi('SingleMuPt10_cfi',Kby(25,500))
00403 steps['SingleMuPt100_UPGPhase1']=genepi('SingleMuPt100_cfi',Kby(9,500))
00404 steps['SingleMuPt1000_UPGPhase1']=genepi('SingleMuPt1000_cfi',Kby(9,500))
00405
00406 steps['TTbarLepton_UPGPhase1_8']=genepi('TTbarLepton_Tauola_8TeV_cfi',Kby(9,100))
00407 steps['Wjet_Pt_80_120_UPGPhase1_8']=genepi('Wjet_Pt_80_120_8TeV_cfi',Kby(9,100))
00408 steps['Wjet_Pt_3000_3500_UPGPhase1_8']=genepi('Wjet_Pt_3000_3500_8TeV_cfi',Kby(9,50))
00409 steps['LM1_sfts_UPGPhase1_8']=genepi('LM1_sfts_8TeV_cfi',Kby(9,100))
00410
00411 steps['QCD_Pt_3000_3500_UPGPhase1_8']=genepi('QCD_Pt_3000_3500_8TeV_cfi',Kby(9,25))
00412 steps['QCD_Pt_600_800_UPGPhase1_8']=genepi('QCD_Pt_600_800_8TeV_cfi',Kby(9,50))
00413 steps['QCD_Pt_80_120_UPGPhase1_8']=genepi('QCD_Pt_80_120_8TeV_cfi',Kby(9,100))
00414
00415 steps['Higgs200ChargedTaus_UPGPhase1_8']=genepi('H200ChargedTaus_Tauola_8TeV_cfi',Kby(9,100))
00416 steps['JpsiMM_UPGPhase1_8']=genepi('JpsiMM_8TeV_cfi',Kby(66,1000))
00417 steps['TTbar_UPGPhase1_8']=genepi('TTbar_Tauola_8TeV_cfi',Kby(9,100))
00418 steps['WE_UPGPhase1_8']=genepi('WE_8TeV_cfi',Kby(9,100))
00419 steps['ZEE_UPGPhase1_8']=genepi('ZEE_8TeV_cfi',Kby(9,100))
00420 steps['ZTT_UPGPhase1_8']=genepi('ZTT_Tauola_All_hadronic_8TeV_cfi',Kby(9,150))
00421 steps['H130GGgluonfusion_UPGPhase1_8']=genepi('H130GGgluonfusion_8TeV_cfi',Kby(9,100))
00422 steps['PhotonJets_Pt_10_UPGPhase1_8']=genepi('PhotonJet_Pt_10_8TeV_cfi',Kby(9,150))
00423 steps['QQH1352T_Tauola_UPGPhase1_8']=genepi('QQH1352T_Tauola_8TeV_cfi',Kby(9,100))
00424
00425 steps['MinBias_TuneZ2star_UPGPhase1_8']=genepi('MinBias_TuneZ2star_8TeV_pythia6_cff',Kby(9,300))
00426 steps['WM_UPGPhase1_8']=genepi('WM_8TeV_cfi',Kby(9,200))
00427 steps['ZMM_UPGPhase1_8']=genepi('ZMM_8TeV_cfi',Kby(18,300))
00428
00429 steps['ADDMonoJet_d3MD3_UPGPhase1_8']=genepi('ADDMonoJet_8TeV_d3MD3_cfi',Kby(9,100))
00430 steps['ZpMM_UPGPhase1_8']=genepi('ZpMM_8TeV_cfi',Kby(9,200))
00431 steps['WpM_UPGPhase1_8']=genepi('WpM_8TeV_cfi',Kby(9,200))
00432
00433
00434
00435
00436
00437 steps['Wjet_Pt_80_120_UPGPhase1_14']=genepi('Wjet_Pt_80_120_14TeV_cfi',Kby(9,100))
00438 steps['Wjet_Pt_3000_3500_UPGPhase1_14']=genepi('Wjet_Pt_3000_3500_14TeV_cfi',Kby(9,50))
00439 steps['LM1_sfts_UPGPhase1_14']=genepi('LM1_sfts_14TeV_cfi',Kby(9,100))
00440
00441 steps['QCD_Pt_3000_3500_UPGPhase1_14']=genepi('QCD_Pt_3000_3500_14TeV_cfi',Kby(9,25))
00442
00443 steps['QCD_Pt_80_120_UPGPhase1_14']=genepi('QCD_Pt_80_120_14TeV_cfi',Kby(9,100))
00444
00445 steps['Higgs200ChargedTaus_UPGPhase1_14']=genepi('H200ChargedTaus_Tauola_14TeV_cfi',Kby(9,100))
00446 steps['JpsiMM_UPGPhase1_14']=genepi('JpsiMM_14TeV_cfi',Kby(66,1000))
00447 steps['TTbar_UPGPhase1_14']=genepi('TTbar_Tauola_14TeV_cfi',Kby(9,100))
00448 steps['WE_UPGPhase1_14']=genepi('WE_14TeV_cfi',Kby(9,100))
00449 steps['ZEE_UPGPhase1_14']=genepi('ZEE_14TeV_cfi',Kby(9,100))
00450 steps['ZTT_UPGPhase1_14']=genepi('ZTT_Tauola_All_hadronic_14TeV_cfi',Kby(9,150))
00451 steps['H130GGgluonfusion_UPGPhase1_14']=genepi('H130GGgluonfusion_14TeV_cfi',Kby(9,100))
00452 steps['PhotonJets_Pt_10_UPGPhase1_14']=genepi('PhotonJet_Pt_10_14TeV_cfi',Kby(9,150))
00453 steps['QQH1352T_Tauola_UPGPhase1_14']=genepi('QQH1352T_Tauola_14TeV_cfi',Kby(9,100))
00454
00455 steps['MinBias_TuneZ2star_UPGPhase1_14']=genepi('MinBias_TuneZ2star_14TeV_pythia6_cff',Kby(9,300))
00456 steps['WM_UPGPhase1_14']=genepi('WM_14TeV_cfi',Kby(9,200))
00457 steps['ZMM_UPGPhase1_14']=genepi('ZMM_14TeV_cfi',Kby(18,300))
00458
00459
00460
00461
00462
00463
00464
00465
00466
00467 step1Up2015Defaults = {'-s' : 'GEN,SIM',
00468 '-n' : 10,
00469 '--conditions' : 'auto:upgradePLS1',
00470 '--datatier' : 'GEN-SIM',
00471 '--eventcontent': 'FEVTDEBUG',
00472 '--geometry' : 'Extended2015',
00473 '--customise' : 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1'
00474 }
00475 def gen2015(fragment,howMuch):
00476 global step1Up2015Defaults
00477 return merge([{'cfg':fragment},howMuch,step1Up2015Defaults])
00478
00479 steps['FourMuPt1_200_UPG2015']=gen2015('FourMuPt_1_200_cfi',Kby(10,100))
00480 steps['SingleElectronPt10_UPG2015']=gen2015('SingleElectronPt10_cfi',Kby(9,3000))
00481 steps['SingleElectronPt35_UPG2015']=gen2015('SingleElectronPt35_cfi',Kby(9,500))
00482 steps['SingleElectronPt1000_UPG2015']=gen2015('SingleElectronPt1000_cfi',Kby(9,50))
00483 steps['SingleGammaPt10_UPG2015']=gen2015('SingleGammaPt10_cfi',Kby(9,3000))
00484 steps['SingleGammaPt35_UPG2015']=gen2015('SingleGammaPt35_cfi',Kby(9,500))
00485 steps['SingleMuPt1_UPG2015']=gen2015('SingleMuPt1_cfi',Kby(25,1000))
00486 steps['SingleMuPt10_UPG2015']=gen2015('SingleMuPt10_cfi',Kby(25,500))
00487 steps['SingleMuPt100_UPG2015']=gen2015('SingleMuPt100_cfi',Kby(9,500))
00488 steps['SingleMuPt1000_UPG2015']=gen2015('SingleMuPt1000_cfi',Kby(9,500))
00489
00490 steps['TTbarLepton_UPG2015_8']=gen2015('TTbarLepton_Tauola_8TeV_cfi',Kby(9,100))
00491 steps['Wjet_Pt_80_120_UPG2015_8']=gen2015('Wjet_Pt_80_120_8TeV_cfi',Kby(9,100))
00492 steps['Wjet_Pt_3000_3500_UPG2015_8']=gen2015('Wjet_Pt_3000_3500_8TeV_cfi',Kby(9,50))
00493 steps['LM1_sfts_UPG2015_8']=gen2015('LM1_sfts_8TeV_cfi',Kby(9,100))
00494
00495 steps['QCD_Pt_3000_3500_UPG2015_8']=gen2015('QCD_Pt_3000_3500_8TeV_cfi',Kby(9,25))
00496 steps['QCD_Pt_600_800_UPG2015_8']=gen2015('QCD_Pt_600_800_8TeV_cfi',Kby(9,50))
00497 steps['QCD_Pt_80_120_UPG2015_8']=gen2015('QCD_Pt_80_120_8TeV_cfi',Kby(9,100))
00498
00499 steps['Higgs200ChargedTaus_UPG2015_8']=gen2015('H200ChargedTaus_Tauola_8TeV_cfi',Kby(9,100))
00500 steps['JpsiMM_UPG2015_8']=gen2015('JpsiMM_8TeV_cfi',Kby(66,1000))
00501 steps['TTbar_UPG2015_8']=gen2015('TTbar_Tauola_8TeV_cfi',Kby(9,100))
00502 steps['WE_UPG2015_8']=gen2015('WE_8TeV_cfi',Kby(9,100))
00503 steps['ZEE_UPG2015_8']=gen2015('ZEE_8TeV_cfi',Kby(9,100))
00504 steps['ZTT_UPG2015_8']=gen2015('ZTT_Tauola_All_hadronic_8TeV_cfi',Kby(9,150))
00505 steps['H130GGgluonfusion_UPG2015_8']=gen2015('H130GGgluonfusion_8TeV_cfi',Kby(9,100))
00506 steps['PhotonJets_Pt_10_UPG2015_8']=gen2015('PhotonJet_Pt_10_8TeV_cfi',Kby(9,150))
00507 steps['QQH1352T_Tauola_UPG2015_8']=gen2015('QQH1352T_Tauola_8TeV_cfi',Kby(9,100))
00508
00509 steps['MinBias_TuneZ2star_UPG2015_8']=gen2015('MinBias_TuneZ2star_8TeV_pythia6_cff',Kby(9,300))
00510 steps['WM_UPG2015_8']=gen2015('WM_8TeV_cfi',Kby(9,200))
00511 steps['ZMM_UPG2015_8']=gen2015('ZMM_8TeV_cfi',Kby(18,300))
00512
00513 steps['ADDMonoJet_d3MD3_UPG2015_8']=gen2015('ADDMonoJet_8TeV_d3MD3_cfi',Kby(9,100))
00514 steps['ZpMM_UPG2015_8']=gen2015('ZpMM_8TeV_cfi',Kby(9,200))
00515 steps['WpM_UPG2015_8']=gen2015('WpM_8TeV_cfi',Kby(9,200))
00516
00517
00518
00519
00520
00521 steps['Wjet_Pt_80_120_UPG2015_14']=gen2015('Wjet_Pt_80_120_14TeV_cfi',Kby(9,100))
00522 steps['Wjet_Pt_3000_3500_UPG2015_14']=gen2015('Wjet_Pt_3000_3500_14TeV_cfi',Kby(9,50))
00523 steps['LM1_sfts_UPG2015_14']=gen2015('LM1_sfts_14TeV_cfi',Kby(9,100))
00524
00525 steps['QCD_Pt_3000_3500_UPG2015_14']=gen2015('QCD_Pt_3000_3500_14TeV_cfi',Kby(9,25))
00526
00527 steps['QCD_Pt_80_120_UPG2015_14']=gen2015('QCD_Pt_80_120_14TeV_cfi',Kby(9,100))
00528
00529 steps['Higgs200ChargedTaus_UPG2015_14']=gen2015('H200ChargedTaus_Tauola_14TeV_cfi',Kby(9,100))
00530 steps['JpsiMM_UPG2015_14']=gen2015('JpsiMM_14TeV_cfi',Kby(66,1000))
00531 steps['TTbar_UPG2015_14']=gen2015('TTbar_Tauola_14TeV_cfi',Kby(9,100))
00532 steps['WE_UPG2015_14']=gen2015('WE_14TeV_cfi',Kby(9,100))
00533 steps['ZEE_UPG2015_14']=gen2015('ZEE_14TeV_cfi',Kby(9,100))
00534 steps['ZTT_UPG2015_14']=gen2015('ZTT_Tauola_All_hadronic_14TeV_cfi',Kby(9,150))
00535 steps['H130GGgluonfusion_UPG2015_14']=gen2015('H130GGgluonfusion_14TeV_cfi',Kby(9,100))
00536 steps['PhotonJets_Pt_10_UPG2015_14']=gen2015('PhotonJet_Pt_10_14TeV_cfi',Kby(9,150))
00537 steps['QQH1352T_Tauola_UPG2015_14']=gen2015('QQH1352T_Tauola_14TeV_cfi',Kby(9,100))
00538
00539 steps['MinBias_TuneZ2star_UPG2015_14']=gen2015('MinBias_TuneZ2star_14TeV_pythia6_cff',Kby(9,300))
00540 steps['WM_UPG2015_14']=gen2015('WM_14TeV_cfi',Kby(9,200))
00541 steps['ZMM_UPG2015_14']=gen2015('ZMM_14TeV_cfi',Kby(18,300))
00542
00543
00544
00545
00546
00547
00548
00549 step1Up2016Defaults = {'-s' : 'GEN,SIM',
00550 '-n' : 10,
00551 '--conditions' : 'auto:upgradePLS1',
00552 '--beamspot' : 'Gauss',
00553 '--datatier' : 'GEN-SIM',
00554 '--eventcontent': 'FEVTDEBUG',
00555 '--geometry' : 'Extended2016',
00556 '--customise' : 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1,SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise'
00557 }
00558 def gen2016(fragment,howMuch):
00559 global step1Up2016Defaults
00560 return merge([{'cfg':fragment},howMuch,step1Up2016Defaults])
00561
00562 steps['FourMuPt1_200_UPG2016']=gen2016('FourMuPt_1_200_cfi',Kby(10,100))
00563 steps['SingleElectronPt10_UPG2016']=gen2016('SingleElectronPt10_cfi',Kby(9,3000))
00564 steps['SingleElectronPt35_UPG2016']=gen2016('SingleElectronPt35_cfi',Kby(9,500))
00565 steps['SingleElectronPt1000_UPG2016']=gen2016('SingleElectronPt1000_cfi',Kby(9,50))
00566 steps['SingleGammaPt10_UPG2016']=gen2016('SingleGammaPt10_cfi',Kby(9,3000))
00567 steps['SingleGammaPt35_UPG2016']=gen2016('SingleGammaPt35_cfi',Kby(9,500))
00568 steps['SingleMuPt1_UPG2016']=gen2016('SingleMuPt1_cfi',Kby(25,1000))
00569 steps['SingleMuPt10_UPG2016']=gen2016('SingleMuPt10_cfi',Kby(25,500))
00570 steps['SingleMuPt100_UPG2016']=gen2016('SingleMuPt100_cfi',Kby(9,500))
00571 steps['SingleMuPt1000_UPG2016']=gen2016('SingleMuPt1000_cfi',Kby(9,500))
00572
00573 steps['TTbarLepton_UPG2016_8']=gen2016('TTbarLepton_Tauola_8TeV_cfi',Kby(9,100))
00574 steps['Wjet_Pt_80_120_UPG2016_8']=gen2016('Wjet_Pt_80_120_8TeV_cfi',Kby(9,100))
00575 steps['Wjet_Pt_3000_3500_UPG2016_8']=gen2016('Wjet_Pt_3000_3500_8TeV_cfi',Kby(9,50))
00576 steps['LM1_sfts_UPG2016_8']=gen2016('LM1_sfts_8TeV_cfi',Kby(9,100))
00577
00578 steps['QCD_Pt_3000_3500_UPG2016_8']=gen2016('QCD_Pt_3000_3500_8TeV_cfi',Kby(9,25))
00579 steps['QCD_Pt_600_800_UPG2016_8']=gen2016('QCD_Pt_600_800_8TeV_cfi',Kby(9,50))
00580 steps['QCD_Pt_80_120_UPG2016_8']=gen2016('QCD_Pt_80_120_8TeV_cfi',Kby(9,100))
00581
00582 steps['Higgs200ChargedTaus_UPG2016_8']=gen2016('H200ChargedTaus_Tauola_8TeV_cfi',Kby(9,100))
00583 steps['JpsiMM_UPG2016_8']=gen2016('JpsiMM_8TeV_cfi',Kby(66,1000))
00584 steps['TTbar_UPG2016_8']=gen2016('TTbar_Tauola_8TeV_cfi',Kby(9,100))
00585 steps['WE_UPG2016_8']=gen2016('WE_8TeV_cfi',Kby(9,100))
00586 steps['ZEE_UPG2016_8']=gen2016('ZEE_8TeV_cfi',Kby(9,100))
00587 steps['ZTT_UPG2016_8']=gen2016('ZTT_Tauola_All_hadronic_8TeV_cfi',Kby(9,150))
00588 steps['H130GGgluonfusion_UPG2016_8']=gen2016('H130GGgluonfusion_8TeV_cfi',Kby(9,100))
00589 steps['PhotonJets_Pt_10_UPG2016_8']=gen2016('PhotonJet_Pt_10_8TeV_cfi',Kby(9,150))
00590 steps['QQH1352T_Tauola_UPG2016_8']=gen2016('QQH1352T_Tauola_8TeV_cfi',Kby(9,100))
00591
00592 steps['MinBias_TuneZ2star_UPG2016_8']=gen2016('MinBias_TuneZ2star_8TeV_pythia6_cff',Kby(9,300))
00593 steps['WM_UPG2016_8']=gen2016('WM_8TeV_cfi',Kby(9,200))
00594 steps['ZMM_UPG2016_8']=gen2016('ZMM_8TeV_cfi',Kby(18,300))
00595
00596 steps['ADDMonoJet_d3MD3_UPG2016_8']=gen2016('ADDMonoJet_8TeV_d3MD3_cfi',Kby(9,100))
00597 steps['ZpMM_UPG2016_8']=gen2016('ZpMM_8TeV_cfi',Kby(9,200))
00598 steps['WpM_UPG2016_8']=gen2016('WpM_8TeV_cfi',Kby(9,200))
00599
00600
00601
00602
00603
00604 steps['Wjet_Pt_80_120_UPG2016_14']=gen2016('Wjet_Pt_80_120_14TeV_cfi',Kby(9,100))
00605 steps['Wjet_Pt_3000_3500_UPG2016_14']=gen2016('Wjet_Pt_3000_3500_14TeV_cfi',Kby(9,50))
00606 steps['LM1_sfts_UPG2016_14']=gen2016('LM1_sfts_14TeV_cfi',Kby(9,100))
00607
00608 steps['QCD_Pt_3000_3500_UPG2016_14']=gen2016('QCD_Pt_3000_3500_14TeV_cfi',Kby(9,25))
00609
00610 steps['QCD_Pt_80_120_UPG2016_14']=gen2016('QCD_Pt_80_120_14TeV_cfi',Kby(9,100))
00611
00612 steps['Higgs200ChargedTaus_UPG2016_14']=gen2016('H200ChargedTaus_Tauola_14TeV_cfi',Kby(9,100))
00613 steps['JpsiMM_UPG2016_14']=gen2016('JpsiMM_14TeV_cfi',Kby(66,1000))
00614 steps['TTbar_UPG2016_14']=gen2016('TTbar_Tauola_14TeV_cfi',Kby(9,100))
00615 steps['WE_UPG2016_14']=gen2016('WE_14TeV_cfi',Kby(9,100))
00616 steps['ZEE_UPG2016_14']=gen2016('ZEE_14TeV_cfi',Kby(9,100))
00617 steps['ZTT_UPG2016_14']=gen2016('ZTT_Tauola_All_hadronic_14TeV_cfi',Kby(9,150))
00618 steps['H130GGgluonfusion_UPG2016_14']=gen2016('H130GGgluonfusion_14TeV_cfi',Kby(9,100))
00619 steps['PhotonJets_Pt_10_UPG2016_14']=gen2016('PhotonJet_Pt_10_14TeV_cfi',Kby(9,150))
00620 steps['QQH1352T_Tauola_UPG2016_14']=gen2016('QQH1352T_Tauola_14TeV_cfi',Kby(9,100))
00621
00622 steps['MinBias_TuneZ2star_UPG2016_14']=gen2016('MinBias_TuneZ2star_14TeV_pythia6_cff',Kby(9,300))
00623 steps['WM_UPG2016_14']=gen2016('WM_14TeV_cfi',Kby(9,200))
00624 steps['ZMM_UPG2016_14']=gen2016('ZMM_14TeV_cfi',Kby(18,300))
00625
00626
00627
00628
00629
00630
00631
00632
00633 step1PPbDefaults={'--beamspot':'Realistic8TeVCollisionPPbBoost'}
00634 steps['AMPT_PPb_5020GeV_MinimumBias']=merge([{'-n':10},step1PPbDefaults,genS('AMPT_PPb_5020GeV_MinimumBias_cfi',Kby(9,100))])
00635 steps['AMPT_PPb_5020GeV_MinimumBiasINPUT']={'INPUT':InputInfo(dataSet='/RelValAMPT_PPb_5020GeV_MinimumBias/%s/GEN-SIM'%(baseDataSetRelease[0],),location='STD')}
00636
00637
00638 U500by1={'--relval': '500,1'}
00639 U80by1={'--relval': '80,1'}
00640
00641 hiDefaults={'--conditions':'auto:starthi_HIon',
00642 '--scenario':'HeavyIons'}
00643
00644 steps['HydjetQ_MinBias_2760GeV']=merge([{'-n':1},hiDefaults,genS('Hydjet_Quenched_MinBias_2760GeV_cfi',U500by1)])
00645 steps['HydjetQ_MinBias_2760GeVINPUT']={'INPUT':InputInfo(dataSet='/RelValHydjetQ_MinBias_2760GeV/%s/GEN-SIM'%(baseDataSetRelease[1],),location='STD')}
00646 steps['HydjetQ_B0_2760GeV']=merge([{'-n':1},hiDefaults,genS('Hydjet_Quenched_B0_2760GeV_cfi',U80by1)])
00647 steps['HydjetQ_B0_2760GeVINPUT']={'INPUT':InputInfo(dataSet='/RelValHydjetQ_B0_2760GeV/%s/GEN-SIM'%(baseDataSetRelease[1],),location='STD')}
00648 steps['HydjetQ_B8_2760GeV']=merge([{'-n':1},hiDefaults,genS('Hydjet_Quenched_B8_2760GeV_cfi',U80by1)])
00649 steps['HydjetQ_B8_2760GeVINPUT']={'INPUT':InputInfo(dataSet='/RelValHydjetQ_B8_2760GeV/%s/GEN-SIM'%(baseDataSetRelease[1],),location='CAF')}
00650
00651
00652
00653 def changeRefRelease(steps,listOfPairs):
00654 for s in steps:
00655 if ('INPUT' in steps[s]):
00656 oldD=steps[s]['INPUT'].dataSet
00657 for (ref,newRef) in listOfPairs:
00658 if ref in oldD:
00659 steps[s]['INPUT'].dataSet=oldD.replace(ref,newRef)
00660 if '--pileup_input' in steps[s]:
00661 for (ref,newRef) in listOfPairs:
00662 if ref in steps[s]['--pileup_input']:
00663 steps[s]['--pileup_input']=steps[s]['--pileup_input'].replace(ref,newRef)
00664
00665 def addForAll(steps,d):
00666 for s in steps:
00667 steps[s].update(d)
00668
00669
00670
00671
00672
00673 step1FastDefaults =merge([{'-s':'GEN,FASTSIM,HLT:@relval,VALIDATION',
00674 '--eventcontent':'FEVTDEBUGHLT,DQM',
00675 '--datatier':'GEN-SIM-DIGI-RECO,DQM',
00676 '--relval':'27000,3000'},
00677 step1Defaults])
00678 K100by500={'--relval':'100000,500'}
00679 K100byK2={'--relval':'100000,2000'}
00680 steps['TTbarFS']=merge([{'cfg':'TTbar_Tauola_8TeV_cfi'},Kby(100,1000),step1FastDefaults])
00681 steps['SingleMuPt1FS']=merge([{'cfg':'SingleMuPt1_cfi'},step1FastDefaults])
00682 steps['SingleMuPt10FS']=merge([{'cfg':'SingleMuPt10_cfi'},step1FastDefaults])
00683 steps['SingleMuPt100FS']=merge([{'cfg':'SingleMuPt100_cfi'},step1FastDefaults])
00684 steps['SinglePiPt1FS']=merge([{'cfg':'SinglePiPt1_cfi'},step1FastDefaults])
00685 steps['SinglePiPt10FS']=merge([{'cfg':'SinglePiPt10_cfi'},step1FastDefaults])
00686 steps['SinglePiPt100FS']=merge([{'cfg':'SinglePiPt100_cfi'},step1FastDefaults])
00687 steps['ZEEFS']=merge([{'cfg':'ZEE_8TeV_cfi'},K100byK2,step1FastDefaults])
00688 steps['ZTTFS']=merge([{'cfg':'ZTT_Tauola_OneLepton_OtherHadrons_8TeV_cfi'},K100byK2,step1FastDefaults])
00689 steps['QCDFlatPt153000FS']=merge([{'cfg':'QCDForPF_8TeV_cfi'},step1FastDefaults])
00690 steps['QCD_Pt_80_120FS']=merge([{'cfg':'QCD_Pt_80_120_8TeV_cfi'},K100by500,stCond,step1FastDefaults])
00691 steps['QCD_Pt_3000_3500FS']=merge([{'cfg':'QCD_Pt_3000_3500_8TeV_cfi'},K100by500,stCond,step1FastDefaults])
00692 steps['H130GGgluonfusionFS']=merge([{'cfg':'H130GGgluonfusion_8TeV_cfi'},step1FastDefaults])
00693 steps['SingleGammaFlatPt10To10FS']=merge([{'cfg':'SingleGammaFlatPt10To100_cfi'},K100by500,step1FastDefaults])
00694
00695 steps['TTbarSFS']=merge([{'cfg':'TTbar_Tauola_8TeV_cfi'},
00696 {'-s':'GEN,SIM',
00697 '--eventcontent':'FEVTDEBUG',
00698 '--datatier':'GEN-SIM',
00699 '--fast':''},
00700 step1Defaults])
00701 steps['TTbarSFSA']=merge([{'cfg':'TTbar_Tauola_8TeV_cfi',
00702 's':'GEN,SIM,RECO,HLT,VALIDATION',
00703 '--fast':''},
00704 step1FastDefaults])
00705
00706 def identityFS(wf):
00707 return merge([{'--restoreRND':'HLT','--process':'HLT2','--hltProcess':'HLT2'},wf])
00708
00709 steps['SingleMuPt10FS_ID']=identityFS(steps['SingleMuPt10FS'])
00710 steps['TTbarFS_ID']=identityFS(steps['TTbarFS'])
00711
00712
00713 step1GenDefaults=merge([{'-s':'GEN,VALIDATION:genvalid',
00714 '--relval':'1000000,20000',
00715 '--eventcontent':'RAWSIM',
00716 '--datatier':'GEN'},
00717 step1Defaults])
00718 def genvalid(fragment,d,suffix='all',fi=''):
00719 import copy
00720 c=copy.copy(d)
00721 if suffix:
00722 c['-s']=c['-s'].replace('genvalid','genvalid_'+suffix)
00723 if fi:
00724 c['--filein']='lhe:%d'%(fi,)
00725 c['cfg']=fragment
00726 return c
00727
00728 steps['QCD_Pt-30_8TeV_herwigpp']=genvalid('QCD_Pt_30_8TeV_herwigpp_cff',step1GenDefaults)
00729 steps['DYToLL_M-50_TuneZ2star_8TeV_pythia6-tauola']=genvalid('DYToLL_M_50_TuneZ2star_8TeV_pythia6_tauola_cff',step1GenDefaults)
00730 steps['QCD_Pt-30_TuneZ2star_8TeV_pythia6']=genvalid('QCD_Pt_30_TuneZ2star_8TeV_pythia6_cff',step1GenDefaults)
00731 steps['QCD_Pt-30_8TeV_pythia8']=genvalid('QCD_Pt_30_8TeV_pythia8_cff',step1GenDefaults)
00732 steps['GluGluTo2Jets_M-100_8TeV_exhume']=genvalid('GluGluTo2Jets_M_100_8TeV_exhume_cff',step1GenDefaults)
00733 steps['TT_TuneZ2star_8TeV_pythia6-evtgen']=genvalid('TT_TuneZ2star_8TeV_pythia6_evtgen_cff',step1GenDefaults)
00734 steps['MinBias_TuneZ2star_8TeV_pythia6']=genvalid('MinBias_TuneZ2star_8TeV_pythia6_cff',step1GenDefaults)
00735 steps['WToLNu_TuneZ2star_8TeV_pythia6-tauola']=genvalid('WToLNu_TuneZ2star_8TeV_pythia6_tauola_cff',step1GenDefaults)
00736 steps['QCD_Pt-30_8TeV_herwig6']=genvalid('QCD_Pt_30_8TeV_herwig6_cff',step1GenDefaults)
00737 steps['MinBias_8TeV_pythia8']=genvalid('MinBias_8TeV_pythia8_cff',step1GenDefaults)
00738
00739
00740 steps['QCD_Ht-100To250_TuneZ2star_8TeV_madgraph-tauola']=genvalid('Hadronizer_MgmMatchTuneZ2star_8TeV_madgraph_tauola_cff',step1GenDefaults,fi=5475)
00741 steps['QCD_Ht-250To500_TuneZ2star_8TeV_madgraph-tauola']=genvalid('Hadronizer_MgmMatchTuneZ2star_8TeV_madgraph_tauola_cff',step1GenDefaults,fi=5476)
00742 steps['QCD_Ht-500To1000_TuneZ2star_8TeV_madgraph-tauola']=genvalid('Hadronizer_MgmMatchTuneZ2star_8TeV_madgraph_tauola_cff',step1GenDefaults,fi=5481)
00743 steps['TTJets_TuneZ2star_8TeV_madgraph-tauola']=genvalid('Hadronizer_MgmMatchTuneZ2star_8TeV_madgraph_tauola_cff',step1GenDefaults,fi=5502)
00744 steps['WJetsLNu_TuneZ2star_8TeV_madgraph-tauola']=genvalid('Hadronizer_MgmMatchTuneZ2star_8TeV_madgraph_tauola_cff',step1GenDefaults,fi=5607)
00745 steps['ZJetsLNu_TuneZ2star_8TeV_madgraph-tauola']=genvalid('Hadronizer_MgmMatchTuneZ2star_8TeV_madgraph_tauola_cff',step1GenDefaults,fi=5591)
00746 steps['ZJetsLNu_Tune4C_8TeV_madgraph-pythia8']=genvalid('Hadronizer_MgmMatchTune4C_8TeV_madgraph_pythia8_cff',step1GenDefaults,fi=5591)
00747
00748 PU={'-n':10,'--pileup':'default','--pileup_input':'dbs:/RelValMinBias/%s/GEN-SIM'%(baseDataSetRelease[0],)}
00749 PUFS={'--pileup':'default'}
00750 PUFS2={'--pileup':'mix_2012_Startup_inTimeOnly'}
00751 steps['TTbarFSPU']=merge([PUFS,steps['TTbarFS']])
00752 steps['TTbarFSPU2']=merge([PUFS2,steps['TTbarFS']])
00753
00754
00755
00756
00757
00758 step2Defaults = {
00759 '-s' : 'DIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco',
00760 '--datatier' : 'GEN-SIM-DIGI-RAW-HLTDEBUG',
00761 '--eventcontent': 'FEVTDEBUGHLT',
00762 '--conditions' : 'auto:startup',
00763 }
00764
00765
00766 steps['DIGIPROD1']=merge([{'--eventcontent':'RAWSIM','--datatier':'GEN-SIM-RAW'},step2Defaults])
00767 steps['DIGI']=merge([step2Defaults])
00768
00769 steps['DIGICOS']=merge([{'--scenario':'cosmics','--eventcontent':'FEVTDEBUG','--datatier':'GEN-SIM-DIGI-RAW'},stCond,step2Defaults])
00770
00771 steps['DIGIPU1']=merge([PU,step2Defaults])
00772 steps['REDIGIPU']=merge([{'-s':'reGEN,reDIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco'},steps['DIGIPU1']])
00773
00774 steps['DIGI_ID']=merge([{'--restoreRND':'HLT','--process':'HLT2'},steps['DIGI']])
00775
00776 steps['RESIM']=merge([{'-s':'reGEN,reSIM','-n':10},steps['DIGI']])
00777 steps['RESIMDIGI']=merge([{'-s':'reGEN,reSIM,DIGI,L1,DIGI2RAW,HLT:@relval,RAW2DIGI,L1Reco','-n':10,'--restoreRNDSeeds':'','--process':'HLT'},steps['DIGI']])
00778
00779
00780 steps['DIGIHI']=merge([{'--conditions':'auto:starthi_HIon', '-s':'DIGI,L1,DIGI2RAW,HLT:HIon,RAW2DIGI,L1Reco', '--inputCommands':'"keep *","drop *_simEcalPreshowerDigis_*_*"', '-n':10}, hiDefaults, step2Defaults])
00781
00782
00783 step2Upgpixphase1Defaults = {'-s':'DIGI,L1,DIGI2RAW',
00784 '--conditions':'DESIGN61_V10::All',
00785 '--datatier':'GEN-SIM-DIGI-RAW',
00786 '-n':'10',
00787 '--eventcontent':'FEVTDEBUGHLT',
00788 '--customise': 'SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise',
00789 '--geometry' : 'ExtendedPhaseIPixel'
00790 }
00791 steps['DIGIUP']=merge([step2Upgpixphase1Defaults])
00792
00793
00794 step2Upg2015Defaults = {'-s':'DIGI,L1,DIGI2RAW',
00795 '--conditions':'auto:upgradePLS1',
00796 '--datatier':'GEN-SIM-DIGI-RAW',
00797 '-n':'10',
00798 '--eventcontent':'FEVTDEBUGHLT',
00799 '--customise': 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1',
00800 '--geometry' : 'Extended2015'
00801 }
00802 steps['DIGIUP15']=merge([step2Upg2015Defaults])
00803
00804
00805 step2Upg2016Defaults = {'-s':'DIGI,L1,DIGI2RAW',
00806 '--conditions':'auto:upgradePLS1',
00807 '--datatier':'GEN-SIM-DIGI-RAW',
00808 '-n':'10',
00809 '--eventcontent':'FEVTDEBUGHLT',
00810 '--customise': 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1,SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise',
00811 '--geometry' : 'Extended2016'
00812 }
00813 steps['DIGIUP16']=merge([step2Upg2016Defaults])
00814
00815
00816
00817 dataReco={'--conditions':'auto:com10',
00818 '-s':'RAW2DIGI,L1Reco,RECO,ALCA:SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias,DQM',
00819 '--datatier':'RECO,DQMROOT',
00820 '--eventcontent':'RECO,DQMROOT',
00821 '--data':'',
00822 '--process':'reRECO',
00823 '--scenario':'pp',
00824 }
00825
00826 hltKey='relval'
00827 from Configuration.HLT.autoHLT import autoHLT
00828 menu = autoHLT[hltKey]
00829 steps['HLTD']=merge([{'--process':'reHLT',
00830 '-s':'L1REPACK,HLT:@%s'%hltKey,
00831 '--conditions':'auto:hltonline_%s'%menu,
00832 '--data':'',
00833 '--output':'\'[{"e":"RAW","t":"RAW","o":["drop FEDRawDataCollection_rawDataCollector__LHC"]}]\'',
00834 },])
00835 wmsplit['HLTD']=5
00836
00837 steps['RECOD']=merge([{'--scenario':'pp',},dataReco])
00838 steps['RECOSKIMALCA']=merge([{'--inputCommands':'"keep *","drop *_*_*_RECO"'
00839 },steps['RECOD']])
00840 steps['RECOSKIM']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,DQM',
00841 },steps['RECOSKIMALCA']])
00842
00843 steps['REPACKHID']=merge([{'--scenario':'HeavyIons',
00844 '-s':'RAW2DIGI,REPACK',
00845 '--datatier':'RAW',
00846 '--eventcontent':'REPACKRAW'},
00847 steps['RECOD']])
00848 steps['RECOHID10']=merge([{'--scenario':'HeavyIons',
00849 '-s':'RAW2DIGI,L1Reco,RECO,ALCA:SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBiasHI+HcalCalMinBias,DQM',
00850 '--datatier':'RECO,DQMROOT',
00851 '--eventcontent':'RECO,DQMROOT'},
00852 steps['RECOD']])
00853 steps['RECOHID11']=merge([{'--repacked':''},
00854 steps['RECOHID10']])
00855 steps['RECOHID10']['-s']+=',REPACK'
00856 steps['RECOHID10']['--datatier']+=',RAW'
00857 steps['RECOHID10']['--eventcontent']+=',REPACKRAW'
00858
00859 steps['TIER0']=merge([{'--customise':'Configuration/DataProcessing/RecoTLR.customisePrompt',
00860 '-s':'RAW2DIGI,L1Reco,RECO,ALCAPRODUCER:@allForPrompt,DQM,ENDJOB',
00861 '--datatier':'RECO,AOD,ALCARECO,DQMROOT',
00862 '--eventcontent':'RECO,AOD,ALCARECO,DQMROOT',
00863 '--process':'RECO'
00864 },dataReco])
00865 steps['TIER0EXP']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,ALCAPRODUCER:@allForExpress,DQM,ENDJOB',
00866 '--datatier':'ALCARECO,DQM',
00867 '--eventcontent':'ALCARECO,DQM',
00868 '--customise':'Configuration/DataProcessing/RecoTLR.customiseExpress',
00869 },steps['TIER0']])
00870
00871 steps['RECOCOSD']=merge([{'--scenario':'cosmics',
00872 '-s':'RAW2DIGI,L1Reco,RECO,DQM,ALCA:MuAlCalIsolatedMu+DtCalib',
00873 '--customise':'Configuration/DataProcessing/RecoTLR.customiseCosmicData'
00874 },dataReco])
00875
00876 step2HImixDefaults=merge([{'-n':'10',
00877 '--himix':'',
00878 '--filein':'file.root',
00879 '--process':'HISIGNAL'
00880 },hiDefaults,step1Defaults])
00881 steps['Pyquen_GammaJet_pt20_2760GeV']=merge([{'cfg':'Pyquen_GammaJet_pt20_2760GeV_cfi'},step2HImixDefaults])
00882 steps['Pyquen_DiJet_pt80to120_2760GeV']=merge([{'cfg':'Pyquen_DiJet_pt80to120_2760GeV_cfi'},step2HImixDefaults])
00883 steps['Pyquen_ZeemumuJets_pt10_2760GeV']=merge([{'cfg':'Pyquen_ZeemumuJets_pt10_2760GeV_cfi'},step2HImixDefaults])
00884
00885
00886 step3Defaults = {
00887 '-s' : 'RAW2DIGI,L1Reco,RECO,VALIDATION,DQM',
00888 '--conditions' : 'auto:startup',
00889 '--no_exec' : '',
00890 '--datatier' : 'GEN-SIM-RECO,DQM',
00891 '--eventcontent': 'RECOSIM,DQM'
00892 }
00893
00894 steps['DIGIPU']=merge([{'--process':'REDIGI'},steps['DIGIPU1']])
00895
00896 steps['RECODreHLT']=merge([{'--hltProcess':'reHLT','--conditions':'auto:com10_%s'%menu},steps['RECOD']])
00897 wmsplit['RECODreHLT']=2
00898
00899 steps['RECO']=merge([step3Defaults])
00900 steps['RECODBG']=merge([{'--eventcontent':'RECODEBUG,DQM'},steps['RECO']])
00901 steps['RECOPROD1']=merge([{ '-s' : 'RAW2DIGI,L1Reco,RECO', '--datatier' : 'GEN-SIM-RECO,AODSIM', '--eventcontent' : 'RECOSIM,AODSIM'},step3Defaults])
00902 steps['RECOCOS']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,ALCA:MuAlCalIsolatedMu,DQM','--scenario':'cosmics'},stCond,step3Defaults])
00903 steps['RECOMIN']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,ALCA:SiStripCalZeroBias+SiStripCalMinBias+EcalCalPhiSym+EcalCalPi0Calib+EcalCalEtaCalib,VALIDATION,DQM'},stCond,step3Defaults])
00904
00905 steps['RECODDQM']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,DQM:@common+@muon+@hcal+@jetmet+@ecal'},steps['RECOD']])
00906
00907 steps['RECOPU1']=merge([PU,steps['RECO']])
00908 steps['RECOPUDBG']=merge([{'--eventcontent':'RECODEBUG,DQM'},steps['RECOPU1']])
00909 steps['RERECOPU1']=merge([{'--hltProcess':'REDIGI'},steps['RECOPU1']])
00910
00911 steps['RECO_ID']=merge([{'--hltProcess':'HLT2'},steps['RECO']])
00912
00913 steps['RECOHI']=merge([hiDefaults,step3Defaults])
00914 steps['DIGIHISt3']=steps['DIGIHI']
00915
00916 steps['RECOHID11St3']=merge([{
00917 '--process':'ZStoRECO'},
00918 steps['RECOHID11']])
00919 steps['RECOHIR10D11']=merge([{'--filein':'file:step2_inREPACKRAW.root',
00920 '--filtername':'reRECO'},
00921 steps['RECOHID11St3']])
00922 steps['RECOFS']=merge([{'--fast':'',
00923 '-s':'RECO,HLT:@relval,VALIDATION'},
00924 steps['RECO']])
00925
00926 step3Upgpixphase1Defaults = {'-s':'RAW2DIGI,L1Reco,RECO,VALIDATION,DQM',
00927 '--conditions':'DESIGN61_V10::All',
00928 '--datatier':'GEN-SIM-RECO,DQM',
00929 '-n':'10',
00930 '--eventcontent':'FEVTDEBUGHLT,DQM',
00931 '--customise' : 'SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise',
00932 '--geometry' : 'ExtendedPhaseIPixel'
00933 }
00934
00935
00936 steps['RECOUP']=merge([step3Upgpixphase1Defaults])
00937
00938
00939
00940 step3Up2015Defaults = {'-s':'RAW2DIGI,L1Reco,RECO,VALIDATION,DQM',
00941 '--conditions':'auto:upgradePLS1',
00942 '--datatier':'GEN-SIM-RECO,DQM',
00943 '-n':'10',
00944 '--eventcontent':'FEVTDEBUGHLT,DQM',
00945 '--customise' : 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1',
00946 '--geometry' : 'Extended2015'
00947 }
00948
00949 steps['RECOUP15']=merge([step3Up2015Defaults])
00950
00951
00952 step3Up2016Defaults = {'-s':'RAW2DIGI,L1Reco,RECO,VALIDATION,DQM',
00953 '--conditions':'auto:upgradePLS1',
00954 '--datatier':'GEN-SIM-RECO,DQM',
00955 '-n':'10',
00956 '--eventcontent':'FEVTDEBUGHLT,DQM',
00957 '--customise' : 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1,SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise',
00958 '--geometry' : 'Extended2016'
00959 }
00960
00961 steps['RECOUP16']=merge([step3Up2016Defaults])
00962
00963
00964
00965
00966 steps['ALCACOSD']={'--conditions':'auto:com10',
00967 '--datatier':'ALCARECO',
00968 '--eventcontent':'ALCARECO',
00969 '--scenario':'cosmics',
00970 '-s':'ALCA:TkAlCosmics0T+MuAlGlobalCosmics+HcalCalHOCosmics+DQM'
00971 }
00972 steps['ALCAPROMPT']={'-s':'ALCA:PromptCalibProd',
00973 '--filein':'file:TkAlMinBias.root',
00974 '--conditions':'auto:com10',
00975 '--datatier':'ALCARECO',
00976 '--eventcontent':'ALCARECO'}
00977 steps['ALCAEXP']={'-s':'ALCA:PromptCalibProd',
00978 '--conditions':'auto:com10',
00979 '--datatier':'ALCARECO',
00980 '--eventcontent':'ALCARECO'}
00981
00982
00983 step4Defaults = {
00984 '-s' : 'ALCA:TkAlMuonIsolated+TkAlMinBias+EcalCalElectron+HcalCalIsoTrk+MuAlOverlaps',
00985 '-n' : 1000,
00986 '--conditions' : 'auto:startup',
00987 '--datatier' : 'ALCARECO',
00988 '--eventcontent': 'ALCARECO',
00989 }
00990
00991 steps['RERECOPU']=steps['RERECOPU1']
00992
00993 steps['ALCATT']=merge([{'--filein':'file:step3.root'},step4Defaults])
00994 steps['ALCAMIN']=merge([{'-s':'ALCA:TkAlMinBias','--filein':'file:step3.root'},stCond,step4Defaults])
00995 steps['ALCACOS']=merge([{'-s':'ALCA:TkAlCosmics0T+MuAlGlobalCosmics+HcalCalHOCosmics'},stCond,step4Defaults])
00996 steps['ALCABH']=merge([{'-s':'ALCA:TkAlBeamHalo+MuAlBeamHaloOverlaps+MuAlBeamHalo'},stCond,step4Defaults])
00997 steps['ALCAELE']=merge([{'-s':'ALCA:EcalCalElectron','--filein':'file:step3.root'},stCond,step4Defaults])
00998
00999 steps['ALCAHARVD']={'-s':'ALCAHARVEST:BeamSpotByRun+BeamSpotByLumi+SiStripQuality',
01000 '--conditions':'auto:com10',
01001 '--scenario':'pp',
01002 '--data':'',
01003 '--filein':'file:PromptCalibProd.root'}
01004
01005 steps['RECOHISt4']=steps['RECOHI']
01006
01007 steps['ALCANZS']=merge([{'-s':'ALCA:HcalCalMinBias','--mc':''},step4Defaults])
01008 steps['HARVGEN']={'-s':'HARVESTING:genHarvesting',
01009 '--harvesting':'AtJobEnd',
01010 '--conditions':'auto:startup',
01011 '--mc':'',
01012 '--filein':'file:step1.root'
01013 }
01014
01015
01016 steps['HARVESTD']={'-s':'HARVESTING:dqmHarvesting',
01017 '--conditions':'auto:com10',
01018 '--filetype':'DQM',
01019 '--data':'',
01020 '--scenario':'pp'}
01021
01022 steps['HARVESTDreHLT'] = merge([ {'--conditions':'auto:com10_%s'%menu}, steps['HARVESTD'] ])
01023
01024 steps['HARVESTDDQM']=merge([{'-s':'HARVESTING:@common+@muon+@hcal+@jetmet+@ecal'},steps['HARVESTD']])
01025
01026 steps['HARVESTDfst2']=merge([{'--filein':'file:step2_inDQM.root'},steps['HARVESTD']])
01027
01028 steps['HARVESTDC']={'-s':'HARVESTING:dqmHarvesting',
01029 '--conditions':'auto:com10',
01030 '--filetype':'DQM',
01031 '--data':'',
01032 '--filein':'file:step2_inDQM.root',
01033 '--scenario':'cosmics'}
01034 steps['HARVESTDHI']={'-s':'HARVESTING:dqmHarvesting',
01035 '--conditions':'auto:com10',
01036 '--filetype':'DQM',
01037 '--data':'',
01038 '--scenario':'HeavyIons'}
01039
01040
01041 steps['HARVEST']={'-s':'HARVESTING:validationHarvesting+dqmHarvesting',
01042 '--conditions':'auto:startup',
01043 '--mc':'',
01044 '--scenario':'pp'}
01045 steps['HARVESTCOS']={'-s':'HARVESTING:dqmHarvesting',
01046 '--conditions':'auto:startup',
01047 '--mc':'',
01048 '--filein':'file:step3_inDQM.root',
01049 '--scenario':'cosmics'}
01050 steps['HARVESTFS']={'-s':'HARVESTING:validationHarvestingFS',
01051 '--conditions':'auto:startup',
01052 '--mc':'',
01053 '--scenario':'pp'}
01054 steps['HARVESTHI']={'-s':'HARVESTING:validationHarvesting+dqmHarvesting',
01055 '--conditions':'auto:starthi_HIon',
01056 '--mc':'',
01057 '--scenario':'HeavyIons'}
01058
01059
01060 steps['HARVESTUP']={'-s':'HARVESTING:validationHarvesting+dqmHarvesting',
01061 '--conditions':'DESIGN61_V10::All',
01062 '--mc':'',
01063 '--customise' : 'SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise'
01064 }
01065
01066 steps['HARVESTUP15']={'-s':'HARVESTING:validationHarvesting+dqmHarvesting',
01067 '--conditions':'auto:upgradePLS1',
01068 '--mc':'',
01069 '--customise' : 'SLHCUpgradeSimulations/Configuration/postLS1Customs.customisePostLS1'
01070 }
01071 steps['HARVESTUP16']={'-s':'HARVESTING:validationHarvesting+dqmHarvesting',
01072 '--conditions':'auto:upgradePLS1',
01073 '--mc':'',
01074 '--customise' : 'SLHCUpgradeSimulations/Configuration/phase1TkCustoms.customise'
01075 }
01076 steps['ALCASPLIT']={'-s':'ALCAOUTPUT:@allForPrompt',
01077 '--conditions':'auto:com10',
01078 '--scenario':'pp',
01079 '--data':'',
01080 '--triggerResultsProcess':'RECO',
01081 '--filein':'file:step2_inALCARECO.root'}
01082
01083 steps['SKIMD']={'-s':'SKIM:all',
01084 '--conditions':'auto:com10',
01085 '--data':'',
01086 '--scenario':'pp',
01087 '--filein':'file:step2.root',
01088 '--secondfilein':'filelist:step1_dbsquery.log'}
01089
01090 steps['SKIMDreHLT'] = merge([ {'--conditions':'auto:com10_%s'%menu,'--filein':'file:step3.root'}, steps['SKIMD'] ])
01091
01092 steps['SKIMCOSD']={'-s':'SKIM:all',
01093 '--conditions':'auto:com10',
01094 '--data':'',
01095 '--scenario':'cosmics',
01096 '--filein':'file:step2.root',
01097 '--secondfilein':'filelist:step1_dbsquery.log'}
01098
01099
01100
01101
01102
01103
01104
01105
01106
01107
01108
01109
01110
01111
01112
01113 steps['RECOFROMRECO']=merge([{'-s':'RECO',
01114 '--filtername':'RECOfromRECO',
01115 '--process':'reRECO',
01116 '--datatier':'AODSIM',
01117 '--eventcontent':'AODSIM',
01118 },
01119 stCond,step3Defaults])
01120
01121
01122 steps['RECOFROMRECOSt2']=steps['RECOFROMRECO']
01123
01124 steps['RECODFROMRAWRECO']=merge([{'-s':'RAW2DIGI:RawToDigi_noTk,L1Reco,RECO:reconstruction_noTracking',
01125 '--filtername':'RECOfromRAWRECO',
01126 '--process':'rereRECO',
01127 '--datatier':'AOD',
01128 '--eventcontent':'AOD',
01129 '--secondfilein':'filelist:step1_dbsquery.log',
01130 },
01131 steps['RECOD']])
01132
01133
01134 steps['COPYPASTE']={'-s':'NONE',
01135 '--conditions':'auto:startup',
01136 '--output':'\'[{"t":"RAW","e":"ALL"}]\'',
01137 '--customise_commands':'"process.ALLRAWoutput.fastCloning=cms.untracked.bool(False)"'}