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