CMS 3D CMS Logo

List of all members | Public Member Functions
upgradeWorkflowComponents.UpgradeWorkflowTracking Class Reference
Inheritance diagram for upgradeWorkflowComponents.UpgradeWorkflowTracking:
upgradeWorkflowComponents.UpgradeWorkflow upgradeWorkflowComponents.UpgradeWorkflow_pixelTrackingOnly upgradeWorkflowComponents.UpgradeWorkflow_trackingLowPU upgradeWorkflowComponents.UpgradeWorkflow_trackingMkFit upgradeWorkflowComponents.UpgradeWorkflow_trackingOnly upgradeWorkflowComponents.UpgradeWorkflow_trackingOnlyRun2 upgradeWorkflowComponents.UpgradeWorkflow_trackingRun2

Public Member Functions

def condition (self, fragment, stepList, key, hasHarvest)
 
def condition_ (self, fragment, stepList, key, hasHarvest)
 
- 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 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)
 

Additional Inherited Members

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

Detailed Description

Definition at line 188 of file upgradeWorkflowComponents.py.

Member Function Documentation

◆ condition()

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

Reimplemented from upgradeWorkflowComponents.UpgradeWorkflow.

Definition at line 189 of file upgradeWorkflowComponents.py.

189  def condition(self, fragment, stepList, key, hasHarvest):
190  result = (fragment=="TTbar_13" or fragment=="TTbar_14TeV") and not 'PU' in key and hasHarvest and self.condition_(fragment, stepList, key, hasHarvest)
191  if result:
192  # skip ALCA and Nano
193  skipList = [s for s in stepList if (("ALCA" in s) or ("Nano" in s))]
194  for skip in skipList:
195  stepList.remove(skip)
196  return result

References upgradeWorkflowComponents.UpgradeWorkflowTracking.condition_(), and timestudy::SleepingServer.condition_.

◆ condition_()

def upgradeWorkflowComponents.UpgradeWorkflowTracking.condition_ (   self,
  fragment,
  stepList,
  key,
  hasHarvest 
)