1 from tools
import loadCmsProcess,writeCfg,dqmWorkflowName
2 from CmsswTask
import *
6 def __init__(self, run, dir, dqm_files, result_dir, config=None):
24 self.process.source.fileNames = self.
dqm_files 25 self.process.dqmSaver.dirName = os.path.abspath(self.
result_dir)
27 label =
'dtCalibration' 28 if hasattr(self.
config,
'label')
and self.config.label: label = self.config.label
29 workflowName =
dqmWorkflowName(self.config.datasetpath,label,self.config.trial)
30 self.process.dqmSaver.workflow = workflowName
31 if self.process.DQMStore.collateHistograms ==
True: self.process.dqmSaver.forceRunNumber = self.
runnumber 41 def runDQM(run,castor_dir,result_dir):
42 from CalibMuon.DTCalibration.Workflow.tools
import listFilesInCastor
46 dtDqmFinal =
DTDqm(run,runDir,dqm_files,result_dir)
def __init__(self, run, dir, dqm_files, result_dir, config=None)
def runDQM(run, castor_dir, result_dir)