CMS 3D CMS Logo

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

Public Member Functions

def condition (self, fragment, stepList, key, hasHarvest)
 
def setupPU_ (self, step, stepName, stepDict, k, properties)
 
- Public Member Functions inherited from upgradeWorkflowComponents.UpgradeWorkflowPremix
def setup_ (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
 

Additional Inherited Members

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

Detailed Description

Definition at line 922 of file upgradeWorkflowComponents.py.

Member Function Documentation

◆ condition()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflowPremix.

Definition at line 928 of file upgradeWorkflowComponents.py.

928  def condition(self, fragment, stepList, key, hasHarvest):
929  # restrict to phase2
930  return super(UpgradeWorkflowAdjustPU,self).condition(fragment, stepList, key, hasHarvest) and '2026' in key
931 upgradeWFs['PMXS1S2PR'] = UpgradeWorkflowAdjustPU(

◆ setupPU_()

def upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.setupPU_ (   self,
  step,
  stepName,
  stepDict,
  k,
  properties 
)

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflowPremix.

Definition at line 923 of file upgradeWorkflowComponents.py.

923  def setupPU_(self, step, stepName, stepDict, k, properties):
924  # adjust first, so it gets copied into new Premix step
925  if '--pileup' in stepDict[stepName][k]:
926  stepDict[stepName][k]['--pileup'] = 'AVE_50_BX_25ns_m3p3'
927  super(UpgradeWorkflowAdjustPU,self).setupPU_(step, stepName, stepDict, k, properties)

Member Data Documentation

◆ offset

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.offset
static

Definition at line 947 of file upgradeWorkflowComponents.py.

◆ PU

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.PU
static

Definition at line 933 of file upgradeWorkflowComponents.py.

◆ steps

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.steps
static

Definition at line 932 of file upgradeWorkflowComponents.py.

◆ suffix

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.suffix
static

Definition at line 946 of file upgradeWorkflowComponents.py.