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
DTDQMMerge.DTDQMMerge 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
 

Detailed Description

Definition at line 5 of file DTDQMMerge.py.

Constructor & Destructor Documentation

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

Definition at line 6 of file DTDQMMerge.py.

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

Member Function Documentation

def DTDQMMerge.DTDQMMerge.initProcess (   self)

Definition at line 22 of file DTDQMMerge.py.

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

22 
23  def initProcess(self):
25  self.process.source.fileNames = self.dqm_files
26 
27  outputFileName = 'DQM.root'
28  if self.config:
29  label = 'dtDQMValidation'
30  if hasattr(self.config,'label') and self.config.label: label = self.config.label
31  #workflowName = dqmWorkflowName(self.config.datasetpath,label,self.config.trial)
32  datasetStr = getDatasetStr(self.config.datasetpath)
33 
34  outputFileName = 'DQM_%s-%s.root' % (datasetStr,label)
35 
36  self.process.output.fileName = '%s/%s' % (os.path.abspath(self.result_dir),outputFileName)
37 
38  #if self.process.DQMStore.collateHistograms:
def getDatasetStr
Definition: tools.py:15
def loadCmsProcess
Definition: tools.py:144
def DTDQMMerge.DTDQMMerge.run (   self)

Definition at line 43 of file DTDQMMerge.py.

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

43 
44  def run(self):
45  self.task.run()
46  return
def DTDQMMerge.DTDQMMerge.writeCfg (   self)

Definition at line 39 of file DTDQMMerge.py.

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

39 
40  def writeCfg(self):
41  writeCfg(self.process,self.dir,self.pset_name)
42  #writeCfgPkl(self.process,self.dir,self.pset_name)

Member Data Documentation

DTDQMMerge.DTDQMMerge.config

Definition at line 10 of file DTDQMMerge.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(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), and DTDQMValidation.DTDQMValidation.initProcess().

DTDQMMerge.DTDQMMerge.configFiles

Definition at line 18 of file DTDQMMerge.py.

DTDQMMerge.DTDQMMerge.dir

Definition at line 8 of file DTDQMMerge.py.

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

DTDQMMerge.DTDQMMerge.dqm_files

Definition at line 11 of file DTDQMMerge.py.

Referenced by DTDQMMerge.DTDQMMerge.initProcess().

DTDQMMerge.DTDQMMerge.process

Definition at line 16 of file DTDQMMerge.py.

Referenced by ConfigBuilder.ConfigBuilder.__init__(), ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.anyOf(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), DTValidSummary.DTValidSummary.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.initProcess(), DTDQMValidation.DTDQMValidation.initProcess(), DTTTrigValid.DTTTrigValid.initProcess(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), 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(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.writeCfg(), DTTTrigCorrFirst.DTTTrigCorrFirst.writeCfg(), DTTTrigProd.DTTTrigProd.writeCfg(), DTNoiseCalibration.DTNoiseCalibration.writeCfg(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg(), DTDQMValidation.DTDQMValidation.writeCfg(), and DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg().

DTDQMMerge.DTDQMMerge.pset_name

Definition at line 13 of file DTDQMMerge.py.

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

DTDQMMerge.DTDQMMerge.pset_template

Definition at line 14 of file DTDQMMerge.py.

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

DTDQMMerge.DTDQMMerge.result_dir

Definition at line 9 of file DTDQMMerge.py.

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

DTDQMMerge.DTDQMMerge.runnumber

Definition at line 7 of file DTDQMMerge.py.

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

DTDQMMerge.DTDQMMerge.task

Definition at line 20 of file DTDQMMerge.py.