CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, run, dir, dqm_files, result_dir, config=None)
 
def initProcess (self)
 
def run (self)
 
def writeCfg (self)
 

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

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, geometry.Alignables.config, preexistingValidation.PreexistingValidation.config, DTCalibrationWorker.DTCalibrationWorker.config, plottingOptions.BasePlottingOptions.config, genericValidation.GenericValidation.config, DTDQMMerge.DTDQMMerge.dqm_files, DTDqm.DTDqm.dqm_files, DTDQMHarvesting.DTDQMHarvesting.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, DTDqm.DTDqm.result_dir, DTDQMMerge.DTDQMMerge.result_dir, and DTDQMHarvesting.DTDQMHarvesting.result_dir.

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

Definition at line 43 of file DTDQMMerge.py.

Referenced by Types.EventID.cppID(), Types.LuminosityBlockID.cppID(), and o2olib.O2OTool.execute().

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

Member Data Documentation

DTDQMMerge.DTDQMMerge.config
DTDQMMerge.DTDQMMerge.configFiles

Definition at line 18 of file DTDQMMerge.py.

DTDQMMerge.DTDQMMerge.dir
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.addExtraStream(), 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_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), 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(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.writeCfg(), DTTTrigResidualCorr.DTTTrigResidualCorr.writeCfg(), DTTTrigValid.DTTTrigValid.writeCfg(), DTResidualCalibration.DTResidualCalibration.writeCfg(), DTDQMValidation.DTDQMValidation.writeCfg(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), and DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg().

DTDQMMerge.DTDQMMerge.pset_name
DTDQMMerge.DTDQMMerge.pset_template
DTDQMMerge.DTDQMMerge.result_dir
DTDQMMerge.DTDQMMerge.runnumber
DTDQMMerge.DTDQMMerge.task

Definition at line 20 of file DTDQMMerge.py.