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

 configs
 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 
)

Definition at line 6 of file DTDqm.py.

00007                                                                :
00008         #basedir = 'Run%s/Ttrig' % run
00009         #self.dir = basedir + '/' + 'Exec'
00010         #self.result_dir = basedir + '/' + 'Results'
00011         self.runnumber = int(run)
00012         self.dir = dir
00013         self.result_dir = result_dir
00014         self.dqm_files = dqm_files
00015 
00016         self.pset_name = 'DTkFactValidation_2_DQM_cfg.py'
00017         self.pset_template = config.templatepath + '/config/DTkFactValidation_2_DQM_cfg.py'
00018 
00019         self.initProcess()
00020         self.configs = []
00021         self.configs.append(self.pset_name)
00022         self.task = CmsswTask(self.dir,self.configs)


Member Function Documentation

def DTDqm::DTDqm::initProcess (   self)

Definition at line 23 of file DTDqm.py.

00024                          :
00025         self.process = loadCmsProcess(self.pset_template)
00026         self.process.source.fileNames = self.dqm_files
00027         self.process.dqmSaver.dirName = os.path.abspath(self.result_dir)
00028         if self.process.DQMStore.collateHistograms: self.process.dqmSaver.forceRunNumber = self.runnumber

def DTDqm::DTDqm::run (   self)

Definition at line 32 of file DTDqm.py.

00033                  :
00034         self.task.run()
00035         return

def DTDqm::DTDqm::writeCfg (   self)

Definition at line 29 of file DTDqm.py.

00030                       :
00031         writeCfg(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 23 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.