Skip to content

Commit

Permalink
Switch the 'old' 2017 tracking back to default, and CA seeding to the…
Browse files Browse the repository at this point in the history
… special workflows
  • Loading branch information
makortel committed Dec 13, 2016
1 parent e66db97 commit 8a86cb5
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Configuration/Eras/python/Era_Run2_2017_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.ModifierChain_run2_2017_core_cff import run2_2017_core
from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
from Configuration.Eras.Modifier_trackingPhase1QuadProp_cff import trackingPhase1QuadProp

Run2_2017 = cms.ModifierChain(run2_2017_core, trackingPhase1)
Run2_2017 = cms.ModifierChain(run2_2017_core, trackingPhase1QuadProp)

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.ModifierChain_run2_2017_core_cff import run2_2017_core
from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1

Run2_2017_trackingPhase1CA = cms.ModifierChain(run2_2017_core, trackingPhase1)

This file was deleted.

10 changes: 5 additions & 5 deletions Configuration/PyReleaseValidation/python/relval_2017.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ def _trackingRun2(stepList):
continue
res.append(s)
return res
def _trackingPhase1QuadProp(stepList):
def _trackingPhase1CA(stepList):
res = []
for step in stepList:
s = step
if 'RecoFull' in step:
if 'trackingOnly' in step:
s = s.replace('Only', 'OnlyPhase1QuadProp')
s = s.replace('Only', 'OnlyPhase1CA')
else:
s = s.replace('Full', 'Full_trackingPhase1QuadProp')
s = s.replace('Full', 'Full_trackingPhase1CA')
if 'ALCA' in s:
continue
res.append(s)
Expand All @@ -73,5 +73,5 @@ def _trackingPhase1QuadProp(stepList):
workflows[10024.1] = [ workflows[10024.0][0], _trackingOnly(workflows[10024.0][1]) ]
workflows[10024.2] = [ workflows[10024.0][0], _trackingRun2(workflows[10024.0][1]) ]
workflows[10024.3] = [ workflows[10024.1][0], _trackingRun2(workflows[10024.1][1]) ]
workflows[10024.4] = [ workflows[10024.0][0], _trackingPhase1QuadProp(workflows[10024.0][1]) ]
workflows[10024.5] = [ workflows[10024.1][0], _trackingPhase1QuadProp(workflows[10024.1][1]) ]
workflows[10024.4] = [ workflows[10024.0][0], _trackingPhase1CA(workflows[10024.0][1]) ]
workflows[10024.5] = [ workflows[10024.1][0], _trackingPhase1CA(workflows[10024.1][1]) ]
4 changes: 2 additions & 2 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -1937,5 +1937,5 @@ def lhegensim(fragment,howMuch):
# 2017 tracking specific eras
steps['RecoFull_trackingRun2_2017'] = merge([{'--era': 'Run2_2017_trackingRun2'}, steps['RecoFull_2017']])
steps['RecoFull_trackingOnlyRun2_2017'] = merge([{'--era': 'Run2_2017_trackingRun2'}, steps['RecoFull_trackingOnly_2017']])
steps['RecoFull_trackingPhase1QuadProp_2017'] = merge([{'--era': 'Run2_2017_trackingPhase1QuadProp'}, steps['RecoFull_2017']])
steps['RecoFull_trackingOnlyPhase1QuadProp_2017'] = merge([{'--era': 'Run2_2017_trackingPhase1QuadProp'}, steps['RecoFull_trackingOnly_2017']])
steps['RecoFull_trackingPhase1CA_2017'] = merge([{'--era': 'Run2_2017_trackingPhase1CA'}, steps['RecoFull_2017']])
steps['RecoFull_trackingOnlyPhase1CA_2017'] = merge([{'--era': 'Run2_2017_trackingPhase1CA'}, steps['RecoFull_trackingOnly_2017']])
2 changes: 1 addition & 1 deletion Configuration/StandardSequences/python/Eras.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self):
'Run2_2016_pA',
'Run2_2017',
'Run2_2017_trackingRun2',
'Run2_2017_trackingPhase1QuadProp',
'Run2_2017_trackingPhase1CA',
'Run3',
'Phase2C1',
'Phase2C2',
Expand Down

0 comments on commit 8a86cb5

Please sign in to comment.