CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DTDqm.DTDqm 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 DTDqm.py.

Constructor & Destructor Documentation

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

Definition at line 6 of file DTDqm.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 = 'dtDQMClient_cfg.py'
14  self.pset_template = 'CalibMuon.DTCalibration.dtDQMClient_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 
result_dir
Definition: DTDqm.py:9
def __init__(self, run, dir, dqm_files, result_dir, config=None)
Definition: DTDqm.py:6
def initProcess(self)
Definition: DTDqm.py:22
pset_template
Definition: DTDqm.py:14
runnumber
Definition: DTDqm.py:7
configFiles
Definition: DTDqm.py:18

Member Function Documentation

def DTDqm.DTDqm.initProcess (   self)

Definition at line 22 of file DTDqm.py.

References DTAnalysisResiduals.DTAnalysisResiduals.config, DTDqm.DTDqm.config, preexistingValidation.PreexistingValidation.config, geometry.Alignables.config, DTCalibrationWorker.DTCalibrationWorker.config, plottingOptions.BasePlottingOptions.config, genericValidation.GenericValidation.config, DTDqm.DTDqm.dqm_files, tools.dqmWorkflowName(), tools.loadCmsProcess(), DTDqm.DTDqm.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTAnalysisResiduals.DTAnalysisResiduals.pset_template, DTDqm.DTDqm.pset_template, DTDqm.DTDqm.result_dir, DTDqm.DTDqm.runnumber, and RawDataConverter.runnumber.

22  def initProcess(self):
24  self.process.source.fileNames = self.dqm_files
25  self.process.dqmSaver.dirName = os.path.abspath(self.result_dir)
26  if self.config:
27  label = 'dtCalibration'
28  if hasattr(self.config,'label') and self.config.label: label = self.config.label
29  workflowName = dqmWorkflowName(self.config.datasetpath,label,self.config.trial)
30  self.process.dqmSaver.workflow = workflowName
31  if self.process.DQMStore.collateHistograms == True: self.process.dqmSaver.forceRunNumber = self.runnumber
32 
result_dir
Definition: DTDqm.py:9
def initProcess(self)
Definition: DTDqm.py:22
pset_template
Definition: DTDqm.py:14
def loadCmsProcess(psetPath)
Definition: tools.py:144
runnumber
Definition: DTDqm.py:7
def dqmWorkflowName(datasetpath, type, rev=1)
Definition: tools.py:23
def DTDqm.DTDqm.run (   self)

Definition at line 37 of file DTDqm.py.

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

37  def run(self):
38  self.task.run()
39  return
40 
def run(self)
Definition: DTDqm.py:37
def DTDqm.DTDqm.writeCfg (   self)

Member Data Documentation

DTDqm.DTDqm.config
DTDqm.DTDqm.configFiles

Definition at line 18 of file DTDqm.py.

DTDqm.DTDqm.dir
DTDqm.DTDqm.dqm_files
DTDqm.DTDqm.process

Definition at line 16 of file DTDqm.py.

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), DTValidSummary.DTValidSummary.initProcess(), DTDqm.DTDqm.initProcess(), DTDQMMerge.DTDQMMerge.initProcess(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initProcess(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initProcess(), DTDQMHarvesting.DTDQMHarvesting.initProcess(), DTTTrigProd.DTTTrigProd.initProcess(), DTNoiseCalibration.DTNoiseCalibration.initProcess(), DTResidualCalibration.DTResidualCalibration.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(), 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(), DTDqm.DTDqm.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(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), DTDQMValidation.DTDQMValidation.writeCfg(), and DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg().

DTDqm.DTDqm.pset_name
DTDqm.DTDqm.pset_template
DTDqm.DTDqm.result_dir
DTDqm.DTDqm.runnumber
DTDqm.DTDqm.task

Definition at line 20 of file DTDqm.py.