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 label = 'dtDQMValidation'
 
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 DTDqm.DTDqm.config, DTDQMHarvesting.DTDQMHarvesting.config, genericValidation.GenericValidation.config, DTCalibrationWorker.DTCalibrationWorker.config, tools.loadCmsProcess(), DTDqm.DTDqm.process, DTDQMHarvesting.DTDQMHarvesting.process, DTDqm.DTDqm.pset_template, and DTDQMHarvesting.DTDQMHarvesting.pset_template.

23 
24  def initProcess(self):
26  self.process.GlobalTag.globaltag = self.config.globaltag
27 
28  if hasattr(self.config,'inputTTrigDB') and self.config.inputTTrigDB:
29  label = ''
30  if hasattr(self.config,'runOnCosmics') and self.config.runOnCosmics: label = 'cosmics'
31  addPoolDBESSource(process = self.process,
32  moduleName = 'tTrigDB',record = 'DTTtrigRcd',tag = 'ttrig',label = label,
33  connect = 'sqlite_file:%s' % os.path.abspath(self.config.inputTTrigDB))
34 
35  if hasattr(self.config,'inputVDriftDB') and self.config.inputVDriftDB:
36  addPoolDBESSource(process = self.process,
37  moduleName = 'vDriftDB',record = 'DTMtimeRcd',tag = 'vDrift',
38  connect = 'sqlite_file:%s' % os.path.abspath(self.config.inputVDriftDB))
def loadCmsProcess
Definition: tools.py:144
def DTDQMHarvesting.DTDQMHarvesting.run (   self)

Definition at line 61 of file DTDQMHarvesting.py.

Referenced by Types.LuminosityBlockID.cppID().

61 
62  def run(self):
63  self.task.run()
64  return
def DTDQMHarvesting.DTDQMHarvesting.writeCfg (   self)

Definition at line 57 of file DTDQMHarvesting.py.

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

57 
58  def writeCfg(self):
59  writeCfg(self.process,self.dir,self.pset_name)
60  #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(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTDQMValidation.DTDQMValidation.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTT0DBValidation.DTT0DBValidation.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTDQMHarvesting.DTDQMHarvesting.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), and DTDQMValidation.DTDQMValidation.initProcess().

DTDQMHarvesting.DTDQMHarvesting.configFiles

Definition at line 19 of file DTDQMHarvesting.py.

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

Definition at line 42 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 DTValidSummary.DTValidSummary.writeCfg(), DTDQMMerge.DTDQMMerge.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.writeCfg(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTTTrigCorrFirst.DTTTrigCorrFirst.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTDQMHarvesting.DTDQMHarvesting.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), DTTTrigValid.DTTTrigValid.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 = 'dtDQMValidation'
static

Definition at line 51 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 43 of file DTDQMHarvesting.py.

DTDQMHarvesting.DTDQMHarvesting.moduleName = tag,
static

Definition at line 45 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_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(), DTDQMHarvesting.DTDQMHarvesting.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.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(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTValidSummary.DTValidSummary.writeCfg(), DTDQMMerge.DTDQMMerge.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTDQMHarvesting.DTDQMHarvesting.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.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 41 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 40 of file DTDQMHarvesting.py.

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 53 of file DTDQMHarvesting.py.