Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Configuration/PyReleaseValidation/python/relval_2017.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
3 changes: 2 additions & 1 deletion Configuration/PyReleaseValidation/python/relval_Run4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix
from functools import partial

# here only define the workflows as a combination of the steps defined above:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
3 changes: 2 additions & 1 deletion Configuration/PyReleaseValidation/python/relval_ged.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
1 change: 1 addition & 0 deletions Configuration/PyReleaseValidation/python/relval_gpu.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
2 changes: 1 addition & 1 deletion Configuration/PyReleaseValidation/python/relval_machine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from Configuration.PyReleaseValidation.relval_steps import Matrix, InputInfo, Steps
from .MatrixUtil import Matrix, InputInfo, Steps
import os
import json
import collections
Expand Down
1 change: 1 addition & 0 deletions Configuration/PyReleaseValidation/python/relval_nano.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix
import math


Expand Down
3 changes: 2 additions & 1 deletion Configuration/PyReleaseValidation/python/relval_pileup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
3 changes: 2 additions & 1 deletion Configuration/PyReleaseValidation/python/relval_premix.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down
136 changes: 55 additions & 81 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import sys
from copy import deepcopy
from functools import partial

from .MatrixUtil import *
from .MatrixUtil import Steps, merge, remove, Kby, Mby, genvalid, InputInfo, selectedLS, stCond

from Configuration.HLT.autoHLT import autoHLT
from Configuration.AlCa.autoPCL import autoPCL
Expand Down Expand Up @@ -3810,9 +3811,6 @@ def gen2024HiMix(fragment,howMuch):
# '-s':'RECO,HLT:@fake,VALIDATION'},
# steps['RECO']])

#add this line when testing from an input file that is not strictly GEN-SIM
#addForAll(step3,{'--hltProcess':'DIGI'})

steps['ALCACOSD']={'--conditions':'auto:run1_data',
'--datatier':'ALCARECO',
'--eventcontent':'ALCARECO',
Expand Down Expand Up @@ -4931,96 +4929,72 @@ def gen2024HiMix(fragment,howMuch):
upgradeStepDict['GenHLBeamSpot'][k] = merge([{'--conditions' : gt+'_13TeV'}, upgradeStepDict['Gen'][k]])
upgradeStepDict['GenHLBeamSpot14'][k] = merge([{}, upgradeStepDict['Gen'][k]])

upgradeStepDict['GenSim'][k]= {'-s' : 'GEN,SIM',
'-n' : 10,
'--conditions' : gt,
'--beamspot' : 'Realistic25ns13TeVEarly2017Collision',
'--datatier' : 'GEN-SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}
upgradeStepDict['GenSim'][k] = {'-s' : 'GEN,SIM',
'-n' : 10,
'--conditions' : gt,
'--beamspot' : 'Realistic25ns13TeVEarly2017Collision',
'--datatier' : 'GEN-SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}

if beamspot is not None: upgradeStepDict['GenSim'][k]['--beamspot']=beamspot

upgradeStepDict['GenSimHLBeamSpot'][k]= {'-s' : 'GEN,SIM',
'-n' : 10,
'--conditions' : gt+'_13TeV',
'--beamspot' : 'DBrealisticHLLHC',
'--datatier' : 'GEN-SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}

upgradeStepDict['GenSimHLBeamSpot14'][k]= {'-s' : 'GEN,SIM',
'-n' : 10,
'--conditions' : gt,
'--beamspot' : 'DBrealisticHLLHC',
'--datatier' : 'GEN-SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}

upgradeStepDict['GenSimHLBeamSpotCloseBy'][k]= {'-s' : 'GEN,SIM',
'-n' : 10,
'--conditions' : gt,
'--beamspot' : 'CloseBy',
'--datatier' : 'GEN-SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}

upgradeStepDict['Sim'][k]= {'-s' : 'SIM',
'-n' : 10,
'--conditions' : gt,
'--beamspot' : 'Realistic25ns13TeVEarly2017Collision',
'--datatier' : 'SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}
upgradeStepDict['GenSimCloseBy'][k] = deepcopy(upgradeStepDict['GenSim'][k])
upgradeStepDict['GenSimCloseBy'][k]['--beamspot'] = 'CloseBy'

upgradeStepDict['GenSimHLBeamSpot'][k] = {'-s' : 'GEN,SIM',
'-n' : 10,
'--conditions' : gt+'_13TeV',
'--beamspot' : 'DBrealisticHLLHC',
'--datatier' : 'GEN-SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}

upgradeStepDict['GenSimHLBeamSpot14'][k] = deepcopy(upgradeStepDict['GenSimHLBeamSpot'][k])
upgradeStepDict['GenSimHLBeamSpot14'][k]['--conditions'] = gt

upgradeStepDict['GenSimHLBeamSpotCloseBy'][k] = upgradeStepDict['GenSimCloseBy'][k]

upgradeStepDict['Sim'][k] = {'-s' : 'SIM',
'-n' : 10,
'--conditions' : gt,
'--beamspot' : 'Realistic25ns13TeVEarly2017Collision',
'--datatier' : 'SIM',
'--eventcontent': 'FEVTDEBUG',
'--geometry' : geom
}

if beamspot is not None: upgradeStepDict['Sim'][k]['--beamspot']=beamspot


upgradeStepDict['Digi'][k] = {'-s':'DIGI:pdigi_valid,L1,DIGI2RAW,HLT:%s'%(hltversion),
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom
}
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom
}

upgradeStepDict['DigiNoHLT'][k] = {'-s':'DIGI:pdigi_valid,L1,DIGI2RAW',
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom
}
upgradeStepDict['DigiNoHLT'][k] = deepcopy(upgradeStepDict['Digi'][k])
upgradeStepDict['DigiNoHLT'][k]['-s'] = 'DIGI:pdigi_valid,L1,DIGI2RAW'

upgradeStepDict['HLTOnly'][k] = {'-s':'HLT:%s'%(hltversion),
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom,
}
upgradeStepDict['HLTOnly'][k] = deepcopy(upgradeStepDict['Digi'][k])
upgradeStepDict['HLTOnly'][k]['-s'] = 'HLT:%s'%(hltversion)

# Adding Track trigger step in step2
upgradeStepDict['DigiTrigger'][k] = {'-s':'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:%s'%(hltversion),
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom
}
upgradeStepDict['DigiTrigger'][k] = deepcopy(upgradeStepDict['Digi'][k])
upgradeStepDict['DigiTrigger'][k]['-s'] = 'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:%s'%(hltversion)

upgradeStepDict['HLTRun3'][k] = {'-s':'HLT:%s'%(hltversion),
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom,
'--outputCommands' : '"drop *_*_*_GEN,drop *_*_*_DIGI2RAW"'
}
'--conditions':gt,
'--datatier':'GEN-SIM-DIGI-RAW',
'-n':'10',
'--eventcontent':'FEVTDEBUGHLT',
'--geometry' : geom,
'--outputCommands' : '"drop *_*_*_GEN,drop *_*_*_DIGI2RAW"'
}

upgradeStepDict['HLT75e33'][k] = {'-s':'HLT:@relvalRun4',
'--processName':'HLTX',
Expand Down
5 changes: 4 additions & 1 deletion Configuration/PyReleaseValidation/python/relval_upgrade.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# import the definition of the steps and input files:
from Configuration.PyReleaseValidation.relval_steps import *
from .MatrixUtil import Matrix

# here only define the workflows as a combination of the steps defined above:
workflows = Matrix()
Expand Down Expand Up @@ -40,8 +41,10 @@ def notForGenOnly(key,specialType):
if 'HLBeamSpot' in step:
if '14TeV' in frag:
step = 'GenSimHLBeamSpot14'
if 'CloseBy' in frag or 'CE_E' in frag or 'CE_H' in frag:
elif 'CloseBy' in frag or 'CE_E' in frag or 'CE_H' in frag:
step = 'GenSimHLBeamSpotCloseBy'
elif 'CloseBy' in frag or 'CE_E' in frag or 'CE_H' in frag:
step = 'GenSimCloseBy'
stepMaker = makeStepNameSim
elif 'Gen' in step:
if 'HLBeamSpot' in step:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from copy import copy, deepcopy
from copy import deepcopy
from collections import OrderedDict
from .MatrixUtil import merge, Kby, Mby, check_dups
import re
Expand Down Expand Up @@ -207,6 +207,7 @@ def condition(self, fragment, stepList, key, hasHarvest):
'GenHLBeamSpot14',
'Sim',
'GenSim',
'GenSimCloseBy',
'GenSimHLBeamSpot',
'GenSimHLBeamSpot14',
'GenSimHLBeamSpotCloseBy',
Expand Down