5 from __future__
import print_function
14 from ROOT
import gSystem
15 gSystem.Load(
'libDataQualityUtils')
16 from ROOT
import dqutils
22 from DataQualityUtils.createRpcFolders
import (createRPCDQMFDB,
28 from DataQualityUtils.createMdtFolders
import (createMDTConditionDBDead,
29 createMDTConditionDBNoisy)
40 if len(sys.argv) == 3:
41 if sys.argv[2] ==
"True" or sys.argv[2] ==
"1":
44 print(
'==================== Starting first round of checks ====================\n\n')
46 mf.fitMergedFile_IDPerfMonManager(outFile, isIncremental)
47 mf.fitMergedFile_DiMuMonManager(outFile, isIncremental)
48 mf.fitMergedFile_IDAlignMonManager(outFile, isIncremental)
50 mf.RPCPostProcess(outFile, isIncremental)
52 mf.MDTPostProcess(outFile, isIncremental)
53 mf.TGCPostProcess(outFile, isIncremental)
54 mf.MDTvsTGCPostProcess(outFile, isIncremental)
55 mf.HLTEgammaPostProcess(outFile, isIncremental)
56 mf.HLTMuonPostProcess(outFile, isIncremental)
57 mf.HLTTauPostProcess(outFile, isIncremental)
58 mf.HLTMETPostProcess(outFile, isIncremental)
59 mf.HLTJetPostProcess(outFile, isIncremental)
60 mf.MuonTrackPostProcess(outFile, isIncremental)
61 mf.BJetTaggingPostProcess(outFile, isIncremental)
62 mf.L1CaloPostProcess(outFile, isIncremental)
63 mf.SCTPostProcess(outFile, isIncremental)
64 mf.VxMon_move(outFile, isIncremental)
66 print(
'\n\n====================== First round of checks are completed=============')
67 print(
'==================== Starting second round ====================\n\n')
69 mf.fitMergedFile_IDPerfMonManager(outFile, isIncremental)
70 mf.fitMergedFile_DiMuMonManager(outFile, isIncremental)
71 mf.fitMergedFile_IDAlignMonManager(outFile, isIncremental)
73 mf.RPCPostProcess(outFile, isIncremental)
75 mf.MDTPostProcess(outFile, isIncremental)
76 mf.TGCPostProcess(outFile, isIncremental)
77 mf.MDTvsTGCPostProcess(outFile, isIncremental)
78 mf.HLTEgammaPostProcess(outFile, isIncremental)
79 mf.HLTMuonPostProcess(outFile, isIncremental)
80 mf.HLTTauPostProcess(outFile, isIncremental)
81 mf.HLTMETPostProcess(outFile, isIncremental)
82 mf.HLTJetPostProcess(outFile, isIncremental)
83 mf.MuonTrackPostProcess(outFile, isIncremental)
84 mf.BJetTaggingPostProcess(outFile, isIncremental)
85 mf.L1CaloPostProcess(outFile, isIncremental)
86 mf.SCTPostProcess(outFile, isIncremental)
87 mf.VxMon_move(outFile, isIncremental)
89 print(
'\n\n====================== Second round of checks are completed=============')
90 print(
'Postprocessing code should run in T0 without crashes ')