test
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
DTDqm.DTDqm 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 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 
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 = 'dtDQMClient_cfg.py'
15  self.pset_template = 'CalibMuon.DTCalibration.dtDQMClient_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)
def initProcess
Definition: DTDqm.py:22
result_dir
Definition: DTDqm.py:9
def __init__
Definition: DTDqm.py:6
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, plottingOptions.BasePlottingOptions.config, preexistingValidation.PreexistingValidation.config, geometry.Alignables.config, genericValidation.GenericValidation.config, DTCalibrationWorker.DTCalibrationWorker.config, DTDqm.DTDqm.dqm_files, DTCalibrationWorker.DTCalibrationWorker.dqm_files, tools.dqmWorkflowName(), tools.loadCmsProcess(), DTDqm.DTDqm.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTAnalysisResiduals.DTAnalysisResiduals.pset_template, DTDqm.DTDqm.pset_template, DTDqm.DTDqm.result_dir, DTCalibrationWorker.DTCalibrationWorker.result_dir, DTDqm.DTDqm.runnumber, and RawDataConverter.runnumber.

22 
23  def initProcess(self):
25  self.process.source.fileNames = self.dqm_files
26  self.process.dqmSaver.dirName = os.path.abspath(self.result_dir)
27  if self.config:
28  label = 'dtCalibration'
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  self.process.dqmSaver.workflow = workflowName
32  if self.process.DQMStore.collateHistograms == True: self.process.dqmSaver.forceRunNumber = self.runnumber
def initProcess
Definition: DTDqm.py:22
result_dir
Definition: DTDqm.py:9
pset_template
Definition: DTDqm.py:14
def loadCmsProcess
Definition: tools.py:144
runnumber
Definition: DTDqm.py:7
def dqmWorkflowName
Definition: tools.py:23
def DTDqm.DTDqm.run (   self)

Definition at line 37 of file DTDqm.py.

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

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

Definition at line 33 of file DTDqm.py.

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

33 
34  def writeCfg(self):
35  writeCfg(self.process,self.dir,self.pset_name)
36  #writeCfgPkl(self.process,self.dir,self.pset_name)
def writeCfg
Definition: DTDqm.py:33

Member Data Documentation

DTDqm.DTDqm.config

Definition at line 10 of file DTDqm.py.

Referenced by DTNoiseCalibration.DTNoiseCalibration.initCrab(), DTTTrigProd.DTTTrigProd.initCrab(), DTDQMValidation.DTDQMValidation.initCrab(), DTResidualCalibration.DTResidualCalibration.initCrab(), DTTTrigValid.DTTTrigValid.initCrab(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.initCrab(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.initCrab(), DTT0DBValidation.DTT0DBValidation.initProcess(), DTDqm.DTDqm.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().

DTDqm.DTDqm.configFiles

Definition at line 18 of file DTDqm.py.

DTDqm.DTDqm.dir

Definition at line 8 of file DTDqm.py.

Referenced by Inspector.Inspector.GetListObjects(), DTValidSummary.DTValidSummary.writeCfg(), DTDqm.DTDqm.writeCfg(), DTDQMMerge.DTDQMMerge.writeCfg(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.writeCfg(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.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().

DTDqm.DTDqm.dqm_files

Definition at line 11 of file DTDqm.py.

Referenced by DTDqm.DTDqm.initProcess(), and DTDQMMerge.DTDQMMerge.initProcess().

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_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(), DTDQMValidation.DTDQMValidation.writeCfg(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.writeCfg(), and DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.writeCfg().

DTDqm.DTDqm.pset_name

Definition at line 13 of file DTDqm.py.

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

DTDqm.DTDqm.pset_template

Definition at line 14 of file DTDqm.py.

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

DTDqm.DTDqm.result_dir

Definition at line 9 of file DTDqm.py.

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

DTDqm.DTDqm.runnumber

Definition at line 7 of file DTDqm.py.

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

DTDqm.DTDqm.task

Definition at line 20 of file DTDqm.py.