1 from tools
import loadCmsProcess,writeCfg
2 from CmsswTask
import *
6 def __init__(self, run, dir, dqm_files, result_dir, config):
16 self.
pset_template = config.templatepath +
'/config/DTkFactValidation_2_DQM_cfg.py'
25 self.process.source.fileNames = self.
dqm_files
26 self.process.dqmSaver.dirName = os.path.abspath(self.
result_dir)
27 if self.process.DQMStore.collateHistograms: self.process.dqmSaver.forceRunNumber = self.
runnumber
36 def runDQM(run,castor_dir,result_dir,template_path):
37 from CalibMuon.DTCalibration.Workflow.tools
import listFilesInCastor
41 config.templatepath = template_path
43 dtDqmFinal =
DTDqm(run,runDir,dqm_files,result_dir,config)