CMS 3D CMS Logo

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