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_JMENano upgradeWorkflowComponents.UpgradeWorkflow_Neutron upgradeWorkflowComponents.UpgradeWorkflow_ParkingBPH upgradeWorkflowComponents.UpgradeWorkflow_ProdLike upgradeWorkflowComponents.UpgradeWorkflow_TestOldDigi upgradeWorkflowComponents.UpgradeWorkflowAging upgradeWorkflowComponents.UpgradeWorkflowPatatrack 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 90 of file upgradeWorkflowComponents.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 91 of file upgradeWorkflowComponents.py.

91  def __init__(self,steps,PU,suffix,offset):
92  self.steps = steps
93  self.PU = PU
94  self.suffix = suffix
95  self.offset = offset
96  if self.offset < 0.0 or self.offset > 1.0:
97  raise ValueError("Special workflow offset must be between 0.0 and 1.0")

Member Function Documentation

◆ condition()

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

◆ init()

def upgradeWorkflowComponents.UpgradeWorkflow.init (   self,
  stepDict 
)

Definition at line 98 of file upgradeWorkflowComponents.py.

98  def init(self, stepDict):
99  for step in self.steps:
100  stepName = step + self.suffix
101  stepDict[stepName] = {}
102  for step in self.PU:
103  stepName = step + 'PU' + self.suffix
104  stepDict[stepName] = {}
105  stepNamePmx = step + 'PUPRMX' + self.suffix
106  stepDict[stepNamePmx] = {}
107  stepDict[stepNamePmx+'Combined'] = {}

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

◆ setup()

def upgradeWorkflowComponents.UpgradeWorkflow.setup (   self,
  stepDict,
  k,
  properties 
)

◆ setup_()

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

◆ workflow()

def upgradeWorkflowComponents.UpgradeWorkflow.workflow (   self,
  workflows,
  num,
  fragment,
  stepList,
  key,
  hasHarvest 
)

Definition at line 114 of file upgradeWorkflowComponents.py.

114  def workflow(self, workflows, num, fragment, stepList, key, hasHarvest):
115  if self.condition(fragment, stepList, key, hasHarvest):
116  self.workflow_(workflows, num, fragment, stepList)

◆ workflow_()

def upgradeWorkflowComponents.UpgradeWorkflow.workflow_ (   self,
  workflows,
  num,
  fragment,
  stepList 
)

Reimplemented in upgradeWorkflowComponents.UpgradeWorkflow_TestOldDigi.

Definition at line 117 of file upgradeWorkflowComponents.py.

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

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

Member Data Documentation

◆ offset

upgradeWorkflowComponents.UpgradeWorkflow.offset

◆ PU

upgradeWorkflowComponents.UpgradeWorkflow.PU

◆ steps

upgradeWorkflowComponents.UpgradeWorkflow.steps

◆ suffix

upgradeWorkflowComponents.UpgradeWorkflow.suffix
init
int init
Definition: HydjetWrapper.h:64
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
goodZToMuMu_cfi.condition
condition
Definition: goodZToMuMu_cfi.py:37
AlCaHarvesting_cff.workflow
workflow
Definition: AlCaHarvesting_cff.py:30