CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
relval_upgrade.py
Go to the documentation of this file.
1 
2 # import the definition of the steps and input files:
4 
5 # here only define the workflows as a combination of the steps defined above:
6 workflows = Matrix()
7 
8 # each workflow defines a name and a list of steps to be done.
9 # if no explicit name/label given for the workflow (first arg),
10 # the name of step1 will be used
11 
12 
13 
14 #just define all of them
15 
16 numWFStart=10000
17 numWFSkip=200
18 
19 for i,key in enumerate(upgradeKeys):
20  numWF=numWFStart+i*numWFSkip
21  for frag in upgradeFragments:
22  k=frag[:-4]+'_'+key
23  stepList=[]
24  for step in upgradeScenToRun[key]:
25  if 'Sim' in step:
26  stepList.append(k+'_'+step)
27  else:
28  stepList.append(step+'_'+key)
29  workflows[numWF] = [ upgradeDatasetFromFragment[frag], stepList]
30  numWF+=1
CLHEP::HepMatrix Matrix
Definition: matutil.h:65