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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 237 of file upgradeWorkflowComponents.py.

237  def __init__(self, steps, PU, suffix, offset):
238  # always include some steps that will be skipped
239  steps = steps + ["ALCA","Nano"]
240  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 241 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_.

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

◆ condition_()

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

Definition at line 244 of file upgradeWorkflowComponents.py.

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

244  def condition_(self, fragment, stepList, key, hasHarvest):
245  return True

◆ setup_()

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

Definition at line 246 of file upgradeWorkflowComponents.py.

References upgradeWorkflowComponents.UpgradeWorkflowTracking.setup__().

246  def setup_(self, step, stepName, stepDict, k, properties):
247  # skip ALCA and Nano steps (but not RecoNano or HARVESTNano for Run3)
248  if 'ALCA' in step or 'Nano'==step:
249  stepDict[stepName][k] = None
250  self.setup__(step, stepName, stepDict, k, properties)

◆ setup__()

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

Definition at line 252 of file upgradeWorkflowComponents.py.

Referenced by upgradeWorkflowComponents.UpgradeWorkflowTracking.setup_().

252  def setup__(self, step, stepName, stepDict, k, properties):
253  pass
254