CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/L1TMonitorClient/python/L1TOccupancyClient_cfi.py

Go to the documentation of this file.
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('TauJetsOccEtaPhi'), #test name
00039       algoParams = cms.PSet(
00040         histPath        = cms.string('L1T/L1TGCT/TauJetsOccEtaPhi'),
00041         maskedAreas = cms.VPSet(
00042           cms.PSet(kind=cms.int32(1),xmin=cms.double(1) ,xmax=cms.double(4) ,ymin=cms.double(1),ymax=cms.double(18)),
00043           cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
00044         )
00045       )
00046     ),
00047     cms.PSet(
00048       testName   = cms.string('AllJetsOccEtaPhi'), #test name
00049       algoParams = cms.PSet(
00050         histPath        = cms.string('L1T/L1TGCT/AllJetsOccEtaPhi'),
00051         maskedAreas = cms.VPSet()
00052       )
00053     ),
00054     cms.PSet(
00055       testName   = cms.string('RctRegionsOccEtaPhi'), #test name
00056       algoParams = cms.PSet(
00057         histPath        = cms.string('L1T/L1TRCT/RctRegionsOccEtaPhi'),
00058         maskedAreas = cms.VPSet()
00059       )
00060     ),
00061     cms.PSet(
00062       testName   = cms.string('RctEmIsoEmOccEtaPhi'), #test name
00063       algoParams = cms.PSet(
00064         histPath        = cms.string('L1T/L1TRCT/RctEmIsoEmOccEtaPhi'),
00065         maskedAreas = cms.VPSet(
00066           cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
00067           cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
00068         )
00069       )
00070     ),
00071     cms.PSet(
00072       testName   = cms.string('RctEmNonIsoEmOccEtaPhi'), #test name
00073       algoParams = cms.PSet(
00074         histPath        = cms.string('L1T/L1TRCT/RctEmNonIsoEmOccEtaPhi'),
00075         maskedAreas = cms.VPSet(
00076           cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
00077           cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
00078         )
00079       )
00080     ),
00081     cms.PSet(
00082       testName   = cms.string('NonIsoEmOccEtaPhi'), #test name
00083       algoParams = cms.PSet(
00084         histPath        = cms.string('L1T/L1TGCT/NonIsoEmOccEtaPhi'),
00085         maskedAreas = cms.VPSet(
00086           cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
00087           cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
00088         )
00089       )
00090     ),
00091     cms.PSet(
00092       testName   = cms.string('IsoEmOccEtaPhi'), #test name
00093       algoParams = cms.PSet(
00094         histPath        = cms.string('L1T/L1TGCT/IsoEmOccEtaPhi'),
00095         maskedAreas = cms.VPSet(
00096           cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
00097           cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
00098         )
00099       )
00100     )
00101 
00102     #----------------------------------------------------
00103     # Other tests that may be activated in the future
00104     #----------------------------------------------------
00105     #cms.PSet(
00106       #testName      = cms.string('GMT_etaphi'), #test name
00107       #algoParams    = cms.PSet(
00108         #currDir     = cms.string('L1T/L1TGMT/GMT_etaphi'), #dir of histogram to be inspected
00109         #maskedAreas = cms.VPSet()
00110       #)
00111     #),
00112     #cms.PSet(
00113       #testName       = cms.string('RPCTF_muons_eta_phi_bx0'), #test name
00114       #algoParams     = cms.PSet(
00115         #currDir      = cms.string('L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0'),
00116         #rebinFactorX = cms.int32(1), # Rebin factor (X Axis) to apply over tested histogram
00117         #rebinFactorY = cms.int32(12),# Rebin factor (Y Axis) to apply over tested histogram
00118         #maskedAreas  = cms.VPSet(
00119           #1...units of histogram, 2...x-/y-internal coordinates (starting with 1,1) (rebinned!)
00120           #cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(12)),
00121           #cms.PSet(kind=cms.int32(1),xmin=cms.double(30),xmax=cms.double(33),ymin=cms.double(1),ymax=cms.double(12))
00122         #)
00123       #)
00124     #),
00125     #cms.PSet(
00126       #testName      = cms.string('CSCTF_Chamber_Occupancies'), #test name
00127       #algoParams    = cms.PSet(
00128         #currDir     = cms.string('L1T/L1TCSCTF/CSCTF_Chamber_Occupancies'),
00129         #axis        = cms.int32(2), #which axis should be checked? 1=eta, 2=phi
00130         #maskedAreas = cms.VPSet(
00131           #1...units of histogram, 2...x-/y-internal coordinates (starting with 1,1)
00132           #cms.PSet(kind=cms.int32(1),xmin=cms.double(4), xmax=cms.double(9), ymin=cms.double(1), ymax=cms.double(1)),
00133           #cms.PSet(kind=cms.int32(1),xmin=cms.double(4), xmax=cms.double(9), ymin=cms.double(10),ymax=cms.double(10)),
00134           #cms.PSet(kind=cms.int32(1),xmin=cms.double(22),xmax=cms.double(27),ymin=cms.double(1), ymax=cms.double(1)),
00135           #cms.PSet(kind=cms.int32(1),xmin=cms.double(22),xmax=cms.double(27),ymin=cms.double(10),ymax=cms.double(10)),
00136           #cms.PSet(kind=cms.int32(1),xmin=cms.double(40),xmax=cms.double(45),ymin=cms.double(1), ymax=cms.double(1)),
00137           #cms.PSet(kind=cms.int32(1),xmin=cms.double(40),xmax=cms.double(45),ymin=cms.double(10),ymax=cms.double(10)),
00138           #cms.PSet(kind=cms.int32(1),xmin=cms.double(49),xmax=cms.double(54),ymin=cms.double(1), ymax=cms.double(1)),
00139           #cms.PSet(kind=cms.int32(1),xmin=cms.double(49),xmax=cms.double(54),ymin=cms.double(10),ymax=cms.double(10))
00140         #)
00141       #)
00142     #),
00143     #cms.PSet(
00144       #testName      = cms.string('dttf_03_tracks_occupancy_summary'), #test name
00145       #algoParams    = cms.PSet(
00146         #currDir     = cms.string('L1T/L1TDTTF/01-INCLUSIVE/dttf_03_tracks_occupancy_summary'),
00147         #maskedAreas = cms.VPSet()
00148       #)
00149     #),
00150     #cms.PSet(
00151       #testName      = cms.string('dttf_12_phi_vs_eta'), #test name
00152       #algoParams    = cms.PSet(
00153         #currDir     = cms.string('L1T/L1TDTTF/01-INCLUSIVE/dttf_12_phi_vs_eta'),
00154         #maskedAreas = cms.VPSet()
00155       #)
00156     #)
00157   )
00158 )