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

Member Function Documentation

◆ condition()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflowPremix.

Definition at line 870 of file upgradeWorkflowComponents.py.

870  def condition(self, fragment, stepList, key, hasHarvest):
871  # restrict to phase2
872  return super(UpgradeWorkflowAdjustPU,self).condition(fragment, stepList, key, hasHarvest) and '2026' in key
873 upgradeWFs['PMXS1S2PR'] = UpgradeWorkflowAdjustPU(

◆ setupPU_()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflowPremix.

Definition at line 865 of file upgradeWorkflowComponents.py.

865  def setupPU_(self, step, stepName, stepDict, k, properties):
866  # adjust first, so it gets copied into new Premix step
867  if '--pileup' in stepDict[stepName][k]:
868  stepDict[stepName][k]['--pileup'] = 'AVE_50_BX_25ns_m3p3'
869  super(UpgradeWorkflowAdjustPU,self).setupPU_(step, stepName, stepDict, k, properties)

Member Data Documentation

◆ offset

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.offset
static

Definition at line 889 of file upgradeWorkflowComponents.py.

◆ PU

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.PU
static

Definition at line 875 of file upgradeWorkflowComponents.py.

◆ steps

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.steps
static

Definition at line 874 of file upgradeWorkflowComponents.py.

◆ suffix

upgradeWorkflowComponents.UpgradeWorkflowAdjustPU.suffix
static

Definition at line 888 of file upgradeWorkflowComponents.py.

goodZToMuMu_cfi.condition
condition
Definition: goodZToMuMu_cfi.py:37