13 from ROOT
import gSystem
16 gSystem.Load(
'libDataQualityUtils')
17 from ROOT
import dqutils
22 MODVERSION =
'$Id: DQHistogramMergeMod.py,v 1.8 2009-05-12 11:38:35 ponyisi Exp $'
26 from .
import DQProcMonitor
27 DQProcMonitor.startProcMonThread()
29 def 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()
39 mf.mergeFiles( outFileName, listFileName )
40 mf.mergeLBintervals( outFileName )
43 from .
import DQPostProcessMod
44 DQPostProcessMod.DQPostProcess( outFileName, isIncremental )