CMS 3D CMS Logo

Public Member Functions | Public Attributes

DTDqm::DTDqm Class Reference

List of all members.

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.

00007                                                                     :
00008         self.runnumber = int(run)
00009         self.dir = dir
00010         self.result_dir = result_dir
00011         self.config = config
00012         self.dqm_files = dqm_files
00013 
00014         self.pset_name = 'dtDQMClient_cfg.py'
00015         self.pset_template = 'CalibMuon.DTCalibration.dtDQMClient_cfg'
00016 
00017         self.process = None
00018         self.initProcess()
00019         self.configFiles = []
00020         self.configFiles.append(self.pset_name)
00021         self.task = CmsswTask(self.dir,self.configFiles)


Member Function Documentation

def DTDqm::DTDqm::initProcess (   self)

Definition at line 22 of file DTDqm.py.

00023                          :
00024         self.process = loadCmsProcess(self.pset_template)
00025         self.process.source.fileNames = self.dqm_files
00026         self.process.dqmSaver.dirName = os.path.abspath(self.result_dir)
00027         if self.config:
00028             label = 'dtCalibration'
00029             if hasattr(self.config,'label') and self.config.label: label = self.config.label 
00030             workflowName = dqmWorkflowName(self.config.datasetpath,label,self.config.trial)
00031             self.process.dqmSaver.workflow = workflowName
00032         if self.process.DQMStore.collateHistograms == True: self.process.dqmSaver.forceRunNumber = self.runnumber

def DTDqm::DTDqm::run (   self)

Definition at line 37 of file DTDqm.py.

00038                  :
00039         self.task.run()
00040         return

def DTDqm::DTDqm::writeCfg (   self)

Definition at line 33 of file DTDqm.py.

00034                       :
00035         writeCfg(self.process,self.dir,self.pset_name)   
00036         #writeCfgPkl(self.process,self.dir,self.pset_name) 
    

Member Data Documentation

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.

Definition at line 6 of file DTDqm.py.