1 from tools
import loadCmsProcess,writeCfg,dqmWorkflowName,getDatasetStr
2 from CmsswTask
import *
6 def __init__(self, run, dir, dqm_files, result_dir, config=None):
24 self.process.source.fileNames = self.
dqm_files 26 outputFileName =
'DQM.root' 28 label =
'dtDQMValidation' 29 if hasattr(self.
config,
'label')
and self.config.label: label = self.config.label
33 outputFileName =
'DQM_%s-%s.root' % (datasetStr,label)
35 self.process.output.fileName =
'%s/%s' % (os.path.abspath(self.
result_dir),outputFileName)
47 def runDQM(run,castor_dir,result_dir):
48 from CalibMuon.DTCalibration.Workflow.tools
import listFilesInCastor
52 dtDqm =
DTDQMMerge(run,runDir,dqm_files,result_dir)
def runDQM(run, castor_dir, result_dir)
def __init__(self, run, dir, dqm_files, result_dir, config=None)