CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes
upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike Class Reference
Inheritance diagram for upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike:
upgradeWorkflowComponents.UpgradeWorkflowPremix upgradeWorkflowComponents.UpgradeWorkflow_ProdLike upgradeWorkflowComponents.UpgradeWorkflow upgradeWorkflowComponents.UpgradeWorkflow

Public Member Functions

def condition (self, fragment, stepList, key, hasHarvest)
 
def setup_ (self, step, stepName, stepDict, k, properties)
 
- Public Member Functions inherited from upgradeWorkflowComponents.UpgradeWorkflowPremix
def condition (self, fragment, stepList, key, hasHarvest)
 
def setup_ (self, step, stepName, stepDict, k, properties)
 
def setupPU_ (self, step, stepName, stepDict, k, properties)
 
def workflow_ (self, workflows, num, fragment, stepList, key)
 
- Public Member Functions inherited from upgradeWorkflowComponents.UpgradeWorkflow
def __init__ (self, steps, PU, suffix, offset)
 
def condition (self, fragment, stepList, key, hasHarvest)
 
def getStepName (self, step, extra="")
 
def getStepNamePU (self, step, extra="")
 
def init (self, stepDict)
 
def preventReuse (self, stepName, stepDict, k)
 
def setup (self, stepDict, k, properties)
 
def setup_ (self, step, stepName, stepDict, k, properties)
 
def setupPU (self, stepDict, k, properties)
 
def setupPU_ (self, step, stepName, stepDict, k, properties)
 
def workflow (self, workflows, num, fragment, stepList, key, hasHarvest)
 
def workflow_ (self, workflows, num, fragment, stepList, key)
 
- Public Member Functions inherited from upgradeWorkflowComponents.UpgradeWorkflow_ProdLike
def condition (self, fragment, stepList, key, hasHarvest)
 
def setup_ (self, step, stepName, stepDict, k, properties)
 

Static Public Attributes

 offset
 
 PU
 
 steps
 
 suffix
 
- Static Public Attributes inherited from upgradeWorkflowComponents.UpgradeWorkflowPremix
 offset
 
 PU
 
 steps
 
 suffix
 
- Static Public Attributes inherited from upgradeWorkflowComponents.UpgradeWorkflow_ProdLike
 offset
 
 PU
 
 steps
 
 suffix
 

Additional Inherited Members

- Public Attributes inherited from upgradeWorkflowComponents.UpgradeWorkflow
 allowReuse
 
 offset
 
 PU
 
 steps
 
 suffix
 

Detailed Description

Definition at line 2480 of file upgradeWorkflowComponents.py.

Member Function Documentation

◆ condition()

def upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.condition (   self,
  fragment,
  stepList,
  key,
  hasHarvest 
)

Definition at line 2500 of file upgradeWorkflowComponents.py.

2500  def condition(self, fragment, stepList, key, hasHarvest):
2501  # use both conditions
2502  return UpgradeWorkflowPremix.condition(self, fragment, stepList, key, hasHarvest) and UpgradeWorkflow_ProdLike.condition(self, fragment, stepList, key, hasHarvest)
2503 # premix stage2
2504 upgradeWFs['PMXS2ProdLike'] = UpgradeWorkflowPremixProdLike(

◆ setup_()

def upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.setup_ (   self,
  step,
  stepName,
  stepDict,
  k,
  properties 
)

Definition at line 2481 of file upgradeWorkflowComponents.py.

References upgradeWorkflowComponents.UpgradeWorkflow.getStepName(), join(), and submitPVValidationJobs.split().

2481  def setup_(self, step, stepName, stepDict, k, properties):
2482  # copy steps, then apply specializations
2483  UpgradeWorkflowPremix.setup_(self, step, stepName, stepDict, k, properties)
2484  UpgradeWorkflow_ProdLike.setup_(self, step, stepName, stepDict, k, properties)
2485  #
2486  if 'Digi' in step:
2487  d = merge([stepDict[self.getStepName(step)][k]])
2488  tmpsteps = []
2489  for s in d["-s"].split(","):
2490  if "DIGI:pdigi_valid" in s:
2491  tmpsteps.append("DIGI")
2492  else:
2493  tmpsteps.append(s)
2494  d = merge([{"-s" : ",".join(tmpsteps),
2495  "--eventcontent": "PREMIXRAW"},
2496  d])
2497  stepDict[stepName][k] = d
2498  if 'Nano'==step:
2499  stepDict[stepName][k] = merge([{'--filein':'file:step5.root','-s':'NANO','--datatier':'NANOAODSIM','--eventcontent':'NANOEDMAODSIM'}, stepDict[step][k]])
Definition: merge.py:1
static std::string join(char **cmd)
Definition: RemoteFile.cc:19

Member Data Documentation

◆ offset

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.offset
static

Definition at line 2525 of file upgradeWorkflowComponents.py.

◆ PU

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.PU
static

Definition at line 2506 of file upgradeWorkflowComponents.py.

◆ steps

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.steps
static

Definition at line 2505 of file upgradeWorkflowComponents.py.

◆ suffix

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.suffix
static

Definition at line 2524 of file upgradeWorkflowComponents.py.