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

Member Function Documentation

◆ condition()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflowPremix.

Definition at line 975 of file upgradeWorkflowComponents.py.

975  def condition(self, fragment, stepList, key, hasHarvest):
976  # restrict to phase2
977  return super(UpgradeWorkflowAdjustPU,self).condition(fragment, stepList, key, hasHarvest) and '2026' in key
978 upgradeWFs['PMXS1S2PR'] = UpgradeWorkflowAdjustPU(

◆ setupPU_()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflowPremix.

Definition at line 970 of file upgradeWorkflowComponents.py.

970  def setupPU_(self, step, stepName, stepDict, k, properties):
971  # adjust first, so it gets copied into new Premix step
972  if '--pileup' in stepDict[stepName][k]:
973  stepDict[stepName][k]['--pileup'] = 'AVE_50_BX_25ns_m3p3'
974  super(UpgradeWorkflowAdjustPU,self).setupPU_(step, stepName, stepDict, k, properties)

Member Data Documentation

◆ offset

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.offset
static

Definition at line 994 of file upgradeWorkflowComponents.py.

◆ PU

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.PU
static

Definition at line 980 of file upgradeWorkflowComponents.py.

◆ steps

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.steps
static

Definition at line 979 of file upgradeWorkflowComponents.py.

◆ suffix

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.suffix
static

Definition at line 993 of file upgradeWorkflowComponents.py.