CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
MatrixReader.MatrixReader Class Reference
Inheritance diagram for MatrixReader.MatrixReader:

Public Member Functions

def __init__
 
def createWorkFlows
 
def makeCmd
 
def prepare
 
def readMatrix
 
def reset
 
def show
 
def showRaw
 
def showWorkFlows
 
def updateDB
 

Public Attributes

 addCommand
 
 apply
 
 commandLineWf
 
 files
 
 filesPrefMap
 
 nameList
 
 noRun
 
 overWrite
 
 relvalModule
 
 revertDqmio
 maybe we want too level deep input More...
 
 what
 
 wm
 
 workFlows
 
 workFlowSteps
 

Detailed Description

Definition at line 16 of file MatrixReader.py.

Constructor & Destructor Documentation

def MatrixReader.MatrixReader.__init__ (   self,
  opt 
)

Definition at line 18 of file MatrixReader.py.

References TPedResult.reset(), BinningPointByMap.reset(), ora::NamedReference.reset(), AlcaBeamSpotManager.reset(), ora::IRelationalOperation.reset(), VEcalCalibBlock.reset(), ApvLatencyAnalysis.reset(), ora::Handle< T >.reset(), MatrixReader.MatrixReader.reset(), TB06Tree.reset(), ora::IteratorBuffer.reset(), EcalCondHeader.reset(), cond::BaseValueExtractor< T >.reset(), ora::ContainerIterator.reset(), IMACalibBlock.reset(), ora::OId.reset(), SamplingAnalysis.reset(), CondIter< DataT >.reset(), L3CalibBlock.reset(), DaqScopeModeAnalysis.reset(), ora::MultiRecordInsertOperation.reset(), pos::PixelROCStatus.reset(), FedTimingAnalysis.reset(), L1MuDTTFMasks.reset(), L1MuDTTFParameters.reset(), TB06TreeH2.reset(), L1MuDTPhiLut.reset(), L1MuDTPtaLut.reset(), L1MuDTEtaPatternLut.reset(), FedCablingAnalysis.reset(), L1MuDTQualPatternLut.reset(), PedsOnlyAnalysis.reset(), L1MuDTExtLut.reset(), PhysicsTools::Calibration::Histogram< Value_t, Axis_t >.reset(), TB06Reco.reset(), VpspScanAnalysis.reset(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >.reset(), coral_bridge::AuthenticationCredentialSet.reset(), NoiseAnalysis.reset(), PedestalsAnalysis.reset(), OptoScanAnalysis.reset(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >.reset(), ApvTimingAnalysis.reset(), CalibrationAnalysis.reset(), cond::persistency::GTProxy.reset(), FastFedCablingAnalysis.reset(), PedsFullNoiseAnalysis.reset(), ora::UniqueRef< T >.reset(), cond::persistency::IOVProxy.reset(), CommissioningAnalysis.reset(), ora::InsertOperation.reset(), ora::Ptr< T >.reset(), TB06RecoH2.reset(), ora::BulkInsertOperation.reset(), cond::XMLAuthenticationService::XMLAuthenticationService.reset(), TrackerMap.reset(), ora::UpdateOperation.reset(), ora::DeleteOperation.reset(), DTTFBitArray< N >.reset(), and ora::QueryableVector< Tp >.reset().

18 
19  def __init__(self, opt):
20 
21  self.reset(opt.what)
22 
23  self.wm=opt.wmcontrol
24  self.revertDqmio=opt.revertDqmio
25  self.addCommand=opt.command
26  self.apply=opt.apply
27  self.commandLineWf=opt.workflow
28  self.overWrite=opt.overWrite
29 
30  self.noRun = opt.noRun
31  return
revertDqmio
maybe we want too level deep input
Definition: MatrixReader.py:23

Member Function Documentation

def MatrixReader.MatrixReader.createWorkFlows (   self,
  fileNameIn 
)

Definition at line 398 of file MatrixReader.py.

References MatrixReader.MatrixReader.filesPrefMap, MatrixReader.MatrixReader.nameList, and MatrixReader.MatrixReader.workFlowSteps.

Referenced by MatrixReader.MatrixReader.prepare().

399  def createWorkFlows(self, fileNameIn):
400 
401  prefixIn = self.filesPrefMap[fileNameIn]
402 
403  # get through the list of items and update the requested workflows only
404  keyList = self.workFlowSteps.keys()
405  ids = []
406  for item in keyList:
407  id, pref = item
408  if pref != prefixIn : continue
409  ids.append(id)
410  ids.sort()
411  for key in ids:
412  val = self.workFlowSteps[(key,prefixIn)]
413  num, name, commands, stepList = val
414  nameId = str(num)+'_'+name
415  if nameId in self.nameList:
416  print "==> duplicate name found for ", nameId
417  print ' keeping : ', self.nameList[nameId]
418  print ' ignoring : ', val
419  else:
420  self.nameList[nameId] = val
421 
422  self.workFlows.append(WorkFlow(num, name, commands=commands))
423 
424  return
def MatrixReader.MatrixReader.makeCmd (   self,
  step 
)

Definition at line 66 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix().

66 
67  def makeCmd(self, step):
68 
69  cmd = ''
70  cfg = None
71  input = None
72  for k,v in step.items():
73  if 'no_exec' in k : continue # we want to really run it ...
74  if k.lower() == 'cfg':
75  cfg = v
76  continue # do not append to cmd, return separately
77  if k.lower() == 'input':
78  input = v
79  continue # do not append to cmd, return separately
80 
81  #chain the configs
82  #if k.lower() == '--python':
83  # v = 'step%d_%s'%(index,v)
84  cmd += ' ' + k + ' ' + str(v)
85  return cfg, input, cmd
def MatrixReader.MatrixReader.prepare (   self,
  useInput = None,
  refRel = '',
  fromScratch = None 
)

Definition at line 425 of file MatrixReader.py.

References MatrixReader.MatrixReader.createWorkFlows(), MatrixReader.MatrixReader.files, MatrixReader.MatrixReader.readMatrix(), and MatrixReader.MatrixReader.what.

426  def prepare(self, useInput=None, refRel='', fromScratch=None):
427 
428  for matrixFile in self.files:
429  if self.what != 'all' and self.what not in matrixFile:
430  print "ignoring non-requested file",matrixFile
431  continue
432  if self.what == 'all' and ('upgrade' in matrixFile):
433  print "ignoring",matrixFile,"from default matrix"
434  continue
435 
436  try:
437  self.readMatrix(matrixFile, useInput, refRel, fromScratch)
438  except Exception, e:
439  print "ERROR reading file:", matrixFile, str(e)
440  raise
441 
442  try:
443  self.createWorkFlows(matrixFile)
444  except Exception, e:
445  print "ERROR creating workflows :", str(e)
446  raise
447 
def MatrixReader.MatrixReader.readMatrix (   self,
  fileNameIn,
  useInput = None,
  refRel = None,
  fromScratch = None 
)

Definition at line 86 of file MatrixReader.py.

References MatrixReader.MatrixReader.addCommand, MatrixReader.MatrixReader.apply, MatrixReader.MatrixReader.filesPrefMap, join(), MatrixReader.MatrixReader.makeCmd(), python.multivaluedict.map(), MatrixReader.MatrixReader.noRun, MatrixReader.MatrixReader.overWrite, MatrixReader.MatrixReader.relvalModule, MatrixReader.MatrixReader.revertDqmio, MatrixReader.MatrixReader.wm, and MatrixReader.MatrixReader.workFlowSteps.

Referenced by MatrixReader.MatrixReader.prepare(), and MatrixReader.MatrixReader.showRaw().

86 
87  def readMatrix(self, fileNameIn, useInput=None, refRel=None, fromScratch=None):
88 
89  prefix = self.filesPrefMap[fileNameIn]
90 
91  print "processing ", fileNameIn
92 
93  try:
94  _tmpMod = __import__( 'Configuration.PyReleaseValidation.'+fileNameIn )
95  self.relvalModule = sys.modules['Configuration.PyReleaseValidation.'+fileNameIn]
96  except Exception, e:
97  print "ERROR importing file ", fileNameIn, str(e)
98  return
99 
100  print "request for INPUT for ", useInput
101 
102 
103  fromInput={}
104 
105  if useInput:
106  for i in useInput:
107  if ':' in i:
108  (ik,il)=i.split(':')
109  if ik=='all':
110  for k in self.relvalModule.workflows.keys():
111  fromInput[float(k)]=int(il)
112  else:
113  fromInput[float(ik)]=int(il)
114  else:
115  if i=='all':
116  for k in self.relvalModule.workflows.keys():
117  fromInput[float(k)]=0
118  else:
119  fromInput[float(i)]=0
120 
121  if fromScratch:
122  fromScratch=map(float,fromScratch)
123  for num in fromScratch:
124  if num in fromInput:
125  fromInput.pop(num)
126  #overwrite steps
127  if self.overWrite:
128  for p in self.overWrite:
129  self.relvalModule.steps.overwrite(p)
130 
131  #change the origin of dataset on the fly
132  if refRel:
133  if ',' in refRel:
134  refRels=refRel.split(',')
135  if len(refRels)!=len(self.relvalModule.baseDataSetRelease):
136  return
137  self.relvalModule.changeRefRelease(
138  self.relvalModule.steps,
139  zip(self.relvalModule.baseDataSetRelease,refRels)
140  )
141  else:
142  self.relvalModule.changeRefRelease(
143  self.relvalModule.steps,
144  [(x,refRel) for x in self.relvalModule.baseDataSetRelease]
145  )
146 
147 
148  for num, wfInfo in self.relvalModule.workflows.items():
149  commands=[]
150  wfName = wfInfo[0]
151  stepList = wfInfo[1]
152  # if no explicit name given for the workflow, use the name of step1
153  if wfName.strip() == '': wfName = stepList[0]
154  # option to specialize the wf as the third item in the WF list
155  addTo=None
156  addCom=None
157  if len(wfInfo)>=3:
158  addCom=wfInfo[2]
159  if not type(addCom)==list: addCom=[addCom]
160  #print 'added dict',addCom
161  if len(wfInfo)>=4:
162  addTo=wfInfo[3]
163  #pad with 0
164  while len(addTo)!=len(stepList):
165  addTo.append(0)
166 
167  name=wfName
168  stepIndex=0
169  ranStepList=[]
170 
171  #first resolve INPUT possibilities
172  if num in fromInput:
173  ilevel=fromInput[num]
174  #print num,ilevel
175  for (stepIr,step) in enumerate(reversed(stepList)):
176  stepName=step
177  stepI=(len(stepList)-stepIr)-1
178  #print stepIr,step,stepI,ilevel
179  if stepI>ilevel:
180  #print "ignoring"
181  continue
182  if stepI!=0:
183  testName='__'.join(stepList[0:stepI+1])+'INPUT'
184  else:
185  testName=step+'INPUT'
186  #print "JR",stepI,stepIr,testName,stepList
187  if testName in self.relvalModule.steps.keys():
188  #print "JR",stepI,stepIr
189  stepList[stepI]=testName
190  #pop the rest in the list
191  #print "\tmod prepop",stepList
192  for p in range(stepI):
193  stepList.pop(0)
194  #print "\t\tmod",stepList
195  break
196 
197 
198  for (stepI,step) in enumerate(stepList):
199  stepName=step
200  if self.wm:
201  #cannot put a certain number of things in wm
202  if stepName in [
203  #'HARVEST','HARVESTD','HARVESTDreHLT',
204  'RECODFROMRAWRECO','SKIMD','SKIMCOSD','SKIMDreHLT'
205  ]:
206  continue
207 
208  #replace stepName is needed
209  #if stepName in self.replaceStep
210  if len(name) > 0 : name += '+'
211  #any step can be mirrored with INPUT
212  ## maybe we want too level deep input
213  """
214  if num in fromInput:
215  if step+'INPUT' in self.relvalModule.steps.keys():
216  stepName = step+"INPUT"
217  stepList.remove(step)
218  stepList.insert(stepIndex,stepName)
219  """
220  name += stepName
221 
222  if addCom and (not addTo or addTo[stepIndex]==1):
224  copyStep=merge(addCom+[self.relvalModule.steps[stepName]])
225  cfg, input, opts = self.makeCmd(copyStep)
226  else:
227  cfg, input, opts = self.makeCmd(self.relvalModule.steps[stepName])
228 
229  if input and cfg :
230  msg = "FATAL ERROR: found both cfg and input for workflow "+str(num)+' step '+stepName
231  raise MatrixException(msg)
232 
233  if input:
234  cmd = input
235  if self.noRun:
236  cmd.run=[]
237  else:
238  if cfg:
239  cmd = 'cmsDriver.py '+cfg+' '+opts
240  else:
241  cmd = 'cmsDriver.py step'+str(stepIndex+1)+' '+opts
242  if self.wm:
243  cmd+=' --io %s.io --python %s.py'%(stepName,stepName)
244  if self.addCommand:
245  if self.apply:
246  if stepIndex in self.apply or stepName in self.apply:
247  cmd +=' '+self.addCommand
248  else:
249  cmd +=' '+self.addCommand
250  if self.wm and self.revertDqmio=='yes':
251  cmd=cmd.replace('DQMROOT','DQM')
252  cmd=cmd.replace('--filetype DQM','')
253  commands.append(cmd)
254  ranStepList.append(stepName)
255  stepIndex+=1
256 
257  self.workFlowSteps[(num,prefix)] = (num, name, commands, ranStepList)
258 
259  return
260 
Definition: merge.py:1
revertDqmio
maybe we want too level deep input
Definition: MatrixReader.py:23
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def MatrixReader.MatrixReader.reset (   self,
  what = 'all' 
)

Definition at line 32 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.__init__(), and MatrixReader.MatrixReader.showRaw().

32 
33  def reset(self, what='all'):
34 
35  self.what = what
36 
37  #a bunch of information, but not yet the WorkFlow object
38  self.workFlowSteps = {}
39  #the actual WorkFlow objects
40  self.workFlows = []
41  self.nameList = {}
42 
43  self.filesPrefMap = {'relval_standard' : 'std-' ,
44  'relval_highstats': 'hi-' ,
45  'relval_pileup': 'PU-' ,
46  'relval_generator': 'gen-' ,
47  'relval_production': 'prod-' ,
48  'relval_ged': 'ged-',
49  'relval_upgrade':'upg-',
50  'relval_identity':'id-'
51  }
52 
53  self.files = ['relval_standard' ,
54  'relval_highstats',
55  'relval_pileup',
56  'relval_generator',
57  'relval_production',
58  'relval_ged',
59  'relval_upgrade',
60  'relval_identity'
61  ]
62 
63  self.relvalModule = None
64 
65  return
def MatrixReader.MatrixReader.show (   self,
  selected = None,
  extended = True 
)

Definition at line 448 of file MatrixReader.py.

References MatrixReader.MatrixReader.showWorkFlows().

Referenced by Vispa.Main.AboutDialog.AboutDialog.onScreen(), Vispa.Gui.BoxContentDialog.BoxContentDialog.onScreen(), and Vispa.Gui.FindDialog.FindDialog.onScreen().

449  def show(self, selected=None, extended=True):
450 
451  self.showWorkFlows(selected,extended)
452  print '\n','-'*80,'\n'
453 
def MatrixReader.MatrixReader.showRaw (   self,
  useInput,
  refRel = None,
  fromScratch = None,
  what = 'all',
  step1Only = False,
  selected = None 
)

Definition at line 261 of file MatrixReader.py.

References Clusterizer1DCommons.add(), MatrixReader.MatrixReader.files, join(), python.multivaluedict.map(), MatrixReader.MatrixReader.readMatrix(), BinningPointByMap.reset(), TPedResult.reset(), ora::NamedReference.reset(), AlcaBeamSpotManager.reset(), ora::IRelationalOperation.reset(), ApvLatencyAnalysis.reset(), VEcalCalibBlock.reset(), ora::Handle< T >.reset(), MatrixReader.MatrixReader.reset(), TB06Tree.reset(), ora::IteratorBuffer.reset(), cond::BaseValueExtractor< T >.reset(), EcalCondHeader.reset(), ora::ContainerIterator.reset(), IMACalibBlock.reset(), CondIter< DataT >.reset(), ora::OId.reset(), SamplingAnalysis.reset(), L3CalibBlock.reset(), DaqScopeModeAnalysis.reset(), ora::MultiRecordInsertOperation.reset(), pos::PixelROCStatus.reset(), FedTimingAnalysis.reset(), L1MuDTTFMasks.reset(), L1MuDTTFParameters.reset(), TB06TreeH2.reset(), L1MuDTPhiLut.reset(), L1MuDTPtaLut.reset(), L1MuDTEtaPatternLut.reset(), FedCablingAnalysis.reset(), L1MuDTQualPatternLut.reset(), PedsOnlyAnalysis.reset(), L1MuDTExtLut.reset(), PhysicsTools::Calibration::Histogram< Value_t, Axis_t >.reset(), TB06Reco.reset(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >.reset(), VpspScanAnalysis.reset(), coral_bridge::AuthenticationCredentialSet.reset(), PedestalsAnalysis.reset(), NoiseAnalysis.reset(), OptoScanAnalysis.reset(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >.reset(), ApvTimingAnalysis.reset(), CalibrationAnalysis.reset(), FastFedCablingAnalysis.reset(), cond::persistency::GTProxy.reset(), ora::UniqueRef< T >.reset(), PedsFullNoiseAnalysis.reset(), cond::persistency::IOVProxy.reset(), CommissioningAnalysis.reset(), ora::InsertOperation.reset(), ora::Ptr< T >.reset(), TB06RecoH2.reset(), ora::BulkInsertOperation.reset(), cond::XMLAuthenticationService::XMLAuthenticationService.reset(), TrackerMap.reset(), ora::UpdateOperation.reset(), ora::DeleteOperation.reset(), DTTFBitArray< N >.reset(), ora::QueryableVector< Tp >.reset(), MatrixReader.MatrixReader.revertDqmio, MatrixReader.MatrixReader.what, and MatrixReader.MatrixReader.workFlowSteps.

262  def showRaw(self, useInput, refRel=None, fromScratch=None, what='all',step1Only=False,selected=None):
263 
264  if selected:
265  selected=map(float,selected)
266  for matrixFile in self.files:
267 
268  self.reset(what)
269 
270  if self.what != 'all' and self.what not in matrixFile:
271  print "ignoring non-requested file",matrixFile
272  continue
273 
274  try:
275  self.readMatrix(matrixFile, useInput, refRel, fromScratch)
276  except Exception, e:
277  print "ERROR reading file:", matrixFile, str(e)
278  raise
279 
280  if not self.workFlowSteps: continue
281 
282  dataFileName = matrixFile.replace('relval_', 'cmsDriver_')+'_hlt.txt'
283  outFile = open(dataFileName,'w')
284 
285  print "found ", len(self.workFlowSteps.keys()), ' workflows for ', dataFileName
286  ids = self.workFlowSteps.keys()
287  ids.sort()
288  indexAndSteps=[]
289 
290  writtenWF=0
291  for key in ids:
292  if selected and not (key[0] in selected):
293  continue
294  #trick to skip the HImix IB test
295  if key[0]==203.1 or key[0]==204.1 or key[0]==205.1 or key[0]==4.51 or key[0]==4.52: continue
296  num, name, commands, stepList = self.workFlowSteps[key]
297 
298  wfName,stepNames= name.split('+',1)
299 
300  stepNames=stepNames.replace('+RECODFROMRAWRECO','')
301  stepNames=stepNames.replace('+SKIMCOSD','')
302  stepNames=stepNames.replace('+SKIMD','')
303  if 'HARVEST' in stepNames:
304  #find out automatically what to remove
305  exactb=stepNames.index('+HARVEST')
306  exacte=stepNames.index('+',exactb+1) if ('+' in stepNames[exactb+1:]) else (len(stepNames))
307  stepNames=stepNames.replace(stepNames[exactb:exacte],'')
308  otherSteps = None
309  if '+' in stepNames:
310  step1,otherSteps = stepNames.split('+',1)
311 
312  line = str(num) + ' ++ '+ wfName
313  if otherSteps and not step1Only:
314  line += ' ++ ' +otherSteps.replace('+',',')
315  else:
316  line += ' ++ none'
317  inputInfo=None
318  if not isinstance(commands[0],str):
319  inputInfo=commands[0]
320  if otherSteps:
321  for (i,c) in enumerate(otherSteps.split('+')):
322  #pad with set
323  for p in range(len(indexAndSteps),i+2):
324  indexAndSteps.append(set())
325  indexAndSteps[i+1].add((c,commands[i+1]))
326 
327  if inputInfo :
328  #skip the samples from INPUT when step1Only is on
329  if step1Only: continue
330  line += ' ++ REALDATA: '+inputInfo.dataSet
331  if inputInfo.run!=[]: line += ', RUN:'+'|'.join(map(str,inputInfo.run))
332  line += ', FILES: ' +str(inputInfo.files)
333  line += ', EVENTS: '+str(inputInfo.events)
334  if inputInfo.label!='':
335  line += ', LABEL: ' +inputInfo.label
336  line += ', LOCATION:'+inputInfo.location
337  line += ' @@@'
338  else:
339  line += ' @@@ '+commands[0]
340  if self.revertDqmio=='yes':
341  line=line.replace('DQMROOT','DQM')
342  writtenWF+=1
343  outFile.write(line+'\n')
344 
345 
346  outFile.write('\n'+'\n')
347  if step1Only: continue
348 
349  for (index,s) in enumerate(indexAndSteps):
350  for (stepName,cmd) in s:
351  stepIndex=index+1
352  if 'dasquery.log' in cmd: continue
353  line = 'STEP%d ++ '%(stepIndex,) +stepName + ' @@@ '+cmd
354  if self.revertDqmio=='yes':
355  line=line.replace('DQMROOT','DQM')
356  outFile.write(line+'\n')
357  outFile.write('\n'+'\n')
358  outFile.close()
359  print "wrote ",writtenWF, ' workflow'+('s' if (writtenWF!=1) else ''),' to ', outFile.name
360  return
361 
revertDqmio
maybe we want too level deep input
Definition: MatrixReader.py:23
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def MatrixReader.MatrixReader.showWorkFlows (   self,
  selected = None,
  extended = True 
)

Definition at line 362 of file MatrixReader.py.

References python.multivaluedict.map(), and MatrixReader.MatrixReader.workFlows.

Referenced by MatrixReader.MatrixReader.show().

363  def showWorkFlows(self, selected=None, extended=True):
364  if selected: selected = map(float,selected)
365  maxLen = 100 # for summary, limit width of output
366  fmt1 = "%-6s %-35s [1]: %s ..."
367  fmt2 = " %35s [%d]: %s ..."
368  print "\nfound a total of ", len(self.workFlows), ' workflows:'
369  if selected:
370  print " of which the following", len(selected), 'were selected:'
371  #-ap for now:
372  maxLen = -1 # for individual listing, no limit on width
373  fmt1 = "%-6s %-35s [1]: %s "
374  fmt2 = " %35s [%d]: %s"
375 
376  N=[]
377  for wf in self.workFlows:
378  if selected and float(wf.numId) not in selected: continue
379  if extended: print ''
380  #pad with zeros
381  for i in range(len(N),len(wf.cmds)): N.append(0)
382  N[len(wf.cmds)-1]+=1
383  wfName, stepNames = wf.nameId.split('+',1)
384  for i,s in enumerate(wf.cmds):
385  if extended:
386  if i==0:
387  print fmt1 % (wf.numId, stepNames, (str(s)+' ')[:maxLen])
388  else:
389  print fmt2 % ( ' ', i+1, (str(s)+' ')[:maxLen])
390  else:
391  print "%-6s %-35s "% (wf.numId, stepNames)
392  break
393  print ''
394  for i,n in enumerate(N):
395  if n: print n,'workflows with',i+1,'steps'
396 
397  return
def MatrixReader.MatrixReader.updateDB (   self)

Definition at line 454 of file MatrixReader.py.

References MatrixReader.MatrixReader.workFlows.

455  def updateDB(self):
456 
457  import pickle
458  pickle.dump(self.workFlows, open('theMatrix.pkl', 'w') )
459 
460  return
461 

Member Data Documentation

MatrixReader.MatrixReader.addCommand

Definition at line 24 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.apply

Definition at line 25 of file MatrixReader.py.

Referenced by heavyIonTools.ConfigureHeavyIons.__call__(), editorTools.UserCodeTool.__call__(), HiCoreTools.RestrictInputToAOD.__call__(), coreTools.RunOnData.__call__(), trackTools.MakeAODTrackCandidates.__call__(), metTools.AddMETCollection.__call__(), heavyIonTools.ProductionDefaults.__call__(), editorTools.ChangeSource.__call__(), jetTools.AddJetCollection.__call__(), HiCoreTools.RemoveMCMatching.__call__(), cmsswVersionTools.PickRelValInputFiles.__call__(), coreTools.RemoveMCMatching.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), heavyIonTools.SelectionDefaults.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), heavyIonTools.DisbaleMonteCarloDeps.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), trackTools.MakeTrackCandidates.__call__(), tauTools.AddTauCollection.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), HiCoreTools.RemoveCleaning.__call__(), HiCoreTools.AddCleaning.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), jetTools.SwitchJetCollection.__call__(), jetTools.AddJetID.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.SetTagInfos.__call__(), metUncertaintyTools.RunMEtUncertainties.__call__(), and MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.commandLineWf

Definition at line 26 of file MatrixReader.py.

MatrixReader.MatrixReader.files

Definition at line 52 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.prepare(), and MatrixReader.MatrixReader.showRaw().

MatrixReader.MatrixReader.filesPrefMap

Definition at line 42 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.createWorkFlows(), and MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.nameList

Definition at line 40 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.createWorkFlows().

MatrixReader.MatrixReader.noRun

Definition at line 29 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.overWrite

Definition at line 27 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.relvalModule

Definition at line 62 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.revertDqmio

maybe we want too level deep input

Definition at line 23 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix(), and MatrixReader.MatrixReader.showRaw().

MatrixReader.MatrixReader.what

Definition at line 34 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.prepare(), and MatrixReader.MatrixReader.showRaw().

MatrixReader.MatrixReader.wm

Definition at line 22 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.readMatrix().

MatrixReader.MatrixReader.workFlows

Definition at line 39 of file MatrixReader.py.

Referenced by MatrixRunner.MatrixRunner.runTests(), MatrixReader.MatrixReader.showWorkFlows(), and MatrixReader.MatrixReader.updateDB().

MatrixReader.MatrixReader.workFlowSteps

Definition at line 37 of file MatrixReader.py.

Referenced by MatrixReader.MatrixReader.createWorkFlows(), MatrixReader.MatrixReader.readMatrix(), and MatrixReader.MatrixReader.showRaw().