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 | Static Public Attributes
DTDQMHarvesting.DTDQMHarvesting Class Reference

Public Member Functions

def __init__
 
def initProcess
 
def run
 
def writeCfg
 

Public Attributes

 config
 
 configFiles
 
 dir
 
 dqm_files
 
 process
 
 pset_name
 
 pset_template
 
 result_dir
 
 runnumber
 
 task
 

Static Public Attributes

 connect = self.config.connectStrDBTag
 
string connect = 'sqlite_file:%s'
 
string label = ''
 
string moduleName = 'customDB%s'
 
 moduleName = tag,
 
 record = self.config.inputDBRcd
 
 tag = self.config.inputDBTag
 
tuple workflowName = dqmWorkflowName(self.config.datasetpath,label,self.config.trial)
 

Detailed Description

Definition at line 6 of file DTDQMHarvesting.py.

Constructor & Destructor Documentation

def DTDQMHarvesting.DTDQMHarvesting.__init__ (   self,
  run,
  dir,
  dqm_files,
  result_dir,
  config = None 
)

Definition at line 7 of file DTDQMHarvesting.py.

7 
8  def __init__(self, run, dir, dqm_files, result_dir, config=None):
9  self.runnumber = int(run)
10  self.dir = dir
11  self.result_dir = result_dir
12  self.config = config
13  self.dqm_files = dqm_files
14 
15  self.pset_name = 'dtDQMClient_cfg.py'
16  self.pset_template = 'CalibMuon.DTCalibration.dtDQMClientAlca_cfg'
17 
18  self.process = None
19  self.initProcess()
20  self.configFiles = []
21  self.configFiles.append(self.pset_name)
22  self.task = CmsswTask(self.dir,self.configFiles)

Member Function Documentation

def DTDQMHarvesting.DTDQMHarvesting.initProcess (   self)

Definition at line 23 of file DTDQMHarvesting.py.

References DTAnalysisResiduals.DTAnalysisResiduals.config, DTDqm.DTDqm.config, DTDQMHarvesting.DTDQMHarvesting.config, genericValidation.GenericValidation.config, DTCalibrationWorker.DTCalibrationWorker.config, tools.loadCmsProcess(), DTDqm.DTDqm.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTAnalysisResiduals.DTAnalysisResiduals.pset_template, DTDqm.DTDqm.pset_template, and DTDQMHarvesting.DTDQMHarvesting.pset_template.

23 
24  def initProcess(self):
26  self.process.GlobalTag.globaltag = self.config.globaltag
def loadCmsProcess
Definition: tools.py:144
def DTDQMHarvesting.DTDQMHarvesting.run (   self)

Definition at line 66 of file DTDQMHarvesting.py.

Referenced by Types.EventID.cppID(), and Types.LuminosityBlockID.cppID().

66 
67  def run(self):
68  self.task.run()
69  return
def DTDQMHarvesting.DTDQMHarvesting.writeCfg (   self)

Definition at line 62 of file DTDQMHarvesting.py.

References CmsswTask.CmsswTask.dir, DTDqm.DTDqm.dir, DTDQMHarvesting.DTDQMHarvesting.dir, CrabTask.CrabTask.dir, DTAnalysisResiduals.DTAnalysisResiduals.dir, DTDqm.DTDqm.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTAnalysisResiduals.DTAnalysisResiduals.pset_name, DTDqm.DTDqm.pset_name, DTDQMHarvesting.DTDQMHarvesting.pset_name, and CrabTask.CrabTask.pset_name.

62 
63  def writeCfg(self):
64  writeCfg(self.process,self.dir,self.pset_name)
65  #writeCfgPkl(self.process,self.dir,self.pset_name)

Member Data Documentation

DTDQMHarvesting.DTDQMHarvesting.config

Definition at line 11 of file DTDQMHarvesting.py.

Referenced by DTNoiseCalibration.DTNoiseCalibration.initCrab(), DTTTrigProd.DTTTrigProd.initCrab(), DTDQMValidation.DTDQMValidation.initCrab(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTT0DBValidation.DTT0DBValidation.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTDQMHarvesting.DTDQMHarvesting.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), and DTDQMValidation.DTDQMValidation.initProcess().

DTDQMHarvesting.DTDQMHarvesting.configFiles

Definition at line 19 of file DTDQMHarvesting.py.

string DTDQMHarvesting.DTDQMHarvesting.connect = self.config.connectStrDBTag
static

Definition at line 30 of file DTDQMHarvesting.py.

Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea.__init__(), Vispa.Views.PropertyView.BooleanProperty.__init__(), Vispa.Gui.FindDialog.FindDialog._addScript(), Vispa.Gui.FindDialog.FindDialog._addStringProperty(), Vispa.Main.Application.Application._connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView._createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog.addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer.addWidget(), Vispa.Views.PropertyView.PropertyView.append(), Vispa.Views.PropertyView.PropertyView.appendAddRow(), Vispa.Main.Application.Application.createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createButton(), Vispa.Views.LineDecayView.LineDecayView.createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.find(), Vispa.Gui.PortWidget.PortWidget.mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty.setChecked(), Vispa.Main.SplitterTab.SplitterTab.setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab.setController(), Vispa.Views.PropertyView.BooleanProperty.setReadOnly(), Vispa.Views.PropertyView.DropDownProperty.setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty.setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.setTab(), Vispa.Views.PropertyView.IntegerProperty.setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController.updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.updateViewMenu().

string DTDQMHarvesting.DTDQMHarvesting.connect = 'sqlite_file:%s'
static

Definition at line 41 of file DTDQMHarvesting.py.

Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea.__init__(), Vispa.Views.PropertyView.BooleanProperty.__init__(), Vispa.Gui.FindDialog.FindDialog._addScript(), Vispa.Gui.FindDialog.FindDialog._addStringProperty(), Vispa.Main.Application.Application._connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView._createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog.addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer.addWidget(), Vispa.Views.PropertyView.PropertyView.append(), Vispa.Views.PropertyView.PropertyView.appendAddRow(), Vispa.Main.Application.Application.createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createButton(), Vispa.Views.LineDecayView.LineDecayView.createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer.createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty.createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.find(), Vispa.Gui.PortWidget.PortWidget.mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty.setChecked(), Vispa.Main.SplitterTab.SplitterTab.setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab.setController(), Vispa.Views.PropertyView.BooleanProperty.setReadOnly(), Vispa.Views.PropertyView.DropDownProperty.setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty.setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.setTab(), Vispa.Views.PropertyView.IntegerProperty.setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController.updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.updateViewMenu().

DTDQMHarvesting.DTDQMHarvesting.dir

Definition at line 9 of file DTDQMHarvesting.py.

Referenced by Inspector.Inspector.GetListObjects(), DTValidSummary.DTValidSummary.writeCfg(), DTDQMMerge.DTDQMMerge.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.writeCfg(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTTTrigCorrFirst.DTTTrigCorrFirst.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.writeCfg(), DTDQMHarvesting.DTDQMHarvesting.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), and DTDQMValidation.DTDQMValidation.writeCfg().

DTDQMHarvesting.DTDQMHarvesting.dqm_files

Definition at line 12 of file DTDQMHarvesting.py.

Referenced by DTDQMMerge.DTDQMMerge.initProcess().

string DTDQMHarvesting.DTDQMHarvesting.label = ''
static

Definition at line 37 of file DTDQMHarvesting.py.

Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor._sort_list(), python.rootplot.root2matplotlib.Hist.bar(), python.rootplot.root2matplotlib.Hist.barh(), python.rootplot.root2matplotlib.Hist.errorbar(), python.rootplot.root2matplotlib.Hist.errorbarh(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.foundIn(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.fullFilename(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.inputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor.properties(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor.properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.readConnections(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor.updateProcess(), MatrixInjector.MatrixInjector.uploadConf(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.usedBy().

string DTDQMHarvesting.DTDQMHarvesting.moduleName = 'customDB%s'
static

Definition at line 31 of file DTDQMHarvesting.py.

DTDQMHarvesting.DTDQMHarvesting.moduleName = tag,
static

Definition at line 33 of file DTDQMHarvesting.py.

DTDQMHarvesting.DTDQMHarvesting.process

Definition at line 17 of file DTDQMHarvesting.py.

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), DTValidSummary.DTValidSummary.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTDQMHarvesting.DTDQMHarvesting.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), DTDQMValidation.DTDQMValidation.initProcess(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), ConfigBuilder.ConfigBuilder.scheduleSequence(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProcess(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProperty(), DTValidSummary.DTValidSummary.writeCfg(), DTDQMMerge.DTDQMMerge.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.writeCfg(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTTTrigCorrFirst.DTTTrigCorrFirst.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.writeCfg(), DTDQMHarvesting.DTDQMHarvesting.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), and DTDQMValidation.DTDQMValidation.writeCfg().

DTDQMHarvesting.DTDQMHarvesting.pset_name

Definition at line 14 of file DTDQMHarvesting.py.

Referenced by DTNoiseCalibration.DTNoiseCalibration.initCrab(), DTTTrigProd.DTTTrigProd.initCrab(), DTDQMValidation.DTDQMValidation.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTValidSummary.DTValidSummary.writeCfg(), DTDQMMerge.DTDQMMerge.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.writeCfg(), DTDQMHarvesting.DTDQMHarvesting.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), and DTDQMValidation.DTDQMValidation.writeCfg().

DTDQMHarvesting.DTDQMHarvesting.pset_template

Definition at line 15 of file DTDQMHarvesting.py.

Referenced by DTValidSummary.DTValidSummary.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTDQMHarvesting.DTDQMHarvesting.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTDQMValidation.DTDQMValidation.initProcess(), and DTTTrigValid.DTTTrigValid.initProcess().

DTDQMHarvesting.DTDQMHarvesting.record = self.config.inputDBRcd
static

Definition at line 29 of file DTDQMHarvesting.py.

DTDQMHarvesting.DTDQMHarvesting.result_dir

Definition at line 10 of file DTDQMHarvesting.py.

Referenced by DTDQMMerge.DTDQMMerge.initProcess(), DTTTrigResidualCorr.DTTTrigResidualCorr.initProcess(), DTTTrigCorrFirst.DTTTrigCorrFirst.initProcess(), and DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.initProcess().

DTDQMHarvesting.DTDQMHarvesting.runnumber

Definition at line 8 of file DTDQMHarvesting.py.

Referenced by DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.initProcess(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.initProcess(), DTTTrigResidualCorr.DTTTrigResidualCorr.initProcess(), DTTTrigCorrFirst.DTTTrigCorrFirst.initProcess(), and DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.initProcess().

DTDQMHarvesting.DTDQMHarvesting.tag = self.config.inputDBTag
static

Definition at line 28 of file DTDQMHarvesting.py.

Referenced by Inspector.Inspector.SetTag().

DTDQMHarvesting.DTDQMHarvesting.task

Definition at line 21 of file DTDQMHarvesting.py.

tuple DTDQMHarvesting.DTDQMHarvesting.workflowName = dqmWorkflowName(self.config.datasetpath,label,self.config.trial)
static

Definition at line 58 of file DTDQMHarvesting.py.