29def DQHistogramMerge( listFileName, outFileName, runPostProcessing, directoryRegularExpression=".*", histogramRegularExpression=".*", isIncremental=False, compressionLevel=1,debugLevel=0,doTiming=False ):
32 if directoryRegularExpression!=
".*" or histogramRegularExpression!=
".*":
33 mf.setDirectoryRegEx(directoryRegularExpression)
34 mf.setHistogramRegEx(histogramRegularExpression)
35 mf.setDebugLevel(debugLevel)
36 mf.setCompressionLevel(compressionLevel)
37 if (doTiming): mf.doTiming()
41 stat=mf.mergeFiles( outFileName, listFileName )
42 except Exception
as e:
43 print(f
"Exception of type {type(e)} during MonitoringFile::MergeFile: {e}")
44 if stat: sys.exit(stat)
47 stat=mf.mergeLBintervals( outFileName )
48 except Exception
as e:
49 print(f
"Exception of type {type(e)} during MonitoringFile::mergeLBInterval: {e}")
50 if stat: sys.exit(stat)
53 from .
import DQPostProcessMod
55 DQPostProcessMod.DQPostProcess( outFileName, isIncremental )
56 except Exception
as e:
57 print(f
"Exception of type {type(e)} during MonitoringFile::mergeLBInterval: {e}")