CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
upgradeWorkflowComponents.UpgradeWorkflow Class Reference
Inheritance diagram for upgradeWorkflowComponents.UpgradeWorkflow:
upgradeWorkflowComponents.UpgradeWorkflow_baseline upgradeWorkflowComponents.UpgradeWorkflow_heCollapse upgradeWorkflowComponents.UpgradeWorkflow_Neutron upgradeWorkflowComponents.UpgradeWorkflow_ParkingBPH upgradeWorkflowComponents.UpgradeWorkflow_ProdLike upgradeWorkflowComponents.UpgradeWorkflow_TICLFullReco upgradeWorkflowComponents.UpgradeWorkflow_TICLOnly upgradeWorkflowComponents.UpgradeWorkflowAging upgradeWorkflowComponents.UpgradeWorkflowTracking

Public Member Functions

def __init__ (self, steps, PU, suffix, offset)
 
def condition (self, fragment, stepList, key, hasHarvest)
 
def init (self, stepDict)
 
def setup (self, stepDict, k, properties)
 
def setup_ (self, step, stepName, stepDict, k, properties)
 
def workflow (self, workflows, num, fragment, stepList, key, hasHarvest)
 
def workflow_ (self, workflows, num, fragment, stepList)
 

Public Attributes

 offset
 
 PU
 
 steps
 
 suffix
 

Detailed Description

Definition at line 76 of file upgradeWorkflowComponents.py.

Constructor & Destructor Documentation

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

Definition at line 77 of file upgradeWorkflowComponents.py.

77  def __init__(self,steps,PU,suffix,offset):
78  self.steps = steps
79  self.PU = PU
80  self.suffix = suffix
81  self.offset = offset
82  if self.offset < 0.0 or self.offset > 1.0:
83  raise ValueError("Special workflow offset must be between 0.0 and 1.0")
def __init__(self, steps, PU, suffix, offset)

Member Function Documentation

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

Definition at line 105 of file upgradeWorkflowComponents.py.

105  def condition(self, fragment, stepList, key, hasHarvest):
106  return False
def condition(self, fragment, stepList, key, hasHarvest)
def upgradeWorkflowComponents.UpgradeWorkflow.init (   self,
  stepDict 
)

Definition at line 84 of file upgradeWorkflowComponents.py.

References upgradeWorkflowComponents.UpgradeWorkflow.PU, HitEff.PU, MatrixUtil.WF.steps, upgradeWorkflowComponents.UpgradeWorkflow.steps, and upgradeWorkflowComponents.UpgradeWorkflow.suffix.

84  def init(self, stepDict):
85  for step in self.steps:
86  stepName = step + self.suffix
87  stepDict[stepName] = {}
88  for step in self.PU:
89  stepName = step + 'PU' + self.suffix
90  stepDict[stepName] = {}
91  stepNamePmx = step + 'PUPRMX' + self.suffix
92  stepDict[stepNamePmx] = {}
93  stepDict[stepNamePmx+'Combined'] = {}
def upgradeWorkflowComponents.UpgradeWorkflow.setup (   self,
  stepDict,
  k,
  properties 
)
def upgradeWorkflowComponents.UpgradeWorkflow.setup_ (   self,
  step,
  stepName,
  stepDict,
  k,
  properties 
)

Definition at line 98 of file upgradeWorkflowComponents.py.

Referenced by upgradeWorkflowComponents.UpgradeWorkflow.setup().

98  def setup_(self, step, stepName, stepDict, k, properties):
99  pass
def setup_(self, step, stepName, stepDict, k, properties)
def upgradeWorkflowComponents.UpgradeWorkflow.workflow (   self,
  workflows,
  num,
  fragment,
  stepList,
  key,
  hasHarvest 
)

Definition at line 100 of file upgradeWorkflowComponents.py.

100  def workflow(self, workflows, num, fragment, stepList, key, hasHarvest):
101  if self.condition(fragment, stepList, key, hasHarvest):
102  self.workflow_(workflows, num, fragment, stepList)
def workflow(self, workflows, num, fragment, stepList, key, hasHarvest)
def workflow_(self, workflows, num, fragment, stepList)
def condition(self, fragment, stepList, key, hasHarvest)
def upgradeWorkflowComponents.UpgradeWorkflow.workflow_ (   self,
  workflows,
  num,
  fragment,
  stepList 
)

Definition at line 103 of file upgradeWorkflowComponents.py.

References sistrip::MeasureLA.offset, upgradeWorkflowComponents.UpgradeWorkflow.offset, and PhysicsTools::Calibration::ProcLinear.offset.

Referenced by upgradeWorkflowComponents.UpgradeWorkflow.workflow().

103  def workflow_(self, workflows, num, fragment, stepList):
104  workflows[num+self.offset] = [ fragment, stepList ]
def workflow_(self, workflows, num, fragment, stepList)

Member Data Documentation

upgradeWorkflowComponents.UpgradeWorkflow.offset
upgradeWorkflowComponents.UpgradeWorkflow.PU
upgradeWorkflowComponents.UpgradeWorkflow.steps
upgradeWorkflowComponents.UpgradeWorkflow.suffix