CMS 3D CMS Logo

TrigPrimTask_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 bxBins = [
4  1,
5  271,
6  541,
7  892,
8  1162,
9  1432,
10  1783,
11  2053,
12  2323,
13  2674,
14  2944,
15  3214,
16  3446,
17  3490,
18  3491,
19  3565
20 ]
21 bxBinLabels = [str(i) for i in bxBins]
22 
23 bxBinsFine = [i for i in range(1, 3601)]
24 bxBinLabelsFine = [str(i) for i in bxBinsFine]
25 nBXBinsFine = len(bxBinsFine)
26 
27 ecalTrigPrimTask = cms.untracked.PSet(
28  params = cms.untracked.PSet(
29  # HLTMuonPath = cms.untracked.string('HLT_Mu5_v*'),
30  # HLTCaloPath = cms.untracked.string('HLT_SingleJet*'),
31  bxBins = cms.untracked.vint32(bxBins),
32  bxBinsFine = cms.untracked.vint32(bxBinsFine),
33  runOnEmul = cms.untracked.bool(True),
34  lhcStatusInfoCollectionTag = cms.untracked.InputTag("tcdsDigis","tcdsRecord")
35  ),
36  MEs = cms.untracked.PSet(
37  LowIntMap = cms.untracked.PSet(
38  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower low interest counter%(suffix)s'),
39  kind = cms.untracked.string('TH2F'),
40  otype = cms.untracked.string('Ecal3P'),
41  btype = cms.untracked.string('TriggerTower'),
42  description = cms.untracked.string('Tower occupancy of low interest flags.')
43  ),
44  FGEmulError = cms.untracked.PSet(
45 # path = cms.untracked.string('Ecal/Errors/TriggerPrimitives/FGBEmulation/'),
46  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT EmulFineGrainVetoError %(sm)s'),
47  kind = cms.untracked.string('TH2F'),
48  otype = cms.untracked.string('SM'),
49  btype = cms.untracked.string('TriggerTower'),
50  description = cms.untracked.string('')
51  ),
52  EtMaxEmul = cms.untracked.PSet(
53  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/Emulated/%(prefix)sTTT Et spectrum Emulated Digis max%(suffix)s'),
54  kind = cms.untracked.string('TH1F'),
55  otype = cms.untracked.string('Ecal3P'),
56  xaxis = cms.untracked.PSet(
57  high = cms.untracked.double(256.0),
58  nbins = cms.untracked.int32(128),
59  low = cms.untracked.double(0.0),
60  title = cms.untracked.string('TP Et')
61  ),
62  btype = cms.untracked.string('User'),
63  description = cms.untracked.string('Distribution of the maximum Et value within one emulated TP')
64  ),
65  OccVsBx = cms.untracked.PSet(
66  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TP occupancy vs bx Real Digis%(suffix)s'),
67  kind = cms.untracked.string('TProfile'),
68  otype = cms.untracked.string('Ecal3P'),
69  xaxis = cms.untracked.PSet(
70  high = cms.untracked.double(1.0*nBXBinsFine),
71  nbins = cms.untracked.int32(nBXBinsFine),
72  low = cms.untracked.double(0.0),
73  title = cms.untracked.string('BX Id'),
74  labels = cms.untracked.vstring(bxBinLabelsFine)
75  ),
76  btype = cms.untracked.string('User'),
77  description = cms.untracked.string('TP occupancy in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490. The Customize button can be used to zoom in.')
78  ),
79  HighIntMap = cms.untracked.PSet(
80  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower high interest counter%(suffix)s'),
81  kind = cms.untracked.string('TH2F'),
82  otype = cms.untracked.string('Ecal3P'),
83  btype = cms.untracked.string('TriggerTower'),
84  description = cms.untracked.string('Tower occupancy of high interest flags.')
85  ),
86  EtVsBx = cms.untracked.PSet(
87  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Et vs bx Real Digis%(suffix)s'),
88  otype = cms.untracked.string('Ecal3P'),
89  btype = cms.untracked.string('User'),
90  kind = cms.untracked.string('TProfile'),
91  xaxis = cms.untracked.PSet(
92  high = cms.untracked.double(16.0),
93  nbins = cms.untracked.int32(16),
94  low = cms.untracked.double(0.0),
95  title = cms.untracked.string('BX Id'),
96  labels = cms.untracked.vstring(bxBinLabels)
97  ),
98  yaxis = cms.untracked.PSet(
99  title = cms.untracked.string('TP Et')
100  ),
101  description = cms.untracked.string('Mean TP Et in different bunch crossing intervals. This plot is filled by data from physics data stream. BX ids start at 1. It is normal to have very little entries in BX >= 3490.')
102  ),
103  EtEmulError = cms.untracked.PSet(
104 # path = cms.untracked.string('Ecal/Errors/TriggerPrimitives/EtEmulation/'),
105  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT EmulError %(sm)s'),
106  kind = cms.untracked.string('TH2F'),
107  otype = cms.untracked.string('SM'),
108  btype = cms.untracked.string('TriggerTower'),
109  description = cms.untracked.string('')
110  ),
111  MatchedIndex = cms.untracked.PSet(
112  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT EmulMatch %(sm)s'),
113  kind = cms.untracked.string('TH2F'),
114  yaxis = cms.untracked.PSet(
115  high = cms.untracked.double(6.0),
116  nbins = cms.untracked.int32(6),
117  low = cms.untracked.double(0.0),
118  title = cms.untracked.string('TP index'),
119  labels = cms.untracked.vstring(["no emul", "0", "1", "2", "3", "4"])
120  ),
121  otype = cms.untracked.string('SM'),
122  btype = cms.untracked.string('TriggerTower'),
123  description = cms.untracked.string('Counter for TP "timing" (= index withing the emulated TP whose Et matched that of the real TP)')
124  ),
125  EmulMaxIndex = cms.untracked.PSet(
126  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT max TP matching index%(suffix)s'),
127  kind = cms.untracked.string('TH1F'),
128  otype = cms.untracked.string('Ecal3P'),
129  xaxis = cms.untracked.PSet(
130  high = cms.untracked.double(5.5),
131  nbins = cms.untracked.int32(6),
132  low = cms.untracked.double(-0.5),
133  title = cms.untracked.string('TP index'),
134  labels = cms.untracked.vstring(["no maximum", "0", "1", "2", "3", "4"])
135  ),
136  btype = cms.untracked.string('User'),
137  description = cms.untracked.string('Distribution of the index of emulated TP with the highest Et value.')
138  ),
139  MedIntMap = cms.untracked.PSet(
140  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower med interest counter%(suffix)s'),
141  kind = cms.untracked.string('TH2F'),
142  otype = cms.untracked.string('Ecal3P'),
143  btype = cms.untracked.string('TriggerTower'),
144  description = cms.untracked.string('Tower occupancy of medium interest flags.')
145  ),
146  TTFlags = cms.untracked.PSet(
147  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT TT Flags%(suffix)s'),
148  kind = cms.untracked.string('TH2F'),
149  yaxis = cms.untracked.PSet(
150  high = cms.untracked.double(7.5),
151  nbins = cms.untracked.int32(8),
152  low = cms.untracked.double(-0.5),
153  title = cms.untracked.string('TT flag'),
154  labels = cms.untracked.vstring([ str(i) for i in range(0, 8)])
155  ),
156  otype = cms.untracked.string('Ecal3P'),
157  btype = cms.untracked.string('DCC'),
158  description = cms.untracked.string('Distribution of the trigger tower flags.')
159  ),
160  TTFlagsVsEt = cms.untracked.PSet(
161  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT TT Flags vs Et%(suffix)s'),
162  kind = cms.untracked.string('TH2F'),
163  yaxis = cms.untracked.PSet(
164  high = cms.untracked.double(7.5),
165  nbins = cms.untracked.int32(8),
166  low = cms.untracked.double(-0.5),
167  title = cms.untracked.string('TT flag'),
168  labels = cms.untracked.vstring([ str(i) for i in range(0, 8)])
169  ),
170  otype = cms.untracked.string('Ecal3P'),
171  xaxis = cms.untracked.PSet(
172  high = cms.untracked.double(50.0),
173  nbins = cms.untracked.int32(100),
174  low = cms.untracked.double(0.0),
175  title = cms.untracked.string('TP Et')
176  ),
177  btype = cms.untracked.string('User'),
178  description = cms.untracked.string('2D histograms of of TT flags of a corresponding to a given TT vs Et measured by that tower.')
179  ),
180  TTFlags4 = cms.untracked.PSet(
181  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 Occupancy%(suffix)s'),
182  kind = cms.untracked.string('TH2F'),
183  otype = cms.untracked.string('Ecal3P'),
184  btype = cms.untracked.string('TriggerTower'),
185  description = cms.untracked.string('Occupancy for TP digis with TTF=4.')
186  ),
187  TTFlags4ByLumi = cms.untracked.PSet(
188  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 Occupancy%(suffix)s by lumi'),
189  kind = cms.untracked.string('TH2F'),
190  otype = cms.untracked.string('Ecal3P'),
191  btype = cms.untracked.string('TriggerTower'),
192  description = cms.untracked.string('Occupancy for TP digis with TTF=4, by lumisection.')
193  ),
194  TTMaskMap = cms.untracked.PSet(
195  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/TTStatus/%(prefix)sTTT TT Masking Status%(sm)s'),
196  kind = cms.untracked.string('TProfile2D'),
197  otype = cms.untracked.string('SM'),
198  btype = cms.untracked.string('PseudoStrip'),
199  description = cms.untracked.string('Trigger tower and pseudo-strip masking status: a TT or strip is red if it is masked')
200  ),
201  TTMaskMapAll = cms.untracked.PSet(
202  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TT Masking Status%(suffix)s'),
203  kind = cms.untracked.string('TH2F'),
204  otype = cms.untracked.string('Ecal3P'),
205  btype = cms.untracked.string('TriggerTower'),
206  description = cms.untracked.string('Trigger tower masking status: a TT is red if it is masked.')
207  ),
208  TTFMismatch = cms.untracked.PSet(
209 # path = cms.untracked.string('Ecal/Errors/TriggerPrimitives/FlagMismatch/'),
210  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT TT flag mismatch%(suffix)s'),
211  kind = cms.untracked.string('TH2F'),
212  otype = cms.untracked.string('Ecal3P'),
213  btype = cms.untracked.string('TriggerTower'),
214  description = cms.untracked.string('')
215  ),
216  EtSummary = cms.untracked.PSet(
217  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Et trigger tower summary'),
218  kind = cms.untracked.string('TProfile2D'),
219  zaxis = cms.untracked.PSet(
220  high = cms.untracked.double(256.0),
221  nbins = cms.untracked.int32(128),
222  low = cms.untracked.double(0.0),
223  title = cms.untracked.string('TP Et')
224  ),
225  otype = cms.untracked.string('Ecal3P'),
226  btype = cms.untracked.string('TriggerTower'),
227  description = cms.untracked.string('2D distribution of the trigger primitive Et.')
228  ),
229  EtSummaryByLumi = cms.untracked.PSet(
230  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Et trigger tower summary by lumi'),
231  kind = cms.untracked.string('TProfile2D'),
232  zaxis = cms.untracked.PSet(
233  high = cms.untracked.double(256.0),
234  nbins = cms.untracked.int32(128),
235  low = cms.untracked.double(0.0),
236  title = cms.untracked.string('TP Et')
237  ),
238  otype = cms.untracked.string('Ecal3P'),
239  btype = cms.untracked.string('TriggerTower'),
240  description = cms.untracked.string('2D distribution of the Trigger Primitives Et for this lumisection.')
241  ),
242  EtRealMap = cms.untracked.PSet(
243  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Et map Real Digis %(sm)s'),
244  kind = cms.untracked.string('TProfile2D'),
245  zaxis = cms.untracked.PSet(
246  high = cms.untracked.double(256.0),
247  nbins = cms.untracked.int32(128),
248  low = cms.untracked.double(0.0),
249  title = cms.untracked.string('TP Et')
250  ),
251  otype = cms.untracked.string('SM'),
252  btype = cms.untracked.string('TriggerTower'),
253  description = cms.untracked.string('2D distribution of the trigger primitive Et.')
254  ),
255  EtReal = cms.untracked.PSet(
256  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Et spectrum Real Digis%(suffix)s'),
257  kind = cms.untracked.string('TH1F'),
258  otype = cms.untracked.string('Ecal3P'),
259  xaxis = cms.untracked.PSet(
260  high = cms.untracked.double(256.0),
261  nbins = cms.untracked.int32(128),
262  low = cms.untracked.double(0.0),
263  title = cms.untracked.string('TP Et')
264  ),
265  btype = cms.untracked.string('User'),
266  description = cms.untracked.string('Distribution of the trigger primitive Et.')
267  ),
268  RealvEmulEt = cms.untracked.PSet(
269  kind = cms.untracked.string('TH2F'),
270  xaxis = cms.untracked.PSet(
271  high = cms.untracked.double(256.0),
272  nbins = cms.untracked.int32(128),
273  low = cms.untracked.double(0.0),
274  title = cms.untracked.string('Real data TP Et (ADC)')
275  ),
276  otype = cms.untracked.string('Ecal3P'),
277  yaxis = cms.untracked.PSet(
278  high = cms.untracked.double(256.0),
279  nbins = cms.untracked.int32(128),
280  low = cms.untracked.double(0.0),
281  title = cms.untracked.string('Emulated TP Et (ADC)')
282  ),
283  btype = cms.untracked.string('User'),
284  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT Real vs Emulated TP Et%(suffix)s'),
285  description = cms.untracked.string('Real data VS emulated TP Et (in-time)')
286  ),
287  LHCStatusByLumi = cms.untracked.PSet(
288  path = cms.untracked.string('Ecal/Trends/LHC status by lumi'),
289  kind = cms.untracked.string('REAL'),
290  otype = cms.untracked.string('None'),
291  btype = cms.untracked.string('User'),
292  description = cms.untracked.string('LHC Status in this lumisection. The convention for the value is the same as in the plot Info/LhcInfo/beamMode')
293  )
294  )
295 )
#define str(s)