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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 281 of file upgradeWorkflowComponents.py.

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

285  def condition(self, fragment, stepList, key, hasHarvest):
286  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)
287  return result

◆ condition_()

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

Definition at line 288 of file upgradeWorkflowComponents.py.

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

288  def condition_(self, fragment, stepList, key, hasHarvest):
289  return True

◆ setup_()

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

Definition at line 290 of file upgradeWorkflowComponents.py.

References upgradeWorkflowComponents.UpgradeWorkflowTracking.setup__().

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

◆ setup__()

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

Definition at line 296 of file upgradeWorkflowComponents.py.

Referenced by upgradeWorkflowComponents.UpgradeWorkflowTracking.setup_().

296  def setup__(self, step, stepName, stepDict, k, properties):
297  pass
298