22 test_codes={
"EMPTY":-101,
29 relmon_mainpage=
"https://cms-pdmv.cern.ch/relmon"
33 server=
"http://cmsweb.cern.ch"
34 base_url=
"/dqm/relval"
36 url_encode_dict={
"/":
"%2F",
42 cat_names={FAIL:
"Failing",
52 cat_classes={FAIL:
"fail",
61 (
'Level 1 Trigger',[
'L1T',
'L1TEMU']),
63 (
'Pixel Detector',[
'Pixel',
'OfflinePV',
'Vertexing']),
64 (
'Silicon Strips',[
'SiStrip']),
65 (
'Tracking System',[
'Tracking',
'TrackerDigisV',
'TrackerHitsV',
'TrackerRecHitsV']),
67 (
'Ecal Calorimeter',[
'EcalBarrel',
'EcalEndcap',
'EcalPreshower',
'EcalClusterV',
'EcalDigisV',
'EcalHitsV',
'EcalRecHitsV']),
68 (
'Electrons and Photons',[
'Egamma',
'EgammaV']),
70 (
'Hcal Calorimeter',[
'Hcal',
'HcalHitsV',
'HcalRecHitsV',
'CaloTowersV']),
71 (
'Castor Calorimeter', [
'Castor']),
72 (
'Jet and Met',[
'JetMET']),
74 (
'Drift Tubes',[
'DT']),
75 (
'Cathode Strip Chambers', [
'CSC']),
76 (
'Resistive Plate Chambers',[
'RPC',
'RPCDigisV']),
77 (
'Muon Objects',[
'Muons',
'MuonCSCDigisV',
'MuonDTDigisV' ,
'MuonDTHitsV']),
79 (
'B Tagging' , [
'Btag']),
81 (
'Miscellanea: Simulation',[
'Generator',
'GlobalDigisV',
'GlobalHitsV',
'GlobalRecHitsV',
'MixingV',
'NoiseRatesV']),
82 (
'Miscellanea',[
'Info',
'MessageLogger',
'ParticleFlow',
'Physics'])]
87 (
'Tracking System',[
'TrackerDigisV',
'TrackerHitsV',
'TrackerRecHitsV']+[
'Pixel']+[
'SiStrip']),
88 (
'Ecal Calorimeter',[
'EcalBarrel',
'EcalEndcap',
'EcalPreshower',
'EcalClusterV',
'EcalDigisV',
'EcalHitsV',
'EcalRecHitsV']),
89 (
'Hcal Calorimeter',[
'Hcal',
'HcalHitsV',
'HcalRecHitsV',
'CaloTowersV']),
90 (
'Drift Tubes',[
'DT']),
91 (
'Cathode Strip Chambers', [
'CSC']),
92 (
'Resistive Plate Chambers',[
'RPC',
'RPCDigisV']),
95 (
'Tracking',[
'Tracking']),
98 (
'Electrons',[
'Egamma/Electrons',
'EgammaV/ElectronMcFakeValidator',
'EgammaV/ElectronMcSignalValidator']),
99 (
'Photons',[
'Egamma/PhotonAnalyzer',
'Egamma/PiZeroAnalyzer',
'EgammaV/PhotonValidator',
'EgammaV/ConversionValidator']),
101 (
'Muon Objects',[
'Muons',
'MuonCSCDigisV',
'MuonDTDigisV' ,
'MuonDTHitsV']),
102 (
'Jet',[
'JetMET/Jet',
'JetMET/RecoJetsV',
'ParticleFlow/PFJetValidation']),
103 (
'MET',[
'JetMET/MET',
'JetMET/METv',
'ParticleFlow/PFMETValidation']),
104 (
'B Tagging' , [
'Btag']),
105 (
'Tau' , [
'RecoTauV']),
108 (
'Castor Calorimeter', [
'Castor']),
109 (
'Level 1 Trigger',[
'L1T',
'L1TEMU']),
110 (
'Miscellanea: Sim.',[
'Generator',
'GlobalDigisV',
'GlobalHitsV',
'GlobalRecHitsV',
'MixingV',
'NoiseRatesV']),
111 (
'Miscellanea',[
'Info',
'MessageLogger',
'ParticleFlow',
'Physics'])]
115 (
'EGamma',[
'EgOffline',
'HLTEgammaValidation']),
116 (
'Muon',[
'Muon'',HLTMonMuon']),
117 (
'Tau',[
'TauRelVal',
'TauOffline',
'TauOnline']),
118 (
'JetMet',[
'JetMET',
'HLTJETMET']),
121 (
'HeavyFlavor',[
'HeavyFlavor']),
122 (
'SusyExo',[
'SusyExo']),
123 (
'Alca',[
'AlCaEcalPi0',
'EcalPhiSym',
'HcalIsoTrack']),
124 (
'Generic',[
'FourVector_Val',
'FourVector'])
127 aggr_pairs_dict={
"reco":reco_aggr,
"HLT":hlt_aggr}
133 (
'Tk',[
'TrackerDigisV',
'TrackerHitsV',
'TrackerRecHitsV']+[
'Pixel']+[
'SiStrip']),
134 (
'Ecal',[
'EcalBarrel',
'EcalEndcap',
'EcalPreshower',
'EcalClusterV',
'EcalDigisV',
'EcalHitsV',
'EcalRecHitsV']),
135 (
'Hcal',[
'Hcal',
'HcalHitsV',
'HcalRecHitsV',
'CaloTowersV']),
138 (
'RPC',[
'RPC',
'RPCDigisV']),
141 (
'Tracking',[
'Tracking']),
144 (
'Electrons',[
'Egamma/Electrons',
'EgammaV/ElectronMcFakeValidator',
'EgammaV/ElectronMcSignalValidator']),
145 (
'Photons',[
'Egamma/PhotonAnalyzer',
'Egamma/PiZeroAnalyzer',
'EgammaV/PhotonValidator',
'EgammaV/ConversionValidator']),
147 (
'Muons',[
'Muons',
'MuonCSCDigisV',
'MuonDTDigisV' ,
'MuonDTHitsV']),
148 (
'Jet',[
'JetMET/Jet',
'JetMET/RecoJetsV',
'ParticleFlow/PFJetValidation']),
149 (
'MET',[
'JetMET/MET',
'JetMET/METv',
'ParticleFlow/PFMETValidation']),
151 (
'Tau' , [
'RecoTauV'])]
154 hlt_aggr_twiki=hlt_aggr
156 aggr_pairs_twiki_dict={
'reco':reco_aggr_twiki,
'HLT':hlt_aggr_twiki}
161 hlt_mc_pattern_blist_pairs=(\
162 (
"!(TTbar+|H130GGgluon+|PhotonJets+|WE+|ZEE+)",
"Egamma@2,EgOffline@2,Ecal@2"),
163 (
"!(TTbar+|JpsiMM+|SingleMu+)",
"Muon@2"),
164 (
"!(TTbar+)",
"Jet@2,JET@2,Met@2,MET@2,Top@2"),
165 (
"!(TTbar+|ChargedTaus+|QQH135+|ZTT+)",
"Tau@2"),
166 (
"!(TTbar+|H130GGgluon+|ChargedTaus+|QQH135+|Hbb+)",
"Higgs@2"),
167 (
"!(TTbar+|JpsiMM+)",
"HeavyFlavor@2"),
168 (
"!(TTbar+|LM1+|SGrav+|ZPrime+)",
"SusyExo@2"))
171 mc_pattern_blist_pairs=(\
172 (
"WE+|ZEE+|SingleGamma+|SingleElectron+",
173 "Btag@1,CSC@1,DT@1,RPC@1,HCAL@1,JetMET@1,CaloTowersV@1,Hcal@1,"+\
174 "Muons@1,MuonDTDigisV@1,MuonCSCDigisV@1,MuonDTHitsV@1,"+\
175 "RPCDigisV@1,Castor@1,RecoTau@1,ParticleFlow@1,L1T@1"),
176 (
"WM+|ZMM+|JpsiMM+|SingleMu+",
177 "Btag@1,JetMET@1,Castor@1,Egamma@1,Ecal@1,Hcal@1,CaloTowersV@1,RecoTau@1,ParticleFlow@1,L1T@1"),
178 (
"H130GGgluonfusion+",
"^[ABCDFHIJKLMNOPQRSTUVWXYZ]@1,Ecal@1"),
179 (
"RelValMinBias+",
"AlCaReco@1"),
180 (
"!(SingleGamma+|SingleElectron+)",
"Ecal@1"),
181 (
"!(Mu+|mu+|TTbar+|ZMM+|WM+|MM+)",
"RPC@1"),
182 (
"!(SingleMuPt100+|ZMM+)",
"DT@1"),
183 (
"!(QCD+|MinBias+|TTbar+)",
"Hcal@1,CaloTowersV@1,Castor@1"),
184 (
"!(QCD_Pt_80_120+|TTbar+)",
"Btag@1"),
185 (
"!(QCD_Pt_80_120+|MuPt1000+|ZEE+|SingleElectronPt10+|Gamma+|Wjet+|LM1_sfts+)",
186 "Track@1,Pixel@1,OfflinePV@1,Vertexing@1,SiStrip@1"),
187 (
"!(QCD_Pt_80_120+|TTbar+|Wjet+|ChargedTaus+)",
"RecoTau@1"))
189 mc_pattern_blist_pairs=()
191 data_pattern_blist_pairs=(\
192 (
"!(mb20+|run20+)",
"Ecal@1,Track@1,Pixel@1,OfflinePV@1,Vertexing@1,SiStrip@1"),
193 (
"!(cos20+|mu20+|wzMu20+)",
"CSC@1,RPC@1,DT@1"),
194 (
"!(mb20+|jet20+|run20+)",
"JetMET@1,Hcal@1,Castor@1,ParticleFlow@1"),
195 (
"!(wzMu20+|mu20+|run20+)",
"Muon@1"),
196 (
"!(wzEG20+|electron20+|photon20+|run20+)",
"Egamma@1"),
197 (
"!(mu20+|wzMu20+|jet20+)",
"Btag@1"))
198 data_pattern_blist_pairs=()