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 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 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 setupPU (self, stepDict, k, properties)
 
def workflow (self, workflows, num, fragment, stepList, key, hasHarvest)
 

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 950 of file upgradeWorkflowComponents.py.

Member Function Documentation

◆ condition()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflow_ProdLike.

Definition at line 968 of file upgradeWorkflowComponents.py.

968  def condition(self, fragment, stepList, key, hasHarvest):
969  # use both conditions
970  return UpgradeWorkflowPremix.condition(self, fragment, stepList, key, hasHarvest) and UpgradeWorkflow_ProdLike.condition(self, fragment, stepList, key, hasHarvest)
971 # premix stage2
972 upgradeWFs['PMXS2ProdLike'] = UpgradeWorkflowPremixProdLike(

◆ setup_()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflow_ProdLike.

Definition at line 951 of file upgradeWorkflowComponents.py.

951  def setup_(self, step, stepName, stepDict, k, properties):
952  # copy steps, then apply specializations
953  UpgradeWorkflowPremix.setup_(self, step, stepName, stepDict, k, properties)
954  UpgradeWorkflow_ProdLike.setup_(self, step, stepName, stepDict, k, properties)
955  #
956  if 'Digi' in step:
957  d = merge([stepDict[self.getStepName(step)][k]])
958  tmpsteps = []
959  for s in d["-s"].split(","):
960  if "DIGI:pdigi_valid" in s:
961  tmpsteps.append("DIGI")
962  else:
963  tmpsteps.append(s)
964  d = merge([{"-s" : ",".join(tmpsteps),
965  "--eventcontent": "PREMIXRAW"},
966  d])
967  stepDict[stepName][k] = d

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

Member Data Documentation

◆ offset

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.offset
static

Definition at line 987 of file upgradeWorkflowComponents.py.

◆ PU

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.PU
static

Definition at line 974 of file upgradeWorkflowComponents.py.

◆ steps

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.steps
static

Definition at line 973 of file upgradeWorkflowComponents.py.

◆ suffix

upgradeWorkflowComponents.UpgradeWorkflowPremixProdLike.suffix
static

Definition at line 986 of file upgradeWorkflowComponents.py.

join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
submitPVValidationJobs.split
def split(sequence, size)
Definition: submitPVValidationJobs.py:352
merge
Definition: merge.py:1