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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 279 of file upgradeWorkflowComponents.py.

279  def __init__(self, steps, PU, suffix, offset):
280  # always include some steps that will be skipped
281  steps = steps + ["ALCA","Nano"]
282  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 283 of file upgradeWorkflowComponents.py.

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

283  def condition(self, fragment, stepList, key, hasHarvest):
284  result = (fragment=="TTbar_13" or fragment=="TTbar_14TeV" or 'Hydjet' in fragment) and not 'PU' in key and hasHarvest and self.condition_(fragment, stepList, key, hasHarvest)
285  return result

◆ condition_()

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

Definition at line 286 of file upgradeWorkflowComponents.py.

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

286  def condition_(self, fragment, stepList, key, hasHarvest):
287  return True

◆ setup_()

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

Definition at line 288 of file upgradeWorkflowComponents.py.

References upgradeWorkflowComponents.UpgradeWorkflowTracking.setup__().

288  def setup_(self, step, stepName, stepDict, k, properties):
289  # skip ALCA and Nano steps (but not RecoNano or HARVESTNano for Run3)
290  if 'ALCA' in step or 'Nano'==step:
291  stepDict[stepName][k] = None
292  self.setup__(step, stepName, stepDict, k, properties)

◆ setup__()

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

Definition at line 294 of file upgradeWorkflowComponents.py.

Referenced by upgradeWorkflowComponents.UpgradeWorkflowTracking.setup_().

294  def setup__(self, step, stepName, stepDict, k, properties):
295  pass
296