00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 FAIL=-1
00016 NULL=0
00017 SUCCESS=1
00018 NONE=-2
00019
00020
00021 test_codes={"EMPTY":-101,
00022 "2D":-102,
00023 "DIFF_BIN":-103,
00024 "DIFF_TYPES":-104,
00025 "NO_HIST":-105,
00026 "FEW_BINS":-105}
00027
00028 relmon_mainpage="https://cms-service-reldqm.web.cern.ch/cms-service-reldqm"
00029
00030
00031
00032 server="https://cmsweb.cern.ch"
00033 base_url="/dqm/relval"
00034
00035 url_encode_dict={"/":"%2F",
00036 "+":"%2B",
00037 "-":"%2D"}
00038
00039
00040
00041 cat_names={FAIL:"Failing",
00042 NULL:"Null",
00043 SUCCESS:"Successful"}
00044
00045 cat_states={FAIL:-1,
00046 NULL:0,
00047 SUCCESS:1}
00048
00049 cat_classes={FAIL:"fail",
00050 NULL:"null",
00051 SUCCESS:"succes"}
00052
00053
00054
00055
00056 original=[\
00057 ('Level 1 Trigger',['L1T', 'L1TEMU']),
00058
00059 ('Pixel Detector',['Pixel', 'OfflinePV', 'Vertexing']),
00060 ('Silicon Strips',['SiStrip']),
00061 ('Tracking System',['Tracking', 'TrackerDigisV', 'TrackerHitsV', 'TrackerRecHitsV']),
00062
00063 ('Ecal Calorimeter',['EcalBarrel', 'EcalEndcap', 'EcalPreshower', 'EcalClusterV', 'EcalDigisV', 'EcalHitsV', 'EcalRecHitsV']),
00064 ('Electrons and Photons',['Egamma','EgammaV']),
00065
00066 ('Hcal Calorimeter',['Hcal', 'HcalHitsV', 'HcalRecHitsV', 'CaloTowersV']),
00067 ('Castor Calorimeter', ['Castor']),
00068 ('Jet and Met',['JetMET']),
00069
00070 ('Drift Tubes',['DT']),
00071 ('Cathode Strip Chambers', ['CSC']),
00072 ('Resistive Plate Chambers',['RPC', 'RPCDigisV']),
00073 ('Muon Objects',['Muons', 'MuonCSCDigisV', 'MuonDTDigisV' ,'MuonDTHitsV']),
00074
00075 ('B Tagging' , ['Btag']),
00076
00077 ('Miscellanea: Simulation',['Generator','GlobalDigisV','GlobalHitsV','GlobalRecHitsV','MixingV','NoiseRatesV']),
00078 ('Miscellanea',['Info','MessageLogger','ParticleFlow','Physics'])]
00079
00080
00081 reco_aggr=[\
00082
00083 ('Tracking System',['TrackerDigisV', 'TrackerHitsV', 'TrackerRecHitsV']+['Pixel']+['SiStrip']),
00084 ('Ecal Calorimeter',['EcalBarrel', 'EcalEndcap', 'EcalPreshower', 'EcalClusterV', 'EcalDigisV', 'EcalHitsV', 'EcalRecHitsV']),
00085 ('Hcal Calorimeter',['Hcal', 'HcalHitsV', 'HcalRecHitsV', 'CaloTowersV']),
00086 ('Drift Tubes',['DT']),
00087 ('Cathode Strip Chambers', ['CSC']),
00088 ('Resistive Plate Chambers',['RPC', 'RPCDigisV']),
00089
00090
00091 ('Tracking',['Tracking']),
00092
00093
00094 ('Electrons',['Egamma/Electrons','EgammaV/ElectronMcFakeValidator','EgammaV/ElectronMcSignalValidator']),
00095 ('Photons',['Egamma/PhotonAnalyzer','Egamma/PiZeroAnalyzer','EgammaV/PhotonValidator','EgammaV/ConversionValidator']),
00096
00097 ('Muon Objects',['Muons', 'MuonCSCDigisV', 'MuonDTDigisV' ,'MuonDTHitsV']),
00098 ('Jet',['JetMET/Jet','JetMET/RecoJetsV','ParticleFlow/PFJetValidation']),
00099 ('MET',['JetMET/MET','JetMET/METv','ParticleFlow/PFMETValidation']),
00100 ('B Tagging' , ['Btag']),
00101 ('Tau' , ['RecoTauV']),
00102
00103
00104 ('Castor Calorimeter', ['Castor']),
00105 ('Level 1 Trigger',['L1T', 'L1TEMU']),
00106 ('Miscellanea: Sim.',['Generator','GlobalDigisV','GlobalHitsV','GlobalRecHitsV','MixingV','NoiseRatesV']),
00107 ('Miscellanea',['Info','MessageLogger','ParticleFlow','Physics'])]
00108
00109
00110 hlt_aggr=[\
00111 ('EGamma',['EgOffline','HLTEgammaValidation']),
00112 ('Muon',['Muon'',HLTMonMuon']),
00113 ('Tau',['TauRelVal','TauOffline','TauOnline']),
00114 ('JetMet',['JetMET','HLTJETMET']),
00115 ('Top',['Top']),
00116 ('Higgs',['Higgs']),
00117 ('HeavyFlavor',['HeavyFlavor']),
00118 ('SusyExo',['SusyExo']),
00119 ('Alca',['AlCaEcalPi0','EcalPhiSym','HcalIsoTrack']),
00120 ('Generic',['FourVector_Val','FourVector'])
00121 ]
00122
00123 aggr_pairs_dict={"reco":reco_aggr,"HLT":hlt_aggr}
00124
00125
00126
00127 reco_aggr_twiki=[\
00128
00129 ('Tk',['TrackerDigisV', 'TrackerHitsV', 'TrackerRecHitsV']+['Pixel']+['SiStrip']),
00130 ('Ecal',['EcalBarrel', 'EcalEndcap', 'EcalPreshower', 'EcalClusterV', 'EcalDigisV', 'EcalHitsV', 'EcalRecHitsV']),
00131 ('Hcal',['Hcal', 'HcalHitsV', 'HcalRecHitsV', 'CaloTowersV']),
00132 ('DT',['DT']),
00133 ('CSC', ['CSC']),
00134 ('RPC',['RPC', 'RPCDigisV']),
00135
00136
00137 ('Tracking',['Tracking']),
00138
00139
00140 ('Electrons',['Egamma/Electrons','EgammaV/ElectronMcFakeValidator','EgammaV/ElectronMcSignalValidator']),
00141 ('Photons',['Egamma/PhotonAnalyzer','Egamma/PiZeroAnalyzer','EgammaV/PhotonValidator','EgammaV/ConversionValidator']),
00142
00143 ('Muons',['Muons', 'MuonCSCDigisV', 'MuonDTDigisV' ,'MuonDTHitsV']),
00144 ('Jet',['JetMET/Jet','JetMET/RecoJetsV','ParticleFlow/PFJetValidation']),
00145 ('MET',['JetMET/MET','JetMET/METv','ParticleFlow/PFMETValidation']),
00146 ('BTag' , ['Btag']),
00147 ('Tau' , ['RecoTauV'])]
00148
00149
00150 hlt_aggr_twiki=hlt_aggr
00151
00152 aggr_pairs_twiki_dict={'reco':reco_aggr_twiki,'HLT':hlt_aggr_twiki}
00153
00154
00155
00156
00157 hlt_mc_pattern_blist_pairs=(\
00158 ("!(TTbar+|H130GGgluon+|PhotonJets+|WE+|ZEE+)", "Egamma@2,EgOffline@2,Ecal@2"),
00159 ("!(TTbar+|JpsiMM+|SingleMu+)", "Muon@2"),
00160 ("!(TTbar+)", "Jet@2,JET@2,Met@2,MET@2,Top@2"),
00161 ("!(TTbar+|ChargedTaus+|QQH135+|ZTT+)", "Tau@2"),
00162 ("!(TTbar+|H130GGgluon+|ChargedTaus+|QQH135+|Hbb+)", "Higgs@2"),
00163 ("!(TTbar+|JpsiMM+)", "HeavyFlavor@2"),
00164 ("!(TTbar+|LM1+|SGrav+|ZPrime+)", "SusyExo@2"))
00165
00166
00167 mc_pattern_blist_pairs=(\
00168 ("WE+|ZEE+|SingleGamma+|SingleElectron+",
00169 "Btag@1,CSC@1,DT@1,RPC@1,HCAL@1,JetMET@1,CaloTowersV@1,Hcal@1,"+\
00170 "Muons@1,MuonDTDigisV@1,MuonCSCDigisV@1,MuonDTHitsV@1,"+\
00171 "RPCDigisV@1,Castor@1,RecoTau@1,ParticleFlow@1,L1T@1"),
00172 ("WM+|ZMM+|JpsiMM+|SingleMu+",
00173 "Btag@1,JetMET@1,Castor@1,Egamma@1,Ecal@1,Hcal@1,CaloTowersV@1,RecoTau@1,ParticleFlow@1,L1T@1"),
00174 ("H130GGgluonfusion+","^[ABCDFHIJKLMNOPQRSTUVWXYZ]@1,Ecal@1"),
00175 ("RelValMinBias+","AlCaReco@1"),
00176 ("!(SingleGamma+|SingleElectron+)","Ecal@1"),
00177 ("!(Mu+|mu+|TTbar+|ZMM+|WM+|MM+)","RPC@1"),
00178 ("!(SingleMuPt100+|ZMM+)","DT@1"),
00179 ("!(QCD+|MinBias+|TTbar+)","Hcal@1,CaloTowersV@1,Castor@1"),
00180 ("!(QCD_Pt_80_120+|TTbar+)","Btag@1"),
00181 ("!(QCD_Pt_80_120+|MuPt1000+|ZEE+|SingleElectronPt10+|Gamma+|Wjet+|LM1_sfts+)",
00182 "Track@1,Pixel@1,OfflinePV@1,Vertexing@1,SiStrip@1"),
00183 ("!(QCD_Pt_80_120+|TTbar+|Wjet+|ChargedTaus+)","RecoTau@1"))
00184
00185 mc_pattern_blist_pairs=()
00186
00187 data_pattern_blist_pairs=(\
00188 ("!(mb20+|run20+)","Ecal@1,Track@1,Pixel@1,OfflinePV@1,Vertexing@1,SiStrip@1"),
00189 ("!(cos20+|mu20+|wzMu20+)","CSC@1,RPC@1,DT@1"),
00190 ("!(mb20+|jet20+|run20+)","JetMET@1,Hcal@1,Castor@1,ParticleFlow@1"),
00191 ("!(wzMu20+|mu20+|run20+)","Muon@1"),
00192 ("!(wzEG20+|electron20+|photon20+|run20+)","Egamma@1"),
00193 ("!(mu20+|wzMu20+|jet20+)","Btag@1"))
00194 data_pattern_blist_pairs=()
00195