Skip to content

Commit

Permalink
Merge pull request #24558 from zhenhu/addHybridZSRelval2015_102X
Browse files Browse the repository at this point in the history
[10.2.X] backport: Introduce RelVal wf for testing Hybrid ZeroSuppression
  • Loading branch information
cmsbuild committed Sep 18, 2018
2 parents 897154b + 63822d4 commit 42c0255
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Configuration/PyReleaseValidation/python/MatrixInjector.py
Expand Up @@ -245,7 +245,9 @@ def prepare(self,mReader, directories, mode='init'):
wmsplit['RECOUP17_PU25']=1
wmsplit['DIGICOS_UP17']=1
wmsplit['RECOCOS_UP17']=1

wmsplit['HYBRIDRepackHI2015VR']=1
wmsplit['HYBRIDZSHI2015']=1
wmsplit['RECOHID15']=1

#import pprint
#pprint.pprint(wmsplit)
Expand Down Expand Up @@ -484,6 +486,8 @@ def prepare(self,mReader, directories, mode='init'):
t['KeepOutput']=True
elif t['TaskName'] in self.keep:
t['KeepOutput']=True
if t['TaskName'].startswith('HYBRIDRepackHI2015VR'):
t['KeepOutput']=False
t.pop('nowmIO')
itask+=1
chainDict['Task%d'%(itask)]=t
Expand Down
2 changes: 2 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_standard.py
Expand Up @@ -115,6 +115,8 @@
workflows[140.53] = ['',['RunHI2011','RECOHID11','HARVESTDHI']]
workflows[140.54] = ['',['RunPA2013','RECO_PPbData','HARVEST_PPbData']]

workflows[140.55] = ['',['RunHI2015VR','HYBRIDRepackHI2015VR','HYBRIDZSHI2015','RECOHID15','HARVESTDHI15']]

### run2 2015B 50ns ###
workflows[134.701] = ['',['RunHLTPhy2015B','HLTDR2_50ns','RECODR2_50nsreHLT_HIPM','HARVESTDR2']]
workflows[134.702] = ['',['RunDoubleEG2015B','HLTDR2_50ns','RECODR2_50nsreHLT_HIPM','HARVESTDR2']]
Expand Down
30 changes: 30 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Expand Up @@ -93,6 +93,9 @@
steps['RunHI2011']={'INPUT':InputInfo(dataSet='/HIMinBiasUPC/HIRun2011-v1/RAW',label='hi2011',run=[182124],events=10000,location='STD')}
steps['RunPA2013']={'INPUT':InputInfo(dataSet='/PAMinBiasUPC/HIRun2013-v1/RAW',label='pa2013',run=[211313],events=10000,location='STD')}

Run2015HI={263400: [[65,904]]}
steps['RunHI2015VR']={'INPUT':InputInfo(dataSet='/HITrackerVirginRaw/HIRun2015-v1/RAW',label='hi2015vr',events=10000,location='STD',ls=Run2015HI)}

Run2012A=[191226]
Run2012ASk=Run2012A+[]
steps['RunMinBias2012A']={'INPUT':InputInfo(dataSet='/MinimumBias/Run2012A-v1/RAW',label='mb2012A',run=Run2012A, events=100000,location='STD')}
Expand Down Expand Up @@ -1505,6 +1508,30 @@ def lhegensim2017(fragment,howMuch):
steps['RECOHID10']['--datatier']+=',RAW'
steps['RECOHID10']['--eventcontent']+=',REPACKRAW'

steps['HYBRIDRepackHI2015VR']={'--eventcontent':'RAW',
'--datatier':'RAW',
'--conditions':'auto:run2_data',
'--step':'RAW2DIGI,REPACK:DigiToHybridRawRepack',
'--scenario':'HeavyIons',
'--data':'',
'--era':'Run2_HI',
'--customise':'RecoLocalTracker/SiStripZeroSuppression/customiseHybrid.addHybridEmulationBeforeRepack',
'--processName':'EMULATEHYBRID',
#'--customise_commands':'\'process.RAWoutput.outputCommands.append(\"drop *_*_*_HLT*\")\'',
'-n':100
}

steps['HYBRIDZSHI2015']=merge([{'--step': 'RAW2DIGI,REPACK:DigiToRawRepack',
'--processName':'REHLT',
'--customise': 'RecoLocalTracker/SiStripZeroSuppression/customiseHybrid.runOnHybridZS,RecoLocalTracker/SiStripZeroSuppression/customiseHybrid.repackZSHybrid',
'--customise_commands':'\'from Configuration.Applications.ConfigBuilder import MassReplaceInputTag; MassReplaceInputTag(process, new="hybridRawDataRepacker")\'' ,
},steps['HYBRIDRepackHI2015VR']])

steps['RECOHID15']=merge([{ '--runUnscheduled':'',
'--conditions':'auto:run2_data',
'--era':'Run2_HI'
},steps['RECOHID11']])

steps['TIER0']=merge([{'--customise':'Configuration/DataProcessing/RecoTLR.customisePrompt',
'-s':'RAW2DIGI,L1Reco,RECO,EI,ALCAPRODUCER:@allForPrompt,DQM:@allForPrompt,ENDJOB',
'--datatier':'RECO,AOD,ALCARECO,DQMIO',
Expand Down Expand Up @@ -2193,6 +2220,9 @@ def gen2018HiMix(fragment,howMuch):
'--data':'',
'--scenario':'HeavyIons'}

steps['HARVESTDHI15']=merge([{ '--conditions':'auto:run2_data',
'--era':'Run2_HI',
'-n':-1},steps['HARVESTDHI']])

#MC
steps['HARVEST']={'-s':'HARVESTING:validationHarvestingNoHLT+dqmHarvestingFakeHLT',
Expand Down

0 comments on commit 42c0255

Please sign in to comment.