CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, steps, PU, suffix, offset)
 
def condition (self, fragment, stepList, key, hasHarvest)
 
def condition_ (self, fragment, stepList, key, hasHarvest)
 
def setup_ (self, step, stepName, stepDict, k, properties)
 
def setup__ (self, step, stepName, stepDict, k, properties)
 
- Public Member Functions inherited from upgradeWorkflowComponents.UpgradeWorkflow
def __init__ (self, steps, PU, suffix, offset)
 
def condition (self, fragment, stepList, key, hasHarvest)
 
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 240 of file upgradeWorkflowComponents.py.

Constructor & Destructor Documentation

◆ __init__()

def upgradeWorkflowComponents.UpgradeWorkflowTracking.__init__ (   self,
  steps,
  PU,
  suffix,
  offset 
)

Definition at line 242 of file upgradeWorkflowComponents.py.

242  def __init__(self, steps, PU, suffix, offset):
243  # always include some steps that will be skipped
244  steps = steps + ["ALCA","Nano"]
245  super().__init__(steps, PU, suffix, offset)
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ condition()

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

Definition at line 246 of file upgradeWorkflowComponents.py.

References edm::waiting_task::detail::ConditionalAdaptor< F >.condition_, upgradeWorkflowComponents.UpgradeWorkflowTracking.condition_(), edm::waiting_task::detail::WaitingTaskChain< Conditional< U >, T... >.condition_, and timestudy::SleepingServer.condition_.

246  def condition(self, fragment, stepList, key, hasHarvest):
247  result = (fragment=="TTbar_13" or fragment=="TTbar_14TeV") and not 'PU' in key and hasHarvest and self.condition_(fragment, stepList, key, hasHarvest)
248  return result

◆ condition_()

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

Definition at line 249 of file upgradeWorkflowComponents.py.

Referenced by upgradeWorkflowComponents.UpgradeWorkflowTracking.condition(), and upgradeWorkflowComponents.UpgradeWorkflow_trackingOnly.condition().

249  def condition_(self, fragment, stepList, key, hasHarvest):
250  return True

◆ setup_()

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

Definition at line 251 of file upgradeWorkflowComponents.py.

References upgradeWorkflowComponents.UpgradeWorkflowTracking.setup__().

251  def setup_(self, step, stepName, stepDict, k, properties):
252  # skip ALCA and Nano steps (but not RecoNano or HARVESTNano for Run3)
253  if 'ALCA' in step or 'Nano'==step:
254  stepDict[stepName][k] = None
255  self.setup__(step, stepName, stepDict, k, properties)

◆ setup__()

def upgradeWorkflowComponents.UpgradeWorkflowTracking.setup__ (   self,
  step,
  stepName,
  stepDict,
  k,
  properties 
)

Definition at line 257 of file upgradeWorkflowComponents.py.

Referenced by upgradeWorkflowComponents.UpgradeWorkflowTracking.setup_().

257  def setup__(self, step, stepName, stepDict, k, properties):
258  pass
259