![]() |
![]() |
00001 import FWCore.ParameterSet.Config as cms 00002 00003 from DQM.L1TMonitorClient.L1TOccupancyTestParameters_cff import * 00004 00005 L1TOccupancyClient = cms.EDAnalyzer("L1TOccupancyClient", 00006 verbose = cms.bool(False), 00007 testParams = cms.VPSet( 00008 #--------------------------------------------- 00009 # Example configuration 00010 #--------------------------------------------- 00011 #cms.PSet( 00012 #testName = cms.string('TauJetsOccEtaPhi'), #test name 00013 #algoName = cms.string('XYSymmetry'), #test to be performed 00014 #algoType = cms.int32(1), #0=qTest, 1=intrinsic 00015 #algoParams = cms.PSet( 00016 #currDir = cms.string('L1T/L1TGCT'), #dir of histogram to be inspected 00017 #histo = cms.string('TauJetsOccEtaPhi'), #histogram to be inspected 00018 #rebinFactorX = cms.int32(1), # Rebin factor (X Axis) to apply over tested histogram 00019 #rebinFactorY = cms.int32(1), # Rebin factor (Y Axis) to apply over tested histogram 00020 #axis = cms.int32(1), # Symetry axis is 1=vertical, 2=horizontal 00021 #takeCenter = cms.bool(True), # Take central bin (odd bins) or first bin to the right of center (even bins) as axisSymmetryValue 00022 #axisSymmetryValue = cms.double(10.5), #symmetry point on axis to be checked, neglected if takeCenter=true 00023 #averageMode = cms.int32(2), #reference formula for average (0=testCase, 1=arithmetic average, 2=median) 00024 #factorlow = cms.double(0.1), #factor f : mu1=f*mu0 00025 #factorup = cms.double(2.0), #factor f : mu1=f*mu0 00026 #params_mu0_low = mu0_x0p1, #parameters for determination of mu0_min 00027 #params_mu0_up = mu0_x2, #parameters for determination of mu0_min 00028 #params_chi2_low = chi2_x0p1, #parameters for determination of chi2-threshold 00029 #params_chi2_up = chi2_x2, #parameters for determination of chi2-threshold 00030 #markers = cms.VPSet( 00031 #0=Histogram Units, 1=Bin Units (starting with 1,1) 00032 #cms.PSet(kind=cms.int32(2),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)), 00033 #cms.PSet(kind=cms.int32(2),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18)) 00034 #) 00035 #) 00036 #), 00037 cms.PSet( 00038 testName = cms.string('dttf_01_tracks_occupancy_test_summary'), #test name 00039 algoParams = cms.PSet( 00040 histPath = cms.string('L1T/L1TDTTF/09-TEST/dttf_01_tracks_occupancy_test_summary'), 00041 maskedAreas = cms.VPSet( 00042 cms.PSet(kind=cms.int32(1),xmin=cms.double(3) ,xmax=cms.double(3) ,ymin=cms.double(1),ymax=cms.double(12)), 00043 ) 00044 ) 00045 ), 00046 cms.PSet( 00047 testName = cms.string('TauJetsOccEtaPhi'), #test name 00048 algoParams = cms.PSet( 00049 histPath = cms.string('L1T/L1TGCT/TauJetsOccEtaPhi'), 00050 maskedAreas = cms.VPSet( 00051 cms.PSet(kind=cms.int32(1),xmin=cms.double(1) ,xmax=cms.double(4) ,ymin=cms.double(1),ymax=cms.double(18)), 00052 cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18)) 00053 ) 00054 ) 00055 ), 00056 cms.PSet( 00057 testName = cms.string('AllJetsOccEtaPhi'), #test name 00058 algoParams = cms.PSet( 00059 histPath = cms.string('L1T/L1TGCT/AllJetsOccEtaPhi'), 00060 maskedAreas = cms.VPSet() 00061 ) 00062 ), 00063 cms.PSet( 00064 testName = cms.string('RctRegionsOccEtaPhi'), #test name 00065 algoParams = cms.PSet( 00066 histPath = cms.string('L1T/L1TRCT/RctRegionsOccEtaPhi'), 00067 maskedAreas = cms.VPSet() 00068 ) 00069 ), 00070 cms.PSet( 00071 testName = cms.string('RctEmIsoEmOccEtaPhi'), #test name 00072 algoParams = cms.PSet( 00073 histPath = cms.string('L1T/L1TRCT/RctEmIsoEmOccEtaPhi'), 00074 maskedAreas = cms.VPSet( 00075 cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)), 00076 cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18)) 00077 ) 00078 ) 00079 ), 00080 cms.PSet( 00081 testName = cms.string('RctEmNonIsoEmOccEtaPhi'), #test name 00082 algoParams = cms.PSet( 00083 histPath = cms.string('L1T/L1TRCT/RctEmNonIsoEmOccEtaPhi'), 00084 maskedAreas = cms.VPSet( 00085 cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)), 00086 cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18)) 00087 ) 00088 ) 00089 ), 00090 cms.PSet( 00091 testName = cms.string('NonIsoEmOccEtaPhi'), #test name 00092 algoParams = cms.PSet( 00093 histPath = cms.string('L1T/L1TGCT/NonIsoEmOccEtaPhi'), 00094 maskedAreas = cms.VPSet( 00095 cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)), 00096 cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18)) 00097 ) 00098 ) 00099 ), 00100 cms.PSet( 00101 testName = cms.string('IsoEmOccEtaPhi'), #test name 00102 algoParams = cms.PSet( 00103 histPath = cms.string('L1T/L1TGCT/IsoEmOccEtaPhi'), 00104 maskedAreas = cms.VPSet( 00105 cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)), 00106 cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18)) 00107 ) 00108 ) 00109 ) 00110 00111 #---------------------------------------------------- 00112 # Other tests that may be activated in the future 00113 #---------------------------------------------------- 00114 #cms.PSet( 00115 #testName = cms.string('GMT_etaphi'), #test name 00116 #algoParams = cms.PSet( 00117 #currDir = cms.string('L1T/L1TGMT/GMT_etaphi'), #dir of histogram to be inspected 00118 #maskedAreas = cms.VPSet() 00119 #) 00120 #), 00121 #cms.PSet( 00122 #testName = cms.string('RPCTF_muons_eta_phi_bx0'), #test name 00123 #algoParams = cms.PSet( 00124 #currDir = cms.string('L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0'), 00125 #rebinFactorX = cms.int32(1), # Rebin factor (X Axis) to apply over tested histogram 00126 #rebinFactorY = cms.int32(12),# Rebin factor (Y Axis) to apply over tested histogram 00127 #maskedAreas = cms.VPSet( 00128 #1...units of histogram, 2...x-/y-internal coordinates (starting with 1,1) (rebinned!) 00129 #cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(12)), 00130 #cms.PSet(kind=cms.int32(1),xmin=cms.double(30),xmax=cms.double(33),ymin=cms.double(1),ymax=cms.double(12)) 00131 #) 00132 #) 00133 #), 00134 #cms.PSet( 00135 #testName = cms.string('CSCTF_Chamber_Occupancies'), #test name 00136 #algoParams = cms.PSet( 00137 #currDir = cms.string('L1T/L1TCSCTF/CSCTF_Chamber_Occupancies'), 00138 #axis = cms.int32(2), #which axis should be checked? 1=eta, 2=phi 00139 #maskedAreas = cms.VPSet( 00140 #1...units of histogram, 2...x-/y-internal coordinates (starting with 1,1) 00141 #cms.PSet(kind=cms.int32(1),xmin=cms.double(4), xmax=cms.double(9), ymin=cms.double(1), ymax=cms.double(1)), 00142 #cms.PSet(kind=cms.int32(1),xmin=cms.double(4), xmax=cms.double(9), ymin=cms.double(10),ymax=cms.double(10)), 00143 #cms.PSet(kind=cms.int32(1),xmin=cms.double(22),xmax=cms.double(27),ymin=cms.double(1), ymax=cms.double(1)), 00144 #cms.PSet(kind=cms.int32(1),xmin=cms.double(22),xmax=cms.double(27),ymin=cms.double(10),ymax=cms.double(10)), 00145 #cms.PSet(kind=cms.int32(1),xmin=cms.double(40),xmax=cms.double(45),ymin=cms.double(1), ymax=cms.double(1)), 00146 #cms.PSet(kind=cms.int32(1),xmin=cms.double(40),xmax=cms.double(45),ymin=cms.double(10),ymax=cms.double(10)), 00147 #cms.PSet(kind=cms.int32(1),xmin=cms.double(49),xmax=cms.double(54),ymin=cms.double(1), ymax=cms.double(1)), 00148 #cms.PSet(kind=cms.int32(1),xmin=cms.double(49),xmax=cms.double(54),ymin=cms.double(10),ymax=cms.double(10)) 00149 #) 00150 #) 00151 #), 00152 #cms.PSet( 00153 #testName = cms.string('dttf_03_tracks_occupancy_summary'), #test name 00154 #algoParams = cms.PSet( 00155 #currDir = cms.string('L1T/L1TDTTF/01-INCLUSIVE/dttf_03_tracks_occupancy_summary'), 00156 #maskedAreas = cms.VPSet() 00157 #) 00158 #), 00159 #cms.PSet( 00160 #testName = cms.string('dttf_12_phi_vs_eta'), #test name 00161 #algoParams = cms.PSet( 00162 #currDir = cms.string('L1T/L1TDTTF/01-INCLUSIVE/dttf_12_phi_vs_eta'), 00163 #maskedAreas = cms.VPSet() 00164 #) 00165 #) 00166 ) 00167 )