CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1TOccupancyClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
3 
5 
6 l1tOccupancyClient = DQMEDHarvester("L1TOccupancyClient",
7  verbose = cms.bool(False),
8  testParams = cms.VPSet(
9  #---------------------------------------------
10  # Example configuration
11  #---------------------------------------------
12  #cms.PSet(
13  #testName = cms.string('TauJetsOccEtaPhi'), #test name
14  #algoName = cms.string('XYSymmetry'), #test to be performed
15  #algoType = cms.int32(1), #0=qTest, 1=intrinsic
16  #algoParams = cms.PSet(
17  #currDir = cms.string('L1T/L1TGCT'), #dir of histogram to be inspected
18  #histo = cms.string('TauJetsOccEtaPhi'), #histogram to be inspected
19  #rebinFactorX = cms.int32(1), # Rebin factor (X Axis) to apply over tested histogram
20  #rebinFactorY = cms.int32(1), # Rebin factor (Y Axis) to apply over tested histogram
21  #axis = cms.int32(1), # Symetry axis is 1=vertical, 2=horizontal
22  #takeCenter = cms.bool(True), # Take central bin (odd bins) or first bin to the right of center (even bins) as axisSymmetryValue
23  #axisSymmetryValue = cms.double(10.5), #symmetry point on axis to be checked, neglected if takeCenter=true
24  #averageMode = cms.int32(2), #reference formula for average (0=testCase, 1=arithmetic average, 2=median)
25  #factorlow = cms.double(0.1), #factor f : mu1=f*mu0
26  #factorup = cms.double(2.0), #factor f : mu1=f*mu0
27  #params_mu0_low = mu0_x0p1, #parameters for determination of mu0_min
28  #params_mu0_up = mu0_x2, #parameters for determination of mu0_min
29  #params_chi2_low = chi2_x0p1, #parameters for determination of chi2-threshold
30  #params_chi2_up = chi2_x2, #parameters for determination of chi2-threshold
31  #markers = cms.VPSet(
32  #0=Histogram Units, 1=Bin Units (starting with 1,1)
33  #cms.PSet(kind=cms.int32(2),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
34  #cms.PSet(kind=cms.int32(2),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
35  #)
36  #)
37  #),
38  cms.PSet(
39  testName = cms.string('dttf_01_tracks_occupancy_test_summary'), #test name
40  algoParams = cms.PSet(
41  histPath = cms.string('L1T/L1TDTTF/09-TEST/dttf_01_tracks_occupancy_test_summary'),
42  maskedAreas = cms.VPSet(
43  cms.PSet(kind=cms.int32(1),xmin=cms.double(3) ,xmax=cms.double(3) ,ymin=cms.double(1),ymax=cms.double(12)),
44  )
45  )
46  ),
47  cms.PSet(
48  testName = cms.string('TauJetsOccEtaPhi'), #test name
49  algoParams = cms.PSet(
50  histPath = cms.string('L1T/L1TGCT/TauJetsOccEtaPhi'),
51  maskedAreas = cms.VPSet(
52  cms.PSet(kind=cms.int32(1),xmin=cms.double(1) ,xmax=cms.double(4) ,ymin=cms.double(1),ymax=cms.double(18)),
53  cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
54  )
55  )
56  ),
57  cms.PSet(
58  testName = cms.string('AllJetsOccEtaPhi'), #test name
59  algoParams = cms.PSet(
60  histPath = cms.string('L1T/L1TGCT/AllJetsOccEtaPhi'),
61  maskedAreas = cms.VPSet()
62  )
63  ),
64  cms.PSet(
65  testName = cms.string('RctRegionsOccEtaPhi'), #test name
66  algoParams = cms.PSet(
67  histPath = cms.string('L1T/L1TRCT/RctRegionsOccEtaPhi'),
68  maskedAreas = cms.VPSet()
69  )
70  ),
71  cms.PSet(
72  testName = cms.string('RctEmIsoEmOccEtaPhi'), #test name
73  algoParams = cms.PSet(
74  histPath = cms.string('L1T/L1TRCT/RctEmIsoEmOccEtaPhi'),
75  maskedAreas = cms.VPSet(
76  cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
77  cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
78  )
79  )
80  ),
81  cms.PSet(
82  testName = cms.string('RctEmNonIsoEmOccEtaPhi'), #test name
83  algoParams = cms.PSet(
84  histPath = cms.string('L1T/L1TRCT/RctEmNonIsoEmOccEtaPhi'),
85  maskedAreas = cms.VPSet(
86  cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
87  cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
88  )
89  )
90  ),
91  cms.PSet(
92  testName = cms.string('NonIsoEmOccEtaPhi'), #test name
93  algoParams = cms.PSet(
94  histPath = cms.string('L1T/L1TGCT/NonIsoEmOccEtaPhi'),
95  maskedAreas = cms.VPSet(
96  cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
97  cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
98  )
99  )
100  ),
101  cms.PSet(
102  testName = cms.string('IsoEmOccEtaPhi'), #test name
103  algoParams = cms.PSet(
104  histPath = cms.string('L1T/L1TGCT/IsoEmOccEtaPhi'),
105  maskedAreas = cms.VPSet(
106  cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(18)),
107  cms.PSet(kind=cms.int32(1),xmin=cms.double(19),xmax=cms.double(22),ymin=cms.double(1),ymax=cms.double(18))
108  )
109  )
110  )
111 
112  #----------------------------------------------------
113  # Other tests that may be activated in the future
114  #----------------------------------------------------
115  #cms.PSet(
116  #testName = cms.string('GMT_etaphi'), #test name
117  #algoParams = cms.PSet(
118  #currDir = cms.string('L1T/L1TGMT/GMT_etaphi'), #dir of histogram to be inspected
119  #maskedAreas = cms.VPSet()
120  #)
121  #),
122  #cms.PSet(
123  #testName = cms.string('RPCTF_muons_eta_phi_bx0'), #test name
124  #algoParams = cms.PSet(
125  #currDir = cms.string('L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0'),
126  #rebinFactorX = cms.int32(1), # Rebin factor (X Axis) to apply over tested histogram
127  #rebinFactorY = cms.int32(12),# Rebin factor (Y Axis) to apply over tested histogram
128  #maskedAreas = cms.VPSet(
129  #1...units of histogram, 2...x-/y-internal coordinates (starting with 1,1) (rebinned!)
130  #cms.PSet(kind=cms.int32(1),xmin=cms.double(1), xmax=cms.double(4), ymin=cms.double(1),ymax=cms.double(12)),
131  #cms.PSet(kind=cms.int32(1),xmin=cms.double(30),xmax=cms.double(33),ymin=cms.double(1),ymax=cms.double(12))
132  #)
133  #)
134  #),
135  #cms.PSet(
136  #testName = cms.string('CSCTF_Chamber_Occupancies'), #test name
137  #algoParams = cms.PSet(
138  #currDir = cms.string('L1T/L1TCSCTF/CSCTF_Chamber_Occupancies'),
139  #axis = cms.int32(2), #which axis should be checked? 1=eta, 2=phi
140  #maskedAreas = cms.VPSet(
141  #1...units of histogram, 2...x-/y-internal coordinates (starting with 1,1)
142  #cms.PSet(kind=cms.int32(1),xmin=cms.double(4), xmax=cms.double(9), ymin=cms.double(1), ymax=cms.double(1)),
143  #cms.PSet(kind=cms.int32(1),xmin=cms.double(4), xmax=cms.double(9), ymin=cms.double(10),ymax=cms.double(10)),
144  #cms.PSet(kind=cms.int32(1),xmin=cms.double(22),xmax=cms.double(27),ymin=cms.double(1), ymax=cms.double(1)),
145  #cms.PSet(kind=cms.int32(1),xmin=cms.double(22),xmax=cms.double(27),ymin=cms.double(10),ymax=cms.double(10)),
146  #cms.PSet(kind=cms.int32(1),xmin=cms.double(40),xmax=cms.double(45),ymin=cms.double(1), ymax=cms.double(1)),
147  #cms.PSet(kind=cms.int32(1),xmin=cms.double(40),xmax=cms.double(45),ymin=cms.double(10),ymax=cms.double(10)),
148  #cms.PSet(kind=cms.int32(1),xmin=cms.double(49),xmax=cms.double(54),ymin=cms.double(1), ymax=cms.double(1)),
149  #cms.PSet(kind=cms.int32(1),xmin=cms.double(49),xmax=cms.double(54),ymin=cms.double(10),ymax=cms.double(10))
150  #)
151  #)
152  #),
153  #cms.PSet(
154  #testName = cms.string('dttf_03_tracks_occupancy_summary'), #test name
155  #algoParams = cms.PSet(
156  #currDir = cms.string('L1T/L1TDTTF/01-INCLUSIVE/dttf_03_tracks_occupancy_summary'),
157  #maskedAreas = cms.VPSet()
158  #)
159  #),
160  #cms.PSet(
161  #testName = cms.string('dttf_12_phi_vs_eta'), #test name
162  #algoParams = cms.PSet(
163  #currDir = cms.string('L1T/L1TDTTF/01-INCLUSIVE/dttf_12_phi_vs_eta'),
164  #maskedAreas = cms.VPSet()
165  #)
166  #)
167  )
168 )