CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DTCalibrationWorker.DTCalibrationWorker Class Reference

Public Member Functions

def __init__ (self, run, config)
 
def dqmOutputDir (self, type, dirLabel, config)
 
def run (self, type, mode, execute)
 
def runAnalysisResiduals (self, run, runselection, trial, label, result_file, config, runStep=True)
 
def runAnalysisWorkflow (self, mode, run, config, execute=True)
 Analysis workflow. More...
 
def runDBValidationWorkflow (self, mode, run, inputFiles, config, execute=True)
 DB Validation workflow. More...
 
def runDQMClient (self, run, output_dir, config, runStep=True)
 
def runDQMHarvesting (self, run, output_dir, config, runStep=True)
 
def runDQMMerge (self, run, output_dir, config, runStep=True)
 
def runNoiseWorkflow (self, mode, run, config, execute=True)
 noise workflow More...
 
def runResidualCalib (self, run, runselection, trial, input_db, label, result_file, config, runStep=True)
 
def runT0Workflow (self, mode, run, config, execute=True)
 t0 workflow More...
 
def runTtrigProd (self, run, runselection, trial, config, runStep=True)
 
def runTtrigResidualCorr (self, run, input_db, root_file, config, runStep=True)
 
def runTtrigValid (self, run, runselection, trial, input_db, label, config, runStep=True)
 
def runTtrigValidSummary (self, run, input_file, output_file, config, runStep=True)
 
def runTtrigWorkflow (self, mode, run, config, execute=True)
 tTrig workflow More...
 
def runTtrigWriter (self, run, config, runStep=True)
 
def runValidationWorkflow (self, mode, run, config, execute=True)
 Validation workflow. More...
 
def runVDriftMeanTimerCalib (self, run, runselection, trial, label, result_file, config, runStep=True)
 
def runVDriftMeanTimerWriter (self, run, root_file, config, runStep=True)
 
def runVDriftSegmentCalib (self, run, runselection, trial, label, result_file, config, runStep=True)
 
def runVDriftSegmentWriter (self, run, root_file, config, runStep=True)
 
def runVDriftWorkflow (self, mode, run, config, execute=True)
 vDrift workflow More...
 

Public Attributes

 config
 
 refRun
 

Detailed Description

Definition at line 22 of file DTCalibrationWorker.py.

Constructor & Destructor Documentation

def DTCalibrationWorker.DTCalibrationWorker.__init__ (   self,
  run,
  config 
)

Member Function Documentation

def DTCalibrationWorker.DTCalibrationWorker.dqmOutputDir (   self,
  type,
  dirLabel,
  config 
)
def DTCalibrationWorker.DTCalibrationWorker.run (   self,
  type,
  mode,
  execute 
)
def DTCalibrationWorker.DTCalibrationWorker.runAnalysisResiduals (   self,
  run,
  runselection,
  trial,
  label,
  result_file,
  config,
  runStep = True 
)

Definition at line 145 of file DTCalibrationWorker.py.

References tools.getDatasetStr(), tools.haddInCastor(), tools.haddLocal(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runAnalysisWorkflow().

145  def runAnalysisResiduals(self,run,runselection,trial,label,result_file,config,runStep=True):
146 
def runAnalysisResiduals(self, run, runselection, trial, label, result_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runAnalysisWorkflow (   self,
  mode,
  run,
  config,
  execute = True 
)

Analysis workflow.

Definition at line 713 of file DTCalibrationWorker.py.

References DTCalibrationWorker.DTCalibrationWorker.runAnalysisResiduals().

Referenced by DTCalibrationWorker.DTCalibrationWorker.run().

713  def runAnalysisWorkflow(self,mode,run,config,execute=True):
def runAnalysisWorkflow(self, mode, run, config, execute=True)
Analysis workflow.
def DTCalibrationWorker.DTCalibrationWorker.runDBValidationWorkflow (   self,
  mode,
  run,
  inputFiles,
  config,
  execute = True 
)

DB Validation workflow.

Definition at line 737 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.run().

737  def runDBValidationWorkflow(self,mode,run,inputFiles,config,execute=True):
def runDBValidationWorkflow(self, mode, run, inputFiles, config, execute=True)
DB Validation workflow.
def DTCalibrationWorker.DTCalibrationWorker.runDQMClient (   self,
  run,
  output_dir,
  config,
  runStep = True 
)

Definition at line 347 of file DTCalibrationWorker.py.

References tools.listFilesInCastor(), and tools.listFilesLocal().

Referenced by DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow().

347  def runDQMClient(self,run,output_dir,config,runStep=True):
348 
def runDQMClient(self, run, output_dir, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runDQMHarvesting (   self,
  run,
  output_dir,
  config,
  runStep = True 
)

Definition at line 372 of file DTCalibrationWorker.py.

References tools.listFilesInCastor(), and tools.listFilesLocal().

Referenced by DTCalibrationWorker.DTCalibrationWorker.runValidationWorkflow().

372  def runDQMHarvesting(self,run,output_dir,config,runStep=True):
373 
def runDQMHarvesting(self, run, output_dir, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runDQMMerge (   self,
  run,
  output_dir,
  config,
  runStep = True 
)

Definition at line 397 of file DTCalibrationWorker.py.

References tools.listFilesInCastor(), and tools.listFilesLocal().

Referenced by DTCalibrationWorker.DTCalibrationWorker.runValidationWorkflow().

397  def runDQMMerge(self,run,output_dir,config,runStep=True):
398 
def runDQMMerge(self, run, output_dir, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runNoiseWorkflow (   self,
  mode,
  run,
  config,
  execute = True 
)

noise workflow

Definition at line 616 of file DTCalibrationWorker.py.

References tools.copyFilesFromCastor(), tools.copyFilesLocal(), tools.getDatasetStr(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.run().

616  def runNoiseWorkflow(self,mode,run,config,execute=True):
def runNoiseWorkflow(self, mode, run, config, execute=True)
noise workflow
def DTCalibrationWorker.DTCalibrationWorker.runResidualCalib (   self,
  run,
  runselection,
  trial,
  input_db,
  label,
  result_file,
  config,
  runStep = True 
)

Definition at line 109 of file DTCalibrationWorker.py.

References tools.getDatasetStr(), tools.haddInCastor(), tools.haddLocal(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow().

109  def runResidualCalib(self,run,runselection,trial,input_db,label,result_file,config,runStep=True):
110 
def runResidualCalib(self, run, runselection, trial, input_db, label, result_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runT0Workflow (   self,
  mode,
  run,
  config,
  execute = True 
)

t0 workflow

Definition at line 663 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.run().

663  def runT0Workflow(self,mode,run,config,execute=True):
664 
def runT0Workflow(self, mode, run, config, execute=True)
t0 workflow
def DTCalibrationWorker.DTCalibrationWorker.runTtrigProd (   self,
  run,
  runselection,
  trial,
  config,
  runStep = True 
)

Definition at line 63 of file DTCalibrationWorker.py.

References tools.getDatasetStr(), tools.haddInCastor(), tools.haddLocal(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow().

63  def runTtrigProd(self,run,runselection,trial,config,runStep=True):
64 
def runTtrigProd(self, run, runselection, trial, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runTtrigResidualCorr (   self,
  run,
  input_db,
  root_file,
  config,
  runStep = True 
)

Definition at line 179 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow().

179  def runTtrigResidualCorr(self,run,input_db,root_file,config,runStep=True):
180 
def runTtrigResidualCorr(self, run, input_db, root_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runTtrigValid (   self,
  run,
  runselection,
  trial,
  input_db,
  label,
  config,
  runStep = True 
)

Definition at line 196 of file DTCalibrationWorker.py.

References tools.getDatasetStr(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow().

196  def runTtrigValid(self,run,runselection,trial,input_db,label,config,runStep=True):
197 
def runTtrigValid(self, run, runselection, trial, input_db, label, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runTtrigValidSummary (   self,
  run,
  input_file,
  output_file,
  config,
  runStep = True 
)
if config.stageOutLocal:
output_dir = project_valid + "/res"
haddLocal(output_dir,result_file,'residuals')
elif config.stageOutCAF:
castor_dir = config.castorpath + "/" + config.userdircaf
haddInCastor(castor_dir,result_file,'residuals','rfio://castorcms/','?svcClass=cmscafuser')

Definition at line 234 of file DTCalibrationWorker.py.

234  def runTtrigValidSummary(self,run,input_file,output_file,config,runStep=True):
235 
def runTtrigValidSummary(self, run, input_file, output_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow (   self,
  mode,
  run,
  config,
  execute = True 
)
def DTCalibrationWorker.DTCalibrationWorker.runTtrigWriter (   self,
  run,
  config,
  runStep = True 
)

Definition at line 97 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runTtrigWorkflow().

97  def runTtrigWriter(self,run,config,runStep=True):
98 
def runTtrigWriter(self, run, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runValidationWorkflow (   self,
  mode,
  run,
  config,
  execute = True 
)
def DTCalibrationWorker.DTCalibrationWorker.runVDriftMeanTimerCalib (   self,
  run,
  runselection,
  trial,
  label,
  result_file,
  config,
  runStep = True 
)

Definition at line 296 of file DTCalibrationWorker.py.

References tools.getDatasetStr(), tools.haddInCastor(), tools.haddLocal(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runVDriftWorkflow().

296  def runVDriftMeanTimerCalib(self,run,runselection,trial,label,result_file,config,runStep=True):
297 
def runVDriftMeanTimerCalib(self, run, runselection, trial, label, result_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runVDriftMeanTimerWriter (   self,
  run,
  root_file,
  config,
  runStep = True 
)

Definition at line 331 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runVDriftWorkflow().

331  def runVDriftMeanTimerWriter(self,run,root_file,config,runStep=True):
332 
def runVDriftMeanTimerWriter(self, run, root_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runVDriftSegmentCalib (   self,
  run,
  runselection,
  trial,
  label,
  result_file,
  config,
  runStep = True 
)

Definition at line 245 of file DTCalibrationWorker.py.

References tools.getDatasetStr(), tools.haddInCastor(), tools.haddLocal(), and harvestTrackValidationPlots.str.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runVDriftWorkflow().

245  def runVDriftSegmentCalib(self,run,runselection,trial,label,result_file,config,runStep=True):
246 
def runVDriftSegmentCalib(self, run, runselection, trial, label, result_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runVDriftSegmentWriter (   self,
  run,
  root_file,
  config,
  runStep = True 
)

Definition at line 280 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.runVDriftWorkflow().

280  def runVDriftSegmentWriter(self,run,root_file,config,runStep=True):
281 
def runVDriftSegmentWriter(self, run, root_file, config, runStep=True)
def DTCalibrationWorker.DTCalibrationWorker.runVDriftWorkflow (   self,
  mode,
  run,
  config,
  execute = True 
)

vDrift workflow

# Summary of validation
if not os.path.exists(summaryResiduals): self.runTtrigValidSummary(run,residualsResidCorr,summaryResiduals,config)
if not os.path.exists(summaryResiduals): raise RuntimeError,'Could not produce %s' % summaryResiduals
# Summary of validation
if not os.path.exists(summaryResiduals):
self.runTtrigValidSummary(run,residualsResidCorr,summaryResiduals,config)
if not os.path.exists(summaryResiduals): raise RuntimeError,'Could not produce %s' % summaryResiduals
# Summary of validation
if not os.path.exists(summaryResiduals):
self.runTtrigValidSummary(run,residualsValid,summaryResiduals,config)
if not os.path.exists(summaryResiduals): raise RuntimeError,'Could not produce %s' % summaryResiduals

Definition at line 567 of file DTCalibrationWorker.py.

References DTCalibrationWorker.DTCalibrationWorker.runVDriftMeanTimerCalib(), DTCalibrationWorker.DTCalibrationWorker.runVDriftMeanTimerWriter(), DTCalibrationWorker.DTCalibrationWorker.runVDriftSegmentCalib(), and DTCalibrationWorker.DTCalibrationWorker.runVDriftSegmentWriter().

Referenced by DTCalibrationWorker.DTCalibrationWorker.run().

567  def runVDriftWorkflow(self,mode,run,config,execute=True):
def runVDriftWorkflow(self, mode, run, config, execute=True)
vDrift workflow

Member Data Documentation

DTCalibrationWorker.DTCalibrationWorker.config
DTCalibrationWorker.DTCalibrationWorker.refRun

Definition at line 25 of file DTCalibrationWorker.py.

Referenced by DTCalibrationWorker.DTCalibrationWorker.run().